Home
last modified time | relevance | path

Searched refs:ucode_capa (Results 1 – 25 of 44) sorted by relevance

12

/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.c16 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()
Ddebugfs.c302 if (*pos >= fw->ucode_capa.n_cmd_versions) { in iwl_dbgfs_fw_info_seq_next()
322 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_start()
343 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show()
352 ver = &fw->ucode_capa.cmd_versions[state->pos]; in iwl_dbgfs_fw_info_seq_show()
Dsmem.c64 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()
Dimg.h208 struct iwl_ucode_capabilities ucode_capa; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1275 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu()
1292 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected()
1333 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported()
1339 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported()
1345 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported()
1352 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported()
1357 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported()
1362 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported()
1381 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported()
1396 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported()
[all …]
Dfw.c319 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive()
427 &mvm->fw->ucode_capa); in iwl_mvm_load_ucode_wait_alive()
837 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
842 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
894 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile()
957 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init()
1004 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init()
1125 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init()
1399 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd()
1552 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up()
[all …]
Dmac80211.c293 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
360 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
436 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
444 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
448 else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
453 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
531 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register()
543 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
545 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
550 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
[all …]
Dtdls.c24 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()
Dscan.c236 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type()
289 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed()
374 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif()
535 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles()
803 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe()
831 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits()
841 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs()
891 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags()
935 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac()
1161 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan()
[all …]
Dbinding.c32 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_binding_cmd()
170 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_CDB_SUPPORT) || in iwl_mvm_get_lmac_id()
Doffloading.c49 u32 capa_flags = mvm->fw->ucode_capa.flags; in iwl_mvm_send_proto_offload()
201 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_proto_offload()
Dd3.c999 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params()
1030 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()
1157 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config()
1175 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config()
1256 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend()
2042 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_lookup_wowlan_status_ver()
2487 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results()
2525 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans()
2550 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs()
[all …]
Dled.c35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
Dftm-initiator.c910 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start()
1176 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1183 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1218 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
1339 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
Dtime-event.c731 if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event()
830 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection()
971 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc()
1059 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
Dsta.c21 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()
1697 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common()
2568 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta()
2594 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta()
2614 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key()
2870 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_fw_baid_op()
3564 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key()
4146 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif()
[all …]
Dtime-sync.c135 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_time_sync_config()
Dpower.c58 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_beacon_filter_send_cmd()
372 (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
394 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
Dmac-ctxt.c693 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_sta()
1001 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx()
1158 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon()
1162 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon()
1274 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
Dcoex.c305 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2)) in iwl_mvm_bt_notif_per_link()
675 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2) && in iwl_mvm_bt_coex_get_single_ant_msk()
Dnvm.c470 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc()
551 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
Dops.c1303 trans_cfg.fw_reset_handshake = fw_has_capa(&mvm->fw->ucode_capa, in iwl_op_mode_mvm_start()
1705 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_queue_state_change()
1914 if (mvm->fw->ucode_capa.error_log_size) { in iwl_mvm_nic_restart()
1915 u32 src_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_nic_restart()
1916 u32 src_addr = mvm->fw->ucode_capa.error_log_addr; in iwl_mvm_nic_restart()
Dutils.c471 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_low_latency_cmd()
670 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_get_wd_timeout()
811 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_tcm_results()
/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c128 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode()
464 const struct iwl_ucode_capa *ucode_capa = (const void *)data; in iwl_set_ucode_capabilities() local
465 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities()
466 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities()
607 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude()
1483 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback()
1484 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback()
1486 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback()
1487 fw->ucode_capa.num_stations = IWL_MVM_STATION_COUNT_MAX; in iwl_req_fw_callback()
1488 fw->ucode_capa.num_beacons = 1; in iwl_req_fw_callback()
[all …]
Diwl-nvm-parse.c1026 if (fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_BROADCAST_TWT)) in iwl_nvm_fixup_sband_iftd()
1413 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_mei_nvm_data()
1510 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_nvm_data()
1980 bool v4 = fw_has_api(&fw->ucode_capa, in iwl_get_nvm()
2049 fw_has_capa(&fw->ucode_capa, in iwl_get_nvm()

12