Home
last modified time | relevance | path

Searched refs:IWL_FW_CHECK (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dnan.c227 if (IWL_FW_CHECK(mld, !wdev, "NAN: cluster event without wdev\n")) in iwl_mld_handle_nan_cluster_notif()
230 if (IWL_FW_CHECK(mld, !ieee80211_vif_nan_started(mld->nan_device_vif), in iwl_mld_handle_nan_cluster_notif()
263 if (IWL_FW_CHECK(mld, !mld_vif, "NAN: DW end without mld_vif\n")) in iwl_mld_handle_nan_dw_end_notif()
266 if (IWL_FW_CHECK(mld, !ieee80211_vif_nan_started(mld->nan_device_vif), in iwl_mld_handle_nan_dw_end_notif()
291 IWL_FW_CHECK(mld, false, in iwl_mld_handle_nan_dw_end_notif()
H A Dagg.c87 if (IWL_FW_CHECK(mld, pkt_len < sizeof(*release), in iwl_mld_handle_frame_release_notif()
107 if (IWL_FW_CHECK(mld, pkt_len < sizeof(*release), in iwl_mld_handle_bar_frame_release_notif()
121 if (IWL_FW_CHECK(mld, baid >= ARRAY_SIZE(mld->fw_id_to_ba), in iwl_mld_handle_bar_frame_release_notif()
134 if (IWL_FW_CHECK(mld, tid != baid_data->tid || in iwl_mld_handle_bar_frame_release_notif()
244 if (IWL_FW_CHECK(mld, in iwl_mld_reorder()
426 if (IWL_FW_CHECK(mld, resp_len != sizeof(*resp), in iwl_mld_start_ba_in_fw()
438 if (IWL_FW_CHECK(mld, baid < 0 || baid >= ARRAY_SIZE(mld->fw_id_to_ba), in iwl_mld_start_ba_in_fw()
H A Dtx.c1085 if (IWL_FW_CHECK(mld, tx_resp->frame_count != 1, in iwl_mld_handle_tx_resp_notif()
1091 if (IWL_FW_CHECK(mld, notif_size != pkt_len, in iwl_mld_handle_tx_resp_notif()
1160 if (IWL_FW_CHECK(mld, sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_tx_resp_notif()
1248 if (IWL_FW_CHECK(mld, resp_len != sizeof(*rsp), in iwl_mld_flush_link_sta_txqs()
1257 if (IWL_FW_CHECK(mld, le16_to_cpu(rsp->sta_id) != fw_sta_id, in iwl_mld_flush_link_sta_txqs()
1265 if (IWL_FW_CHECK(mld, num_flushed_queues > IWL_TX_FLUSH_QUEUE_RSP, in iwl_mld_flush_link_sta_txqs()
1276 if (IWL_FW_CHECK(mld, in iwl_mld_flush_link_sta_txqs()
1366 if (IWL_FW_CHECK(mld, struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mld_handle_compressed_ba_notif()
1382 if (IWL_FW_CHECK(mld, in iwl_mld_handle_compressed_ba_notif()
1390 if (IWL_FW_CHECK(mld, sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_compressed_ba_notif()
[all …]
H A Dtime_sync.c140 if (IWL_FW_CHECK(mld, !time_sync, in iwl_mld_time_sync_find_skb()
183 if (IWL_FW_CHECK(mld, !skb, "Time sync event but no pending skb\n")) in iwl_mld_handle_time_msmt_notif()
218 if (IWL_FW_CHECK(mld, !status.skb, in iwl_mld_handle_time_sync_confirm_notif()
H A Dd3.c458 if (IWL_FW_CHECK(mld, wowlan_status->num_mlo_keys > WOWLAN_MAX_MLO_KEYS, in iwl_mld_convert_mlo_keys()
573 if (IWL_FW_CHECK(mld, len < expected_len, in iwl_mld_validate_wowlan_notif_size()
581 if (IWL_FW_CHECK(mld, len < len_with_mlo_keys, in iwl_mld_validate_wowlan_notif_size()
639 if (IWL_FW_CHECK(mld, notif->tid_offloaded_tx != IWL_WOWLAN_OFFLOAD_TID, in iwl_mld_handle_wowlan_info_notif()
674 if (IWL_FW_CHECK(mld, len < sizeof(*notif), in iwl_mld_handle_wake_pkt_notif()
679 if (IWL_FW_CHECK(mld, !(wowlan_status->wakeup_reasons & in iwl_mld_handle_wake_pkt_notif()
1009 if (IWL_FW_CHECK(mld, mlo_key->link_id >= IEEE80211_MLD_MAX_NUM_LINKS || in iwl_mld_mlo_rekey()
1126 if (IWL_FW_CHECK(mld, !mld->netdetect, in iwl_mld_netdetect_match_info_handler()
1131 if (IWL_FW_CHECK(mld, len < sizeof(*notif), in iwl_mld_netdetect_match_info_handler()
1136 if (IWL_FW_CHECK(mld, resume_data->wowlan_status->wakeup_reasons != in iwl_mld_netdetect_match_info_handler()
H A Dftm-initiator.c278 if (IWL_FW_CHECK(mld, request_id != (u8)mld->ftm_initiator.req->cookie, in iwl_mld_ftm_range_resp_valid()
283 if (IWL_FW_CHECK(mld, num_of_aps > mld->ftm_initiator.req->n_peers || in iwl_mld_ftm_range_resp_valid()
330 if (IWL_FW_CHECK(mld, !mld->ftm_initiator.req, in iwl_mld_handle_ftm_resp_notif()
H A Drx.c1675 if (IWL_FW_CHECK(mld, in iwl_mld_is_dup()
1746 if (IWL_FW_CHECK(mld, in iwl_mld_rx_with_sta()
2041 if (IWL_FW_CHECK(mld, pkt_len < mpdu_desc_size, in iwl_mld_rx_mpdu()
2047 if (IWL_FW_CHECK(mld, mpdu_len + mpdu_desc_size > pkt_len, in iwl_mld_rx_mpdu()
2227 if (IWL_FW_CHECK(mld, len < combined_notif_len, in iwl_mld_handle_rx_queues_sync_notif()
2234 if (IWL_FW_CHECK(mld, mld->rxq_sync.cookie != internal_notif->cookie, in iwl_mld_handle_rx_queues_sync_notif()
2241 IWL_FW_CHECK(mld, len, in iwl_mld_handle_rx_queues_sync_notif()
2245 if (IWL_FW_CHECK(mld, len != sizeof(struct iwl_mld_delba_data), in iwl_mld_handle_rx_queues_sync_notif()
2255 IWL_FW_CHECK(mld, !test_and_clear_bit(queue, &mld->rxq_sync.state), in iwl_mld_handle_rx_queues_sync_notif()
2342 if (IWL_FW_CHECK(mld, iwl_rx_packet_payload_len(pkt) < sizeof(*ntfy), in iwl_mld_handle_phy_air_sniffer_notif()
H A Dthermal.c57 if (IWL_FW_CHECK(mld, temp < 0, "negative temperature %d\n", temp)) in iwl_mld_handle_temp_notif()
71 if (IWL_FW_CHECK(mld, ths_crossed >= IWL_MAX_DTS_TRIPS, in iwl_mld_handle_temp_notif()
H A Diface.c544 if (IWL_FW_CHECK(mld, le32_to_cpu(notif->mac_id) >= in iwl_mld_handle_probe_resp_data_notif()
573 if (IWL_FW_CHECK(mld, notif->noa_active && in iwl_mld_handle_probe_resp_data_notif()
613 if (IWL_FW_CHECK(mld, notif->mac_id >= ARRAY_SIZE(mld->fw_id_to_vif), in iwl_mld_handle_uapsd_misbehaving_ap_notif()
H A Dscan.c1547 if (IWL_FW_CHECK(mld, resp_len != sizeof(*resp), in iwl_mld_scan_send_abort_cmd_status()
1878 if (IWL_FW_CHECK(mld, uid >= ARRAY_SIZE(mld->scan.uid_status), in iwl_mld_handle_scan_iter_complete_notif()
1913 if (IWL_FW_CHECK(mld, uid >= ARRAY_SIZE(mld->scan.uid_status), in iwl_mld_handle_scan_start_notif()
1917 if (IWL_FW_CHECK(mld, !(mld->scan.uid_status[uid] & mld->scan.status), in iwl_mld_handle_scan_start_notif()
1923 if (IWL_FW_CHECK(mld, mld->scan.uid_status[uid] != IWL_MLD_SCAN_INT_MLO, in iwl_mld_handle_scan_start_notif()
1938 if (IWL_FW_CHECK(mld, uid >= ARRAY_SIZE(mld->scan.uid_status), in iwl_mld_handle_scan_complete_notif()
1955 if (IWL_FW_CHECK(mld, !(mld->scan.uid_status[uid] & mld->scan.status), in iwl_mld_handle_scan_complete_notif()
H A Dfw.c424 if (IWL_FW_CHECK(mld, pkt_len != sizeof(resp), in iwl_mld_send_recovery_cmd()
528 if (IWL_FW_CHECK(mld, ret, "Failed to start firmware %d\n", ret)) { in iwl_mld_start_fw()
H A Dsession-protect.c124 if (IWL_FW_CHECK(mld, pkt_len < sizeof(*notif), in iwl_mld_session_start_fn()
H A Droc.c234 if (IWL_FW_CHECK(mld, !vif, in iwl_mld_handle_roc_notif()
H A Dmcc.c70 IWL_FW_CHECK(mld, !mcc, "mcc can't be 0: %d\n", mcc); in iwl_mld_update_mcc()
H A Dlink.c597 if (IWL_FW_CHECK(mld, !other_link, "link doesn't exist for: %d\n", in iwl_mld_handle_missed_beacon_notif()
901 if (IWL_FW_CHECK(mld, !link_conf, "invalid link ID %d\n", link_id)) in iwl_mld_handle_beacon_filter_notif()
H A Dmld.h561 if (IWL_FW_CHECK(mld, fw_link_id >= mld->fw->ucode_capa.num_links, in iwl_mld_fw_id_to_link_conf()
H A Dtlc.c737 if (IWL_FW_CHECK(mld, notif->sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_tlc_notif()
778 if (IWL_FW_CHECK(mld, size > link_sta->agg.max_amsdu_len, in iwl_mld_handle_tlc_notif()
H A Dstats.c475 if (IWL_FW_CHECK(phy->mld, in iwl_mld_fill_chanctx_stats()
H A Dnotif.c509 if (IWL_FW_CHECK(mld, size < handler->sizes[i].size, in iwl_mld_notif_is_valid()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dsmem.c22 if (IWL_FW_CHECK(fwrt, lmac_num > ARRAY_SIZE(fwrt->smem_cfg.lmac), in iwl_parse_shared_mem_22000()
32 !IWL_FW_CHECK(fwrt, iwl_rx_packet_payload_len(pkt) < sizeof(*mem_cfg), in iwl_parse_shared_mem_22000()
H A Ddbg.h334 #define IWL_FW_CHECK(_obj, _cond, _fmt, ...) \ macro
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drxmq.c695 if (IWL_FW_CHECK(mvm, in iwl_mvm_release_frames_from_notif()
840 if (IWL_FW_CHECK(mvm, in iwl_mvm_reorder()
2558 if (IWL_FW_CHECK(mvm, pkt_len < sizeof(*release), in iwl_mvm_rx_bar_frame_release()
2611 if (IWL_FW_CHECK(mvm, id >= ARRAY_SIZE(mvm->vif_id_to_mac), in iwl_mvm_rx_beacon_filter_notif()
H A Dtx.c2055 if (IWL_FW_CHECK(mvm, sizeof(*ba_res) > pkt_len, in iwl_mvm_rx_ba_notif()
2071 if (IWL_FW_CHECK(mvm, in iwl_mvm_rx_ba_notif()
2132 if (IWL_FW_CHECK(mvm, !mvmsta, in iwl_mvm_rx_ba_notif()
H A Dd3.c2126 if (IWL_FW_CHECK(mvm, data->num_mlo_link_keys, in iwl_mvm_parse_wowlan_info_notif()
2146 if (IWL_FW_CHECK(mvm, in iwl_mvm_parse_wowlan_info_notif()
2889 IWL_FW_CHECK(mvm, 1, in iwl_mvm_wait_d3_notif()
H A Dops.c250 if (IWL_FW_CHECK(mvm, iwl_mvm_has_rlc_offload(mvm), in iwl_mvm_rx_thermal_dual_chain_req()
1740 if (IWL_FW_CHECK(mvm, pkt_len < rx_h->min_size, in iwl_mvm_rx_common()

12