| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | reg.c | 160 KHZ_TO_MHZ(ar->freq_range.end_freq)) in ath12k_reg_update_chan_list() 197 KHZ_TO_MHZ(ar->freq_range.end_freq)) in ath12k_reg_update_chan_list() 299 ar->freq_range.end_freq = 0; in ath12k_regd_update() 308 freq_high = min(reg_cap->high_2ghz_chan, ab->reg_freq_2ghz.end_freq); in ath12k_regd_update() 320 freq_high = min(reg_cap->high_5ghz_chan, ab->reg_freq_5ghz.end_freq); in ath12k_regd_update() 327 freq_high = min(reg_cap->high_5ghz_chan, ab->reg_freq_6ghz.end_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() 528 u32 end_freq, u32 bw, u32 ant_gain, u32 reg_pwr, in ath12k_reg_update_rule() argument 532 reg_rule->freq_range.end_freq_khz = MHZ_TO_KHZ(end_freq); in ath12k_reg_update_rule() [all …]
|
| H A D | reg.h | 44 u16 end_freq; member
|
| H A D | mac.c | 882 channel->center_freq <= KHZ_TO_MHZ(ar->freq_range.end_freq)) in ath12k_mac_get_ar_by_chan() 4847 center_freq <= KHZ_TO_MHZ(ar->freq_range.end_freq)) in ath12k_mac_select_scan_device() 13590 if (ar->freq_range.start_freq || ar->freq_range.end_freq) { in ath12k_mac_update_freq_range() 13593 ar->freq_range.end_freq = max(ar->freq_range.end_freq, in ath12k_mac_update_freq_range() 13597 ar->freq_range.end_freq = MHZ_TO_KHZ(freq_high); in ath12k_mac_update_freq_range() 13603 KHZ_TO_MHZ(ar->freq_range.end_freq)); in ath12k_mac_update_freq_range() 13705 ab->reg_freq_2ghz.end_freq); in ath12k_mac_setup_channels_rates() 13726 KHZ_TO_MHZ(ar->freq_range.end_freq)); in ath12k_mac_setup_channels_rates() 13750 ab->reg_freq_6ghz.end_freq); in ath12k_mac_setup_channels_rates() 13776 KHZ_TO_MHZ(ar->freq_range.end_freq)); in ath12k_mac_setup_channels_rates() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | sar.c | 59 [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, }, 96 rtw_common_sar_freq_ranges[idx].end_freq, in rtw_set_sar_specs()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | reg.c | 500 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() 524 u32 end_freq, u32 bw, u32 ant_gain, u32 reg_pwr, in ath11k_reg_update_rule() argument 528 reg_rule->freq_range.end_freq_khz = MHZ_TO_KHZ(end_freq); in ath11k_reg_update_rule() 543 u32 end_freq; in ath11k_reg_update_weather_radar_band() local 575 end_freq = min_t(u32, reg_rule->end_freq, ETSI_WEATHER_RADAR_BAND_HIGH); in ath11k_reg_update_weather_radar_band() 577 bw = ath11k_reg_adjust_bw(start_freq, end_freq, max_bw); in ath11k_reg_update_weather_radar_band() 582 end_freq, bw, reg_rule->ant_gain, in ath11k_reg_update_weather_radar_band() 589 i + 1, start_freq, end_freq, bw, in ath11k_reg_update_weather_radar_band() [all …]
|
| H A D | hw.c | 2841 {.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 D | wmi.c | 4109 band_to_mac[i].end_freq = hal_reg_cap->high_5ghz_chan; in ath11k_fill_band_to_mac_param() 4113 band_to_mac[i].end_freq = hal_reg_cap->high_2ghz_chan; in ath11k_fill_band_to_mac_param() 4117 band_to_mac[i].end_freq = hal_reg_cap->high_5ghz_chan; in ath11k_fill_band_to_mac_param() 4295 band_to_mac->end_freq = in ath11k_init_cmd_send() 4296 param->band_to_mac[idx].end_freq; in ath11k_init_cmd_send() 5174 count + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_print_reg_rule() 5198 reg_rule_ptr[count].end_freq = in create_reg_rules_from_wmi() 5347 reg_rule_ptr[count].end_freq = in create_ext_reg_rules_from_wmi()
|
| /linux/net/mac80211/ |
| H A D | ibss.c | 1328 u32 start_freq, end_freq, freq; in ibss_setup_channels() local 1332 end_freq = center_freq; in ibss_setup_channels() 1335 end_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/include/net/ |
| H A D | cfg80211.h | 2347 u32 end_freq; member 5703 u32 end_freq; member
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 5747 radio_range->end_freq = ieee80211_channel_to_khz(c) + 10000; in mac80211_hwsim_new_radio()
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 2474 rdev->wiphy.sar_capa->freq_ranges[i].end_freq)) in nl80211_put_sar_specs() 2552 range->end_freq)) in nl80211_put_radio()
|