/linux/net/wireless/ |
H A D | chan.c | 91 u32 idx, i, start_freq, primary_center = chandef->chan->center_freq; in valid_puncturing_bitmap() local 96 start_freq = chandef->center_freq1 - 40; in valid_puncturing_bitmap() 100 start_freq = chandef->center_freq1 - 80; in valid_puncturing_bitmap() 104 start_freq = chandef->center_freq1 - 160; in valid_puncturing_bitmap() 114 if (chandef->punctured & (u16)BIT((primary_center - start_freq) / 20)) in valid_puncturing_bitmap() 629 u32 start_freq; in cfg80211_get_start_freq() local 633 start_freq = center_freq; in cfg80211_get_start_freq() 635 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq() 637 return start_freq; in cfg80211_get_start_freq() 733 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_required() local [all …]
|
H A D | reg.c | 1167 u32 start_freq, end_freq, idx, no; in reg_get_max_bandwidth_from_range() local 1189 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range() 1207 return end_freq - start_freq; in reg_get_max_bandwidth_from_range()
|
H A D | util.c | 2901 if (freq - width / 2 >= r->start_freq && in ieee80211_radio_freq_range_valid()
|
H A D | nl80211.c | 2372 rdev->wiphy.sar_capa->freq_ranges[i].start_freq)) in nl80211_put_sar_specs() 2441 range->start_freq) || in nl80211_put_radio()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | sar.c | 295 { .start_freq = 2412, .end_freq = 2484, }, 296 { .start_freq = 5180, .end_freq = 5320, }, 297 { .start_freq = 5500, .end_freq = 5720, }, 298 { .start_freq = 5745, .end_freq = 5825, }, 299 { .start_freq = 5955, .end_freq = 6155, }, 300 { .start_freq = 6175, .end_freq = 6415, }, 301 { .start_freq = 6435, .end_freq = 6515, }, 302 { .start_freq = 6535, .end_freq = 6695, }, 303 { .start_freq = 6715, .end_freq = 6875, }, 304 { .start_freq = 6875, .end_freq = 7115, }, [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, }, 95 rtw_common_sar_freq_ranges[idx].start_freq, in rtw_set_sar_specs()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | reg.c | 508 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument 512 if (end_freq <= start_freq) in ath11k_reg_adjust_bw() 515 bw = end_freq - start_freq; in ath11k_reg_adjust_bw() 531 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument 535 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule() 550 u32 start_freq; in ath11k_reg_update_weather_radar_band() local 561 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band() 567 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band() 574 i + 1, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band() 581 start_freq = max_t(u32, reg_rule->start_freq, 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 | mac.c | 7620 u16 *start_freq, in ath11k_mac_get_psd_channel() argument 7637 *center_freq = *start_freq + i * step_freq; in ath11k_mac_get_psd_channel() 7643 u16 *start_freq, in ath11k_mac_get_eirp_power() argument 7663 *center_freq = ath11k_mac_get_seg_freq(def, *start_freq, i); in ath11k_mac_get_eirp_power() 7687 u16 start_freq, center_freq; in ath11k_mac_fill_reg_tpc_info() local 7690 start_freq = ath11k_mac_get_6ghz_start_frequency(&ctx->def); in ath11k_mac_fill_reg_tpc_info() 7710 &start_freq, in ath11k_mac_fill_reg_tpc_info() 7724 &start_freq, in ath11k_mac_fill_reg_tpc_info() 7748 &start_freq, in ath11k_mac_fill_reg_tpc_info() 7759 &start_freq, in ath11k_mac_fill_reg_tpc_info() [all …]
|
H A D | wmi.c | 4101 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param() 4105 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param() 4109 band_to_mac[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath11k_fill_band_to_mac_param() 4286 band_to_mac->start_freq = in ath11k_init_cmd_send() 4287 param->band_to_mac[idx].start_freq; in ath11k_init_cmd_send() 5167 count + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_print_reg_rule() 5188 reg_rule_ptr[count].start_freq = in create_reg_rules_from_wmi() 5337 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi() 5371 u32 count, start_freq; in ath11k_invalid_5ghz_reg_ext_rules_from_wmi() local 5374 start_freq = u32_get_bits(rule[count].freq_info, in ath11k_invalid_5ghz_reg_ext_rules_from_wmi() [all …]
|
H A D | wmi.h | 2234 u32 start_freq; member 2311 u32 start_freq; member 4409 u16 start_freq; member
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 507 ath12k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath12k_reg_adjust_bw() argument 511 bw = end_freq - start_freq; in ath12k_reg_adjust_bw() 525 ath12k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath12k_reg_update_rule() argument 529 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath12k_reg_update_rule() 549 bw = ath12k_reg_adjust_bw(reg_rule->start_freq, in ath12k_reg_update_weather_radar_band() 552 ath12k_reg_update_rule(regd->reg_rules + i, reg_rule->start_freq, in ath12k_reg_update_weather_radar_band() 559 i + 1, reg_rule->start_freq, ETSI_WEATHER_RADAR_BAND_LOW, in ath12k_reg_update_weather_radar_band() 695 reg_rule->start_freq, in ath12k_reg_build_regd() 708 reg_rule->start_freq < ETSI_WEATHER_RADAR_BAND_HIGH)){ in ath12k_reg_build_regd() 717 i + 1, reg_rule->start_freq, reg_rule->end_freq, in ath12k_reg_build_regd() [all …]
|
H A D | reg.h | 38 u16 start_freq; member
|
H A D | wmi.c | 3421 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param() 3425 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param() 3429 arg[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath12k_fill_band_to_mac_param() 3602 band_to_mac->start_freq = in ath12k_init_cmd_send() 3603 cpu_to_le32(arg->band_to_mac[idx].start_freq); in ath12k_init_cmd_send() 4655 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
|
H A D | wmi.h | 2250 u32 start_freq; member 2384 __le32 start_freq; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 177 { .start_freq = 2402, .end_freq = 2494, }, 178 { .start_freq = 5150, .end_freq = 5350, }, 179 { .start_freq = 5350, .end_freq = 5470, }, 180 { .start_freq = 5470, .end_freq = 5725, }, 181 { .start_freq = 5725, .end_freq = 5950, }, 182 { .start_freq = 5945, .end_freq = 6165, }, 183 { .start_freq = 6165, .end_freq = 6405, }, 184 { .start_freq = 6405, .end_freq = 6525, }, 185 { .start_freq = 6525, .end_freq = 6705, }, 186 { .start_freq = 6705, .end_freq = 6865, }, [all …]
|
H A D | mt792x_acpi_sar.c | 280 if (range->start_freq >= 5945) in mt792x_asar_range_pwr() 282 else if (range->start_freq >= 5150) in mt792x_asar_range_pwr()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11h.c | 144 cr_req->chan_desc.start_freq = cpu_to_le16(MWIFIEX_A_BAND_START_FREQ); in mwifiex_cmd_issue_chan_report_request()
|
H A D | fw.h | 1482 __le16 start_freq; member
|
/linux/net/mac80211/ |
H A D | ibss.c | 1334 u32 start_freq, end_freq, freq; in ibss_setup_channels() local 1337 start_freq = center_freq; in ibss_setup_channels() 1340 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels() 1344 for (freq = start_freq; freq <= end_freq; freq += 20) { in ibss_setup_channels()
|
/linux/include/net/ |
H A D | cfg80211.h | 2218 u32 start_freq; member 5422 u32 start_freq; member
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 87 {.start_freq = 2402, .end_freq = 2494 }, 88 {.start_freq = 5170, .end_freq = 5875 },
|
/linux/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 5452 radio_range->start_freq = ieee80211_channel_to_khz(c) - 10000; in mac80211_hwsim_new_radio()
|