Home
last modified time | relevance | path

Searched refs:start_freq (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c158 KHZ_TO_MHZ(ar->freq_range.start_freq) || in ath12k_reg_update_chan_list()
195 KHZ_TO_MHZ(ar->freq_range.start_freq) || in ath12k_reg_update_chan_list()
298 ar->freq_range.start_freq = 0; in ath12k_regd_update()
307 freq_low = max(reg_cap->low_2ghz_chan, ab->reg_freq_2ghz.start_freq); in ath12k_regd_update()
319 freq_low = max(reg_cap->low_5ghz_chan, ab->reg_freq_5ghz.start_freq); in ath12k_regd_update()
326 freq_low = max(reg_cap->low_5ghz_chan, ab->reg_freq_6ghz.start_freq); in ath12k_regd_update()
509 ath12k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath12k_reg_adjust_bw() argument
513 bw = end_freq - start_freq; in ath12k_reg_adjust_bw()
527 ath12k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath12k_reg_update_rule() argument
531 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath12k_reg_update_rule()
[all …]
H A Dreg.h43 u16 start_freq; member
H A Dmac.c888 if (channel->center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_get_ar_by_chan()
5121 center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_select_scan_device()
11737 u16 *start_freq, in ath12k_mac_get_psd_channel() argument
11754 *center_freq = *start_freq + i * step_freq; in ath12k_mac_get_psd_channel()
11760 u16 *start_freq, in ath12k_mac_get_eirp_power() argument
11780 *center_freq = ath12k_mac_get_seg_freq(def, *start_freq, i); in ath12k_mac_get_eirp_power()
11803 u16 start_freq, center_freq; in ath12k_mac_fill_reg_tpc_info() local
11807 start_freq = ath12k_mac_get_6ghz_start_frequency(&ctx->def); in ath12k_mac_fill_reg_tpc_info()
11826 &start_freq, in ath12k_mac_fill_reg_tpc_info()
11840 &start_freq, in ath12k_mac_fill_reg_tpc_info()
[all …]
H A Dwmi.c3975 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3979 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3983 arg[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath12k_fill_band_to_mac_param()
4161 band_to_mac->start_freq = in ath12k_init_cmd_send()
4162 cpu_to_le32(arg->band_to_mac[idx].start_freq); in ath12k_init_cmd_send()
5751 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
5784 u32 count, start_freq; in ath12k_wmi_ignore_num_extra_rules() local
5787 start_freq = le32_get_bits(rule[count].freq_info, REG_RULE_START_FREQ); in ath12k_wmi_ignore_num_extra_rules()
5789 if (start_freq >= ATH12K_MIN_6GHZ_FREQ) in ath12k_wmi_ignore_num_extra_rules()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c499 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
503 if (end_freq <= start_freq) in ath11k_reg_adjust_bw()
506 bw = end_freq - start_freq; in ath11k_reg_adjust_bw()
522 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument
526 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
541 u32 start_freq; in ath11k_reg_update_weather_radar_band() local
552 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
558 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
565 i + 1, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
572 start_freq = max_t(u32, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
[all …]
H A Dmac.c8084 u16 *start_freq, in ath11k_mac_get_psd_channel() argument
8101 *center_freq = *start_freq + i * step_freq; in ath11k_mac_get_psd_channel()
8107 u16 *start_freq, in ath11k_mac_get_eirp_power() argument
8127 *center_freq = ath11k_mac_get_seg_freq(def, *start_freq, i); in ath11k_mac_get_eirp_power()
8151 u16 start_freq, center_freq; in ath11k_mac_fill_reg_tpc_info() local
8154 start_freq = ath11k_mac_get_6ghz_start_frequency(&ctx->def); in ath11k_mac_fill_reg_tpc_info()
8174 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8188 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8212 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8223 &start_freq, in ath11k_mac_fill_reg_tpc_info()
[all …]
H A Dwmi.c4161 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4165 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4169 band_to_mac[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath11k_fill_band_to_mac_param()
4346 band_to_mac->start_freq = in ath11k_init_cmd_send()
4347 param->band_to_mac[idx].start_freq; in ath11k_init_cmd_send()
5226 count + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_print_reg_rule()
5246 reg_rule_ptr[count].start_freq = in create_reg_rules_from_wmi()
5395 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
5429 u32 count, start_freq; in ath11k_invalid_5ghz_reg_ext_rules_from_wmi() local
5432 start_freq = u32_get_bits(rule[count].freq_info, in ath11k_invalid_5ghz_reg_ext_rules_from_wmi()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dsar.c59 [RTW_SAR_BAND_0] = { .start_freq = 2412, .end_freq = 2484, },
60 [RTW_SAR_BAND_1] = { .start_freq = 5180, .end_freq = 5320, },
61 [RTW_SAR_BAND_3] = { .start_freq = 5500, .end_freq = 5720, },
62 [RTW_SAR_BAND_4] = { .start_freq = 5745, .end_freq = 5825, },
95 rtw_common_sar_freq_ranges[idx].start_freq, in rtw_set_sar_specs()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dsar.c397 { .start_freq = 2412, .end_freq = 2484, },
398 { .start_freq = 5180, .end_freq = 5320, },
399 { .start_freq = 5500, .end_freq = 5720, },
400 { .start_freq = 5745, .end_freq = 5885, },
401 { .start_freq = 5955, .end_freq = 6155, },
402 { .start_freq = 6175, .end_freq = 6415, },
403 { .start_freq = 6435, .end_freq = 6515, },
404 { .start_freq = 6535, .end_freq = 6695, },
405 { .start_freq = 6715, .end_freq = 6875, },
406 { .start_freq = 6875, .end_freq = 7115, },
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11h.c144 cr_req->chan_desc.start_freq = cpu_to_le16(MWIFIEX_A_BAND_START_FREQ); in mwifiex_cmd_issue_chan_report_request()
H A Dfw.h1487 __le16 start_freq; member
/linux/net/mac80211/
H A Dibss.c1328 u32 start_freq, end_freq, freq; in ibss_setup_channels() local
1331 start_freq = center_freq; in ibss_setup_channels()
1334 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels()
1338 for (freq = start_freq; freq <= end_freq; freq += 20) { in ibss_setup_channels()
/linux/net/wireless/
H A Dreg.c1166 u32 start_freq, end_freq, idx, no; in reg_get_max_bandwidth_from_range() local
1188 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1206 return end_freq - start_freq; in reg_get_max_bandwidth_from_range()
H A Dutil.c2593 if (freq >= radio->freq_range[j].start_freq && in cfg80211_get_radio_idx_by_chan()
2991 if (freq - width / 2 >= r->start_freq && in ieee80211_radio_freq_range_valid()
H A Dnl80211.c2526 rdev->wiphy.sar_capa->freq_ranges[i].start_freq)) in nl80211_put_sar_specs()
2606 range->start_freq) || in nl80211_put_radio()
/linux/include/net/
H A Dcfg80211.h2398 u32 start_freq; member
5780 u32 start_freq; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c89 {.start_freq = 2402, .end_freq = 2494 },
90 {.start_freq = 5170, .end_freq = 5875 },
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5743 radio_range->start_freq = ieee80211_channel_to_khz(c) - 10000; in mac80211_hwsim_new_radio()