Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.c65 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()
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()
Ddebugfs.c320 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()
Dimg.h208 struct iwl_ucode_capabilities ucode_capa; member
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1167 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu()
1184 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected()
1212 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported()
1218 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported()
1224 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported()
1231 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported()
1236 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported()
1241 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported()
1260 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported()
1275 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported()
[all …]
Dfw.c263 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive()
727 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
732 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
775 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile()
827 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init()
856 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init()
975 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_PPAG)) { in iwl_mvm_ppag_send_cmd()
1082 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init()
1287 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd()
1433 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up()
[all …]
Dmac80211.c329 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
375 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
468 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
475 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
554 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register()
566 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
568 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
573 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
609 if (fw_has_capa(&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()
[all …]
Drfi.c66 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_RFIM_SUPPORT)) in iwl_rfi_send_config_cmd()
98 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_RFIM_SUPPORT)) in iwl_rfi_get_freq_table()
Dscan.c232 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type()
293 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed()
378 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif()
539 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles()
807 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe()
835 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits()
845 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs()
895 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags()
939 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac()
1167 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan()
[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()
Dd3.c987 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params()
1018 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params()
1115 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config()
1147 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config()
1165 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config()
1246 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend()
1894 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_parse_wowlan_status_common()
2077 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results()
2115 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans()
2140 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()
Dtime-event.c693 if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event()
791 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection()
932 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc()
1020 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
Dbinding.c31 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_binding_cmd()
Dops.c929 trans_cfg.fw_reset_handshake = fw_has_capa(&mvm->fw->ucode_capa, in iwl_op_mode_mvm_start()
1269 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_queue_state_change()
1463 if (mvm->fw->ucode_capa.error_log_size) { in iwl_mvm_nic_restart()
1464 u32 src_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_nic_restart()
1465 u32 src_addr = mvm->fw->ucode_capa.error_log_addr; in iwl_mvm_nic_restart()
Dftm-initiator.c858 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start()
1127 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1134 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1168 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
1289 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
Dmac-ctxt.c611 if (ap_sta_id < mvm->fw->ucode_capa.num_stations) { 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()
Doffloading.c49 u32 capa_flags = mvm->fw->ucode_capa.flags; in iwl_mvm_send_proto_offload()
Dcoex.c302 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()
Dnvm.c443 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()
Dsta.c21 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()
1527 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common()
2334 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta()
2360 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta()
2379 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key()
3229 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key()
3804 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif()
3891 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_modify_all_sta_disable_tx()
[all …]
Dpower.c58 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()
Dphy-ctxt.c260 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_phy_ctxt_changed()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c129 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode()
426 const struct iwl_ucode_capa *ucode_capa = (void *)data; in iwl_set_ucode_capabilities() local
427 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities()
428 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities()
1329 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback()
1330 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback()
1332 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback()
1333 fw->ucode_capa.num_stations = IWL_MVM_STATION_COUNT_MAX; in iwl_req_fw_callback()
1360 &fw->ucode_capa, &usniffer_images); in iwl_req_fw_callback()
1365 if (fw_has_api(&drv->fw.ucode_capa, IWL_UCODE_TLV_API_NEW_VERSION)) in iwl_req_fw_callback()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dbinding.h64 if (!fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_CDB_SUPPORT) || in iwl_mvm_get_lmac_id()

12