/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.c | 16 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_cmd_ver() 17 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_cmd_ver() 20 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_cmd_ver() 21 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_cmd_ver() 38 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_notif_ver() 39 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_notif_ver() 42 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_notif_ver() 43 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_notif_ver()
|
D | smem.c | 64 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_parse_shared_mem() 90 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_get_shared_mem_conf()
|
D | debugfs.c | 320 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_next() 338 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_start() 359 ver = &fw->ucode_capa.cmd_versions[state->pos]; in iwl_dbgfs_fw_info_seq_show()
|
D | img.h | 207 struct iwl_ucode_capabilities ucode_capa; member
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mvm.h | 1182 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu() 1199 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected() 1227 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported() 1233 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported() 1239 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported() 1246 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported() 1251 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported() 1256 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported() 1275 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported() 1290 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported() [all …]
|
D | fw.c | 325 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive() 841 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 846 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 898 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 961 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1008 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1100 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init() 1363 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd() 1508 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up() 1530 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) in iwl_mvm_up() [all …]
|
D | mac80211.c | 260 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 306 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 377 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 384 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 463 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register() 475 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 477 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 482 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 518 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 521 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() [all …]
|
D | tdls.c | 24 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 47 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_sta_count() 91 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_config() 137 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_recalc_tdls_state() 154 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_mgd_protect_tdls_discover() 220 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif()
|
D | rfi.c | 84 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_RFIM_SUPPORT)) in iwl_rfi_send_config_cmd() 116 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_RFIM_SUPPORT)) in iwl_rfi_get_freq_table()
|
D | scan.c | 231 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type() 283 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed() 368 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif() 529 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles() 797 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe() 825 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits() 835 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() 885 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags() 929 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac() 1155 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan() [all …]
|
D | led.c | 35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
|
D | d3.c | 984 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1015 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1110 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1142 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1160 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config() 1241 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend() 2095 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_wowlan_get_status() 2275 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results() 2313 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans() 2338 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs() [all …]
|
D | time-event.c | 703 if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event() 802 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection() 943 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc() 1031 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
|
D | binding.c | 31 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_binding_cmd()
|
D | ftm-initiator.c | 870 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start() 1138 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1145 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1180 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1301 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
|
D | mac-ctxt.c | 613 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_sta() 837 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx() 984 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 988 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 1082 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
|
D | offloading.c | 49 u32 capa_flags = mvm->fw->ucode_capa.flags; in iwl_mvm_send_proto_offload()
|
D | coex.c | 302 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2)) in iwl_mvm_bt_notif_iterator() 637 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2) && in iwl_mvm_bt_coex_get_single_ant_msk()
|
D | nvm.c | 443 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc() 506 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
|
D | sta.c | 21 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 43 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 72 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_sta_send_to_fw() 1595 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common() 2402 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta() 2428 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta() 2447 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 2694 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_fw_baid_op() 3383 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key() 3957 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif() [all …]
|
D | power.c | 58 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_beacon_filter_send_cmd() 366 (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd() 388 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
|
D | quota.c | 144 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_quotas()
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-drv.c | 128 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode() 405 const struct iwl_ucode_capa *ucode_capa = (const void *)data; in iwl_set_ucode_capabilities() local 406 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities() 407 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 548 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude() 1408 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback() 1409 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback() 1411 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback() 1412 fw->ucode_capa.num_stations = IWL_MVM_STATION_COUNT_MAX; in iwl_req_fw_callback() 1439 &fw->ucode_capa, &usniffer_images); in iwl_req_fw_callback() [all …]
|
D | iwl-nvm-parse.c | 795 if (fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_BROADCAST_TWT)) in iwl_nvm_fixup_sband_iftd() 1172 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_mei_nvm_data() 1269 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_nvm_data() 1725 bool v4 = fw_has_api(&fw->ucode_capa, in iwl_get_nvm() 1792 fw_has_capa(&fw->ucode_capa, in iwl_get_nvm()
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | binding.h | 64 if (!fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_CDB_SUPPORT) || in iwl_mvm_get_lmac_id()
|