| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mvm.h | 1342 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu() 1359 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected() 1387 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported() 1393 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported() 1399 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported() 1406 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported() 1411 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported() 1416 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported() 1435 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported() 1450 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported() [all …]
|
| H A D | fw.c | 301 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive() 888 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 893 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile() 950 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 1030 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1093 if (!fw_has_capa(&fwrt->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_PPAG)) { in iwl_mvm_fill_ppag_table() 1158 !fw_has_capa(&fwrt->fw->ucode_capa, in iwl_mvm_fill_ppag_table() 1241 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init() 1304 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_tas_init() 1357 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_mvm_get_lari_config_bitmap() [all …]
|
| H A D | mac80211.c | 342 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 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() 593 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register() 605 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() [all …]
|
| H 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() 384 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif() 545 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles() 811 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe() 839 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) && in iwl_mvm_scan_fits() 849 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() 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() 1171 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan() [all …]
|
| H A D | d3.c | 998 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1029 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1125 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1167 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1186 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config() 1260 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend() 1951 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_lookup_wowlan_status_ver() 2460 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results() 2500 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans() 2526 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs() [all …]
|
| H A D | sf.c | 235 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sf_update()
|
| H A D | ftm-initiator.c | 985 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start() 1256 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1263 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver() 1298 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1419 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
|
| H 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() 2575 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta() 2601 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta() 2621 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 2863 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_fw_baid_op() 3548 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key() 4131 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif() [all …]
|
| H A D | time-event.c | 823 } else if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event() 927 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection() 1175 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc() 1275 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
|
| H A D | mac-ctxt.c | 700 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_sta() 986 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx() 1167 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 1171 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon() 1283 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
|
| H A D | nvm.c | 474 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc() 573 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
|
| H A D | ops.c | 1417 fw_has_capa(&mvm->fw->ucode_capa, in iwl_op_mode_mvm_start() 1841 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_queue_state_change() 2040 if (mvm->fw->ucode_capa.error_log_size) { in iwl_mvm_sw_reset() 2041 u32 src_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_sw_reset() 2042 u32 src_addr = mvm->fw->ucode_capa.error_log_addr; in iwl_mvm_sw_reset()
|
| H A D | rx.c | 167 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_set_mac80211_rx_flag() 369 if (!WARN_ON_ONCE(id >= mvm->fw->ucode_capa.num_stations)) { in iwl_mvm_rx_rx_mpdu() 1231 sta_id >= mvm->fw->ucode_capa.num_stations, in iwl_mvm_window_status_notif()
|
| H A D | utils.c | 569 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_low_latency_cmd() 731 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_get_wd_timeout() 839 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_tcm_results()
|
| H A D | ptp.c | 174 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SYNCED_TIME)) { in iwl_mvm_phc_get_crosstimestamp()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mld.h | 537 arr_sz = mld->fw->ucode_capa.num_stations; \ 540 arr_sz = mld->fw->ucode_capa.num_links; \ 561 if (IWL_FW_CHECK(mld, fw_link_id >= mld->fw->ucode_capa.num_links, in iwl_mld_fw_id_to_link_conf() 606 if (!fw_has_capa(&mld->fw->ucode_capa, in iwl_mld_get_lmac_id()
|
| H A D | mac80211.c | 295 if (mld->fw->ucode_capa.nan_max_chan_switch_time) in iwl_mld_hw_set_nan() 297 mld->fw->ucode_capa.nan_max_chan_switch_time; in iwl_mld_hw_set_nan() 311 const struct iwl_ucode_capabilities *ucode_capa = &mld->fw->ucode_capa; in iwl_mac_hw_set_wiphy() local 395 if (fw_has_capa(ucode_capa, IWL_UCODE_TLV_CAPA_PROTECTED_TWT)) in iwl_mac_hw_set_wiphy() 956 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_teardown_tdls_peers() 1486 mld->fw->ucode_capa.n_scan_channels)) in iwl_mld_mac80211_hw_scan() 1682 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_tdls_sta_count() 2002 for (int i = 0; i < mld->fw->ucode_capa.num_stations; i++) { in iwl_mld_mac80211_flush() 2605 for (int i = 0; i < mld->fw->ucode_capa.num_links; i++) { in iwl_mld_count_free_link_ids()
|
| H A D | regulatory.c | 359 fw_has_capa(&fwrt->fw->ucode_capa, in iwl_mld_configure_lari() 556 if (!fw_has_capa(&mld->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mld_init_tas()
|
| H A D | mld.c | 615 u32 src_size = mld->fw->ucode_capa.error_log_size; in iwl_mld_read_error_recovery_buffer() 616 u32 src_addr = mld->fw->ucode_capa.error_log_addr; in iwl_mld_read_error_recovery_buffer()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-drv.c | 135 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode() 136 kfree(drv->fw.ucode_capa.cmd_bios_tables); in iwl_dealloc_ucode() 568 const struct iwl_ucode_capa *ucode_capa = (const void *)data; in iwl_set_ucode_capabilities() local 569 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities() 570 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 711 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude() 1662 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback() 1663 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback() 1665 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback() 1666 fw->ucode_capa.num_stations = IWL_STATION_COUNT_MAX; in iwl_req_fw_callback() [all …]
|
| H A D | iwl-nvm-parse.c | 443 if (fw_has_capa(&fw->ucode_capa, in iwl_init_channel_map() 1099 if (!fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_NAN_SYNC_SUPPORT)) in iwl_init_nan_phy_capa() 1502 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_mei_nvm_data() 1592 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_nvm_data() 2122 bool v4 = fw_has_api(&fw->ucode_capa, in iwl_get_nvm() 2205 fw_has_capa(&fw->ucode_capa, in iwl_get_nvm()
|
| H A D | iwl-dbg-tlv.c | 675 if (!fw_has_capa(&fwrt->fw->ucode_capa, in iwl_dbg_tlv_apply_buffer() 743 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_dbg_tlv_apply_buffers() 820 if (!fw_has_capa(&fwrt->fw->ucode_capa, in iwl_dbg_tlv_update_drams()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | smem.c | 81 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_parse_shared_mem() 112 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_get_shared_mem_conf()
|
| H A D | pnvm.c | 405 ret = iwl_trans_load_pnvm(trans, pnvm_data, &fw->ucode_capa); in iwl_pnvm_load_pnvm_to_trans() 411 iwl_trans_set_pnvm(trans, &fw->ucode_capa); in iwl_pnvm_load_pnvm_to_trans() 481 iwl_pnvm_load_reduce_power_to_trans(trans, &fw->ucode_capa, sku_id); in iwl_pnvm_load()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 1350 ucode_flags = fw->ucode_capa.flags; in iwl_op_mode_dvm_start() 1487 fw->ucode_capa.standard_phy_calibration_size; in iwl_op_mode_dvm_start() 1489 fw->ucode_capa.standard_phy_calibration_size + 1; in iwl_op_mode_dvm_start() 1499 err = iwlagn_mac_setup_register(priv, &fw->ucode_capa); in iwl_op_mode_dvm_start()
|