| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | img.c | 17 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_cmd_ver() 18 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_cmd_ver() 21 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_cmd_ver() 22 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_cmd_ver() 39 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_notif_ver() 40 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_notif_ver() 43 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_notif_ver() 44 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_notif_ver()
|
| A D | debugfs.c | 339 if (*pos >= fw->ucode_capa.n_cmd_versions) { in iwl_dbgfs_fw_info_seq_next() 359 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_start() 380 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show() 386 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show() 392 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show() 401 ver = &fw->ucode_capa.cmd_versions[state->pos]; in iwl_dbgfs_fw_info_seq_show()
|
| A D | regulatory.c | 321 if (!fw_has_capa(&fwrt->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_PPAG)) { in iwl_fill_ppag_table() 389 !fw_has_capa(&fwrt->fw->ucode_capa, in iwl_fill_ppag_table() 520 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_get_lari_config_bitmap() 582 bool has_raw_dsm_capa = fw_has_capa(&fwrt->fw->ucode_capa, in iwl_fill_lari_config() 614 !fw_has_capa(&fwrt->fw->ucode_capa, in iwl_fill_lari_config() 635 !fw_has_capa(&fwrt->fw->ucode_capa, in iwl_fill_lari_config()
|
| A 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()
|
| A D | pnvm.c | 339 ret = iwl_trans_load_pnvm(trans, pnvm_data, &fw->ucode_capa); in iwl_pnvm_load_pnvm_to_trans() 345 iwl_trans_set_pnvm(trans, &fw->ucode_capa); in iwl_pnvm_load_pnvm_to_trans() 415 iwl_pnvm_load_reduce_power_to_trans(trans, &fw->ucode_capa, sku_id); in iwl_pnvm_load()
|
| A D | img.h | 211 struct iwl_ucode_capabilities ucode_capa; member
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | mvm.h | 1490 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported() 1496 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported() 1502 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported() 1519 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported() 1553 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported() 1596 return fw_has_capa(&fw->ucode_capa, in iwl_mvm_has_mld_api() 1645 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_scan_ext_chan_supported() 1652 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_reduced_config_scan_supported() 1658 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_band_in_rx_supported() 1664 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_has_new_rx_stats_api() [all …]
|
| A D | fw.c | 310 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive() 878 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 883 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 940 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 1010 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1094 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init() 1156 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_tas_init() 1265 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd() 1412 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up() 1436 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_up() [all …]
|
| A 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() 155 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()
|
| A D | mac80211.c | 406 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 484 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 496 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 501 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 506 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 510 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 607 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 612 if (fw_has_capa(&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() [all …]
|
| A D | scan.c | 248 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type() 299 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed() 811 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe() 901 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags() 945 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac() 2016 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_6ghz_passive_scan() 2169 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_umac_flags2() 2203 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_umac_flags() 2302 mvm->fw->ucode_capa.n_scan_channels; in iwl_mvm_scan_umac() 3446 mvm->fw->ucode_capa.n_scan_channels + in iwl_mvm_scan_size() [all …]
|
| A D | binding.c | 32 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_binding_cmd() 169 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_CDB_SUPPORT) || in iwl_mvm_get_lmac_id()
|
| A D | offloading.c | 50 u32 capa_flags = mvm->fw->ucode_capa.flags; in iwl_mvm_send_proto_offload() 202 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_proto_offload()
|
| A D | d3.c | 995 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1026 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1122 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1164 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1183 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config() 2088 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_lookup_wowlan_status_ver() 2625 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results() 2663 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans() 2689 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs() 3154 bool reset = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_resume_firmware() [all …]
|
| A D | led.c | 35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
|
| A D | ftm-initiator.c | 954 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start() 1225 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1232 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1267 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1388 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
|
| A D | time-event.c | 833 } else if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event() 938 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection() 1184 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc() 1284 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
|
| A D | sta.c | 21 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 42 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 145 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_sta_send_to_fw() 1714 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common() 2614 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta() 2634 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 2876 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_fw_baid_op() 3561 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key() 4144 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif() 4251 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_modify_all_sta_disable_tx() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | mld.h | 516 arr_sz = mld->fw->ucode_capa.num_stations; \ 519 arr_sz = mld->fw->ucode_capa.num_links; \ 535 if (IWL_FW_CHECK(mld, fw_link_id >= mld->fw->ucode_capa.num_links, in iwl_mld_fw_id_to_link_conf() 576 if (!fw_has_capa(&mld->fw->ucode_capa, in iwl_mld_get_lmac_id()
|
| A D | regulatory.c | 201 bool has_raw_dsm_capa = fw_has_capa(&fwrt->fw->ucode_capa, in iwl_mld_configure_lari() 325 if (!fw_has_capa(&mld->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mld_init_tas()
|
| A D | mlo.h | 47 return mld->fw->ucode_capa.num_beacons; in iwl_mld_max_active_links()
|
| A D | mac80211.c | 262 const struct iwl_ucode_capabilities *ucode_capa = &mld->fw->ucode_capa; in iwl_mac_hw_set_wiphy() local 335 if (fw_has_capa(ucode_capa, IWL_UCODE_TLV_CAPA_PROTECTED_TWT)) in iwl_mac_hw_set_wiphy() 835 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_teardown_tdls_peers() 1350 mld->fw->ucode_capa.n_scan_channels)) in iwl_mld_mac80211_hw_scan() 1543 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_tdls_sta_count() 1826 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_mac80211_flush()
|
| /drivers/net/wireless/intel/iwlwifi/ |
| A D | iwl-drv.c | 135 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode() 554 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities() 555 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 696 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude() 1607 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback() 1609 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback() 1610 fw->ucode_capa.num_stations = IWL_STATION_COUNT_MAX; in iwl_req_fw_callback() 1611 fw->ucode_capa.num_beacons = 1; in iwl_req_fw_callback() 1638 &fw->ucode_capa, &usniffer_images); in iwl_req_fw_callback() 1813 if (fw->ucode_capa.standard_phy_calibration_size > in iwl_req_fw_callback() [all …]
|
| A D | iwl-nvm-parse.c | 493 if (fw_has_capa(&fw->ucode_capa, in iwl_init_channel_map() 1045 if (fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_BROADCAST_TWT)) in iwl_nvm_fixup_sband_iftd() 1495 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_mei_nvm_data() 1589 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_nvm_data() 2092 bool v4 = fw_has_api(&fw->ucode_capa, in iwl_get_nvm() 2161 fw_has_capa(&fw->ucode_capa, in iwl_get_nvm()
|
| /drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| A D | utils.c | 44 fw->ucode_capa.num_stations = IWL_STATION_COUNT_MAX; in iwlmld_kunit_test_init() 45 fw->ucode_capa.num_links = IWL_FW_MAX_LINK_ID + 1; in iwlmld_kunit_test_init()
|