/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.c | 65 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_cmd_ver() 66 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_cmd_ver() 69 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_cmd_ver() 70 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_cmd_ver() 87 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_notif_ver() 88 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_notif_ver() 91 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_notif_ver() 92 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_notif_ver()
|
D | smem.c | 119 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_parse_shared_mem() 145 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_get_shared_mem_conf()
|
D | debugfs.c | 347 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_next() 365 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_start() 386 ver = &fw->ucode_capa.cmd_versions[state->pos]; in iwl_dbgfs_fw_info_seq_show()
|
D | img.h | 261 struct iwl_ucode_capabilities ucode_capa; member
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mvm.h | 1208 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu() 1225 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected() 1253 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported() 1259 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported() 1265 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported() 1272 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported() 1277 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported() 1282 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported() 1301 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported() 1316 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported() [all …]
|
D | fw.c | 353 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive() 800 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 805 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 847 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 900 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1027 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_PPAG)) { in iwl_mvm_ppag_send_cmd() 1102 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init() 1253 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd() 1421 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up() 1448 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) in iwl_mvm_up() [all …]
|
D | mac80211.c | 384 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 430 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 523 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 603 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register() 615 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 617 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 653 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 656 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 660 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 665 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() [all …]
|
D | scan.c | 282 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type() 343 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed() 428 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif() 589 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles() 851 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe() 879 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits() 889 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() 939 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags() 983 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac() 1211 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan() [all …]
|
D | tdls.c | 80 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 103 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_sta_count() 147 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_config() 193 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_recalc_tdls_state() 210 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_mgd_protect_tdls_discover() 276 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif()
|
D | d3.c | 767 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 834 !fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 909 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 941 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 960 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config() 1054 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend() 1688 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_parse_wowlan_status_common() 1860 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results() 1898 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans() 1923 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs() [all …]
|
D | rx.c | 224 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_set_mac80211_rx_flag() 423 if (!WARN_ON_ONCE(id >= mvm->fw->ucode_capa.num_stations)) { in iwl_mvm_rx_rx_mpdu() 697 if (WARN_ONCE(mvm->fw->ucode_capa.num_stations > in iwl_mvm_update_avg_energy() 700 mvm->fw->ucode_capa.num_stations)) in iwl_mvm_update_avg_energy() 704 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_update_avg_energy()
|
D | led.c | 92 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
|
D | binding.c | 86 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_binding_cmd()
|
D | mac-ctxt.c | 666 if (ap_sta_id < mvm->fw->ucode_capa.num_stations) { in iwl_mvm_mac_ctxt_cmd_sta() 890 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx() 1021 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 1025 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 1117 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
|
D | offloading.c | 104 u32 capa_flags = mvm->fw->ucode_capa.flags; in iwl_mvm_send_proto_offload()
|
D | coex.c | 357 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2)) in iwl_mvm_bt_notif_iterator() 692 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 | 500 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc() 563 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
|
D | ftm-initiator.c | 778 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start() 1046 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1085 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1164 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
|
D | ops.c | 1114 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_queue_state_change() 1301 if (mvm->fw->ucode_capa.error_log_size) { in iwl_mvm_nic_restart() 1302 u32 src_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_nic_restart() 1303 u32 src_addr = mvm->fw->ucode_capa.error_log_addr; in iwl_mvm_nic_restart()
|
D | sta.c | 76 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 98 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 127 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_sta_send_to_fw() 1568 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common() 2368 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta() 2394 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta() 2413 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 3249 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key() 3792 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif() 3875 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_modify_all_sta_disable_tx() [all …]
|
D | power.c | 116 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_beacon_filter_send_cmd() 424 (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd() 446 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
|
D | phy-ctxt.c | 303 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_phy_ctxt_changed()
|
D | quota.c | 200 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_quotas()
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-drv.c | 184 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode() 480 const struct iwl_ucode_capa *ucode_capa = (void *)data; in iwl_set_ucode_capabilities() local 481 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities() 482 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 1361 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback() 1362 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback() 1364 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback() 1365 fw->ucode_capa.num_stations = IWL_MVM_STATION_COUNT_MAX; in iwl_req_fw_callback() 1392 &fw->ucode_capa, &usniffer_images); in iwl_req_fw_callback() 1397 if (fw_has_api(&drv->fw.ucode_capa, IWL_UCODE_TLV_API_NEW_VERSION)) in iwl_req_fw_callback() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | binding.h | 119 if (!fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_CDB_SUPPORT) || in iwl_mvm_get_lmac_id()
|