/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | img.c | 16 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()
|
H 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()
|
H A D | debugfs.c | 301 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()
|
H A D | img.h | 182 * @ucode_capa: capabilities parsed from the ucode file. 208 struct iwl_ucode_capabilities ucode_capa; member
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mvm.h | 1448 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_has_mld_api() 1465 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_has_unified_ucode() 1507 return fw_has_api(&mvm->fw->ucode_capa, 1513 return fw_has_api(&mvm->fw->ucode_capa, 1519 return fw_has_api(&mvm->fw->ucode_capa, 1526 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_OCE); in iwl_mvm_has_tlc_offload() 1531 return fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_FRAG_EBS); 1536 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_get_agg_status() 1555 bool tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_is_ctdp_supported() 1570 return fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_max_active_links() [all...] |
H A D | fw.c | 318 !(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() 886 } else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 891 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_get_sar_geo_profile() 943 else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1013 } else if (fw_has_api(&mvm->fwrt.fw->ucode_capa, in iwl_mvm_sar_geo_init() 1109 if (!fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_TAS_CFG)) { in iwl_mvm_add_to_tas_block_list() 1290 u32 error_log_size = mvm->fw->ucode_capa.error_log_size; in iwl_mvm_lari_cfg() 1438 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_send_recovery_cmd() 1462 for (i = 0; i < mvm->fw->ucode_capa in iwl_mvm_sar_init() [all...] |
H A D | mac80211.c | 355 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 419 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 495 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 503 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 507 else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 512 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 516 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 599 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) in iwl_mvm_mac_setup_register() 611 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() 613 fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_setup_register() [all...] |
H A D | tdls.c | 27 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 50 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_sta_count() 94 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_config() 140 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_recalc_tdls_state() 158 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_mgd_protect_tdls_discover() 223 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif()
|
H A D | scan.c | 247 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_max_scan_ie_fw_cmd_room() 383 if (WARN_ON_ONCE(fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_lmac_scan_complete_notif() 548 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) in iwl_mvm_config_sched_scan_profiles() 814 !fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_build_scan_probe() 842 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_use_ebs() 852 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() 904 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_scan_lmac_flags() 948 mvm->fw->ucode_capa.n_scan_channels); in iwl_mvm_scan_lmac() 1174 if (WARN_ON(num_channels > mvm->fw->ucode_capa in iwl_mvm_legacy_config_scan() [all...] |
H A D | binding.c | 32 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()
|
H 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()
|
H A D | led.c | 35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
|
H A D | d3.c | 1008 bool unified = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1039 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config_key_params() 1135 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1160 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_wowlan_config() 1179 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_config() 1261 bool unified_image = fw_has_capa(&mvm->fw->ucode_capa, in __iwl_mvm_suspend() 2269 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_lookup_wowlan_status_ver() 2814 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_netdetect_query_results() 2852 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_num_match_chans() 2877 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_query_set_freqs() [all …]
|
H A D | time-event.c | 833 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_rx_session_protect_notif() 938 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_start_p2p_roc() 1201 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_schedule_session_protection() 1301 } else if (fw_has_capa(&mvm->fw->ucode_capa,
|
H A D | ftm-initiator.c | 1054 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_rtt_smoothing() 1323 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1330 else if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_range_resp() 1365 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_ftm_lc_notif() 1486 if (fw_has_api(&mvm->fw->ucode_capa,
|
H A D | sta.c | 24 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 45 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 148 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() 2602 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) { in iwl_mvm_add_mcast_sta() 2628 } else if (!fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 2648 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in __iwl_mvm_remove_sta_key() 2890 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_sta_rx_agg() 3575 bool new_api = fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_send_sta_key() 4158 if (WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa in iwl_mvm_sta_modify_disable_tx() [all...] |
H A D | time-sync.c | 135 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_time_sync_config()
|
H A D | power.c | 57 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()
|
H A D | mac-ctxt.c | 705 fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_sta() 1013 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_set_tx() 1190 if (!fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_beacon_changed() 1194 if (fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_beacon_changed() 1306 if (!fw_has_api(&mvm->fw->ucode_capa, in iwl_mvm_mac_ctxt_cmd_fill_ap()
|
H A D | coex.c | 374 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2)) in iwl_mvm_bt_notif_per_link() 739 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_COEX_SCHEMA_2) &&
|
H A D | nvm.c | 479 } else if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_update_mcc() 560 tlv_lar = fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_init_mcc()
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_scan.c | 307 j < ss->ss_last && nchan < sc->sc_fw.ucode_capa.n_scan_channels; in iwm_lmac_scan_fill_channels() 351 j < ss->ss_last && nchan < sc->sc_fw.ucode_capa.n_scan_channels; in iwm_umac_scan_fill_channels() 497 cmd_size = sizeof(*scan_config) + sc->sc_fw.ucode_capa.n_scan_channels; in iwm_config_umac_scan() 525 j < ic->ic_nchans && nchan < sc->sc_fw.ucode_capa.n_scan_channels; in iwm_config_umac_scan() 569 const struct iwm_ucode_capabilities *capa = &sc->sc_fw.ucode_capa; in iwm_scan_use_ebs() 594 sc->sc_fw.ucode_capa.n_scan_channels + in iwm_scan_size() 599 sc->sc_fw.ucode_capa.n_scan_channels + in iwm_scan_size() 670 sc->sc_fw.ucode_capa.n_scan_channels); in iwm_umac_scan() 683 sc->sc_fw.ucode_capa.n_scan_channels); in iwm_umac_scan() 802 sc->sc_fw.ucode_capa.n_scan_channels))); in iwm_lmac_scan()
|
H A D | if_iwmvar.h | 187 struct iwm_ucode_capabilities ucode_capa; member 573 return isset(sc->sc_fw.ucode_capa.enabled_api, api); in iwm_fw_has_api() 579 return isset(sc->sc_fw.ucode_capa.enabled_capa, capa); in iwm_fw_has_capa()
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-drv.c | 146 kfree(drv->fw.ucode_capa.cmd_versions); in iwl_dealloc_ucode() 485 const struct iwl_ucode_capa *ucode_capa = (const void *)data; in iwl_set_ucode_capabilities() local 486 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities() 487 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 628 } else if (fw_has_capa(&drv->fw.ucode_capa, in iwl_drv_set_dump_exclude() 1508 fw->ucode_capa.max_probe_length = IWL_DEFAULT_MAX_PROBE_LENGTH; in iwl_req_fw_callback() 1509 fw->ucode_capa.standard_phy_calibration_size = in iwl_req_fw_callback() 1511 fw->ucode_capa.n_scan_channels = IWL_DEFAULT_SCAN_CHANNELS; in iwl_req_fw_callback() 1512 fw->ucode_capa.num_stations = IWL_MVM_STATION_COUNT_MAX; in iwl_req_fw_callback() 1513 fw->ucode_capa.num_beacons = 1; in iwl_req_fw_callback() [all …]
|
H A D | iwl-nvm-parse.c | 483 if (fw_has_capa(&fw->ucode_capa, in iwl_init_vht_hw_capab() 1065 if (fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_BROADCAST_TWT)) in iwl_init_he_hw_capab() 1507 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_parse_nvm_data() 1601 fw_has_capa(&fw->ucode_capa, IWL_UCODE_TLV_CAPA_LAR_SUPPORT)) in iwl_get_reg_capa() 2097 bool v4 = fw_has_api(&fw->ucode_capa, 2170 fw_has_capa(&fw->ucode_capa,
|