Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c301 if (*pos >= fw->ucode_capa.n_cmd_versions) { in iwl_dbgfs_fw_info_seq_next()
321 if (*pos >= fw->ucode_capa.n_cmd_versions) in iwl_dbgfs_fw_info_seq_start()
342 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show()
348 has_capa = fw_has_capa(&fw->ucode_capa, in iwl_dbgfs_fw_info_seq_show()
357 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()
Dregulatory.c314 if (!fw_has_capa(&fwrt->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_PPAG)) { in iwl_fill_ppag_table()
376 !fw_has_capa(&fwrt->fw->ucode_capa, in iwl_fill_ppag_table()
479 if (fw_has_capa(&fwrt->fw->ucode_capa, in iwl_get_lari_config_bitmap()
Dimg.h208 struct iwl_ucode_capabilities ucode_capa; member
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1449 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu()
1466 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected()
1508 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_supported()
1514 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adaptive_dwell_v2_supported()
1520 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_adwell_hb_ap_num_supported()
1527 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_is_oce_supported()
1532 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); in iwl_mvm_is_frag_ebs_supported()
1537 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_short_beacon_notif_supported()
1556 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_lar_supported()
1571 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_is_wifi_mcc_supported()
[all …]
Dfw.c318 !(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_load_ucode_wait_alive()
426 &mvm->fw->ucode_capa); in iwl_mvm_load_ucode_wait_alive()
900 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
905 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sar_select_profile()
962 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_get_sar_geo_profile()
1032 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init()
1128 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_tas_init()
1309 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_send_recovery_cmd()
1455 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_up()
1479 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_up()
[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()
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()
Dmac80211.c343 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
407 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
483 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
491 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
495 else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
500 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
504 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
587 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register()
599 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
601 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register()
[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()
Dscan.c247 if (fw_has_api(&mvm->fw->ucode_capa, in _iwl_mvm_get_scan_type()
298 return fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rrm_scan_needed()
383 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif()
544 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles()
810 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe()
838 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits()
848 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs()
900 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags()
944 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac()
1170 if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) in iwl_mvm_legacy_config_scan()
[all …]
Doffloading.c50 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()
Dled.c35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
Dd3.c1004 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params()
1035 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params()
1131 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config()
1156 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()
1257 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend()
2267 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_lookup_wowlan_status_ver()
2812 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results()
2850 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans()
2875 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs()
[all …]
Dsf.c235 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_sf_update()
Dtime-sync.c135 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_time_sync_config()
Dftm-initiator.c1051 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_start()
1320 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1327 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_get_range_resp_ver()
1362 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
1483 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp()
Dtime-event.c831 } else if (fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_remove_time_event()
936 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_session_protection()
1199 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc()
1299 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_stop_roc()
Dpower.c57 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_beacon_filter_send_cmd()
380 (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
402 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_power_build_cmd()
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()
1711 if (fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_int_sta_common()
2594 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta()
2620 } else if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_add_mcast_sta()
2640 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key()
2882 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_fw_baid_op()
3567 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key()
4150 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_eosp_notif()
[all …]
Dnvm.c477 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc()
558 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
Dtt.c192 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_temp_cmd()
345 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tt_tx_protection()
Dmac-ctxt.c704 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_sta()
1012 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx()
1189 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon()
1193 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_send_beacon()
1305 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c128 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode()
467 const struct iwl_ucode_capa *ucode_capa = (const void *)data; in iwl_set_ucode_capabilities() local
468 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities()
469 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities()
610 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude()
1488 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback()
1489 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback()
1491 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback()
1492 fw->ucode_capa.num_stations = IWL_STATION_COUNT_MAX; in iwl_req_fw_callback()
1493 fw->ucode_capa.num_beacons = 1; in iwl_req_fw_callback()
[all …]
Diwl-nvm-parse.c483 if (fw_has_capa(&fw->ucode_capa, in iwl_init_channel_map()
1065 if (fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_BROADCAST_TWT)) in iwl_nvm_fixup_sband_iftd()
1502 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_mei_nvm_data()
1596 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()

12