Home
last modified time | relevance | path

Searched refs:reg_cap (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c271 struct ath12k_wmi_hal_reg_capabilities_ext_arg *reg_cap; in ath12k_regd_update() local
292 reg_cap = &ab->hal_reg_cap[ar->pdev_idx]; in ath12k_regd_update()
304 reg_cap = &ab->hal_reg_cap[phy_id]; in ath12k_regd_update()
307 freq_low = max(reg_cap->low_2ghz_chan, ab->reg_freq_2ghz.start_freq); in ath12k_regd_update()
308 freq_high = min(reg_cap->high_2ghz_chan, ab->reg_freq_2ghz.end_freq); in ath12k_regd_update()
316 reg_cap = &ab->hal_reg_cap[phy_id]; in ath12k_regd_update()
319 freq_low = max(reg_cap->low_5ghz_chan, ab->reg_freq_5ghz.start_freq); in ath12k_regd_update()
320 freq_high = min(reg_cap->high_5ghz_chan, ab->reg_freq_5ghz.end_freq); in ath12k_regd_update()
326 freq_low = max(reg_cap->low_5ghz_chan, ab->reg_freq_6ghz.start_freq); in ath12k_regd_update()
327 freq_high = min(reg_cap->high_5ghz_chan, ab->reg_freq_6ghz.end_freq); in ath12k_regd_update()
H A Dmac.c13908 struct ath12k_wmi_hal_reg_capabilities_ext_arg *reg_cap; in ath12k_mac_setup_channels_rates() local
13920 reg_cap = &ab->hal_reg_cap[ar->pdev_idx]; in ath12k_mac_setup_channels_rates()
13938 reg_cap = &ab->hal_reg_cap[phy_id]; in ath12k_mac_setup_channels_rates()
13941 freq_low = max(reg_cap->low_2ghz_chan, in ath12k_mac_setup_channels_rates()
13943 freq_high = min(reg_cap->high_2ghz_chan, in ath12k_mac_setup_channels_rates()
13947 reg_cap->low_2ghz_chan, in ath12k_mac_setup_channels_rates()
13948 reg_cap->high_2ghz_chan); in ath12k_mac_setup_channels_rates()
13970 if (reg_cap->high_5ghz_chan >= ATH12K_MIN_6GHZ_FREQ) { in ath12k_mac_setup_channels_rates()
13986 freq_low = max(reg_cap->low_5ghz_chan, in ath12k_mac_setup_channels_rates()
13988 freq_high = min(reg_cap->high_5ghz_chan, in ath12k_mac_setup_channels_rates()
[all …]
H A Dwmi.c4664 struct ath12k_wmi_hal_reg_capabilities_ext_arg reg_cap; in ath12k_wmi_ext_hal_reg_caps() local
4682 &reg_cap); in ath12k_wmi_ext_hal_reg_caps()
4688 if (reg_cap.phy_id >= MAX_RADIOS) { in ath12k_wmi_ext_hal_reg_caps()
4689 ath12k_warn(soc, "unexpected phy id %u\n", reg_cap.phy_id); in ath12k_wmi_ext_hal_reg_caps()
4693 soc->hal_reg_cap[reg_cap.phy_id] = reg_cap; in ath12k_wmi_ext_hal_reg_caps()
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c4837 struct ath11k_hal_reg_capabilities_ext reg_cap; in ath11k_wmi_tlv_ext_hal_reg_caps() local
4855 &reg_cap); in ath11k_wmi_tlv_ext_hal_reg_caps()
4861 memcpy(&soc->hal_reg_cap[reg_cap.phy_id], in ath11k_wmi_tlv_ext_hal_reg_caps()
4862 &reg_cap, sizeof(reg_cap)); in ath11k_wmi_tlv_ext_hal_reg_caps()