Home
last modified time | relevance | path

Searched refs:start_freq (Results 1 – 16 of 16) 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.c881 if (channel->center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_get_ar_by_chan()
4846 center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_select_scan_device()
11507 u16 *start_freq, in ath12k_mac_get_psd_channel() argument
11524 *center_freq = *start_freq + i * step_freq; in ath12k_mac_get_psd_channel()
11530 u16 *start_freq, in ath12k_mac_get_eirp_power() argument
11550 *center_freq = ath12k_mac_get_seg_freq(def, *start_freq, i); in ath12k_mac_get_eirp_power()
11573 u16 start_freq, center_freq; in ath12k_mac_fill_reg_tpc_info() local
11577 start_freq = ath12k_mac_get_6ghz_start_frequency(&ctx->def); in ath12k_mac_fill_reg_tpc_info()
11596 &start_freq, in ath12k_mac_fill_reg_tpc_info()
11610 &start_freq, in ath12k_mac_fill_reg_tpc_info()
[all …]
H A Dwmi.c3923 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3927 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3931 arg[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath12k_fill_band_to_mac_param()
4109 band_to_mac->start_freq = in ath12k_init_cmd_send()
4110 cpu_to_le32(arg->band_to_mac[idx].start_freq); in ath12k_init_cmd_send()
5695 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
5728 u32 count, start_freq; in ath12k_wmi_ignore_num_extra_rules() local
5731 start_freq = le32_get_bits(rule[count].freq_info, REG_RULE_START_FREQ); in ath12k_wmi_ignore_num_extra_rules()
5733 if (start_freq >= ATH12K_MIN_6GHZ_FREQ) in ath12k_wmi_ignore_num_extra_rules()
/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/ath/ath11k/
H A Dreg.c500 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
504 if (end_freq <= start_freq) in ath11k_reg_adjust_bw()
507 bw = end_freq - start_freq; in ath11k_reg_adjust_bw()
523 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument
527 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
542 u32 start_freq; in ath11k_reg_update_weather_radar_band() local
553 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
559 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
566 i + 1, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
573 start_freq = max_t(u32, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
[all …]
H A Dhw.c2841 {.start_freq = 2402, .end_freq = 2482 }, /* 2G ch1~ch13 */
2842 {.start_freq = 5150, .end_freq = 5250 }, /* 5G UNII-1 ch32~ch48 */
2843 {.start_freq = 5250, .end_freq = 5725 }, /* 5G UNII-2 ch50~ch144 */
2844 {.start_freq = 5725, .end_freq = 5810 }, /* 5G UNII-3 ch149~ch161 */
2845 {.start_freq = 5815, .end_freq = 5895 }, /* 5G UNII-4 ch163~ch177 */
2846 {.start_freq = 5925, .end_freq = 6165 }, /* 6G UNII-5 Ch1, Ch2 ~ Ch41 */
2847 {.start_freq = 6165, .end_freq = 6425 }, /* 6G UNII-5 ch45~ch93 */
2848 {.start_freq = 6425, .end_freq = 6525 }, /* 6G UNII-6 ch97~ch113 */
2849 {.start_freq = 6525, .end_freq = 6705 }, /* 6G UNII-7 ch117~ch149 */
2850 {.start_freq = 6705, .end_freq = 6875 }, /* 6G UNII-7 ch153~ch185 */
[all …]
H A Dmac.c8069 u16 *start_freq, in ath11k_mac_get_psd_channel() argument
8086 *center_freq = *start_freq + i * step_freq; in ath11k_mac_get_psd_channel()
8092 u16 *start_freq, in ath11k_mac_get_eirp_power() argument
8112 *center_freq = ath11k_mac_get_seg_freq(def, *start_freq, i); in ath11k_mac_get_eirp_power()
8136 u16 start_freq, center_freq; in ath11k_mac_fill_reg_tpc_info() local
8139 start_freq = ath11k_mac_get_6ghz_start_frequency(&ctx->def); in ath11k_mac_fill_reg_tpc_info()
8159 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8173 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8197 &start_freq, in ath11k_mac_fill_reg_tpc_info()
8208 &start_freq, in ath11k_mac_fill_reg_tpc_info()
[all …]
H A Dwmi.c4108 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4112 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4116 band_to_mac[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath11k_fill_band_to_mac_param()
4293 band_to_mac->start_freq = in ath11k_init_cmd_send()
4294 param->band_to_mac[idx].start_freq; in ath11k_init_cmd_send()
5174 count + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_print_reg_rule()
5195 reg_rule_ptr[count].start_freq = in create_reg_rules_from_wmi()
5344 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
5378 u32 count, start_freq; in ath11k_invalid_5ghz_reg_ext_rules_from_wmi() local
5381 start_freq = u32_get_bits(rule[count].freq_info, in ath11k_invalid_5ghz_reg_ext_rules_from_wmi()
[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 Dutil.c2535 if (freq >= radio->freq_range[j].start_freq && in cfg80211_get_radio_idx_by_chan()
2934 if (freq - width / 2 >= r->start_freq && in ieee80211_radio_freq_range_valid()
H A Dnl80211.c2470 rdev->wiphy.sar_capa->freq_ranges[i].start_freq)) in nl80211_put_sar_specs()
2550 range->start_freq) || in nl80211_put_radio()
/linux/include/net/
H A Dcfg80211.h2346 u32 start_freq; member
5699 u32 start_freq; member
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5744 radio_range->start_freq = ieee80211_channel_to_khz(c) - 10000; in mac80211_hwsim_new_radio()