Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/drivers/net/wireless/ath/ath11k/
H A Dreg.c504 if (end_freq <= start_freq) in ath11k_reg_adjust_bw()
507 bw = end_freq - start_freq; in ath11k_reg_adjust_bw()
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()
589 i + 1, start_freq, end_freq, bw, in ath11k_reg_update_weather_radar_band()
740 reg_rule->start_freq, in ath11k_reg_build_regd()
763 i + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_reg_build_regd()
[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.c7673 u16 *start_freq, in ath11k_mac_get_psd_channel() argument
7690 *center_freq = *start_freq + i * step_freq; in ath11k_mac_get_psd_channel()
7696 u16 *start_freq, in ath11k_mac_get_eirp_power() argument
7716 *center_freq = ath11k_mac_get_seg_freq(def, *start_freq, i); in ath11k_mac_get_eirp_power()
7740 u16 start_freq, center_freq; in ath11k_mac_fill_reg_tpc_info() local
7763 &start_freq, in ath11k_mac_fill_reg_tpc_info()
7777 &start_freq, in ath11k_mac_fill_reg_tpc_info()
7801 &start_freq, in ath11k_mac_fill_reg_tpc_info()
7812 &start_freq, in ath11k_mac_fill_reg_tpc_info()
7830 &start_freq, in ath11k_mac_fill_reg_tpc_info()
[all …]
H A Dwmi.c4102 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4106 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
4110 band_to_mac[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath11k_fill_band_to_mac_param()
4287 band_to_mac->start_freq = in ath11k_init_cmd_send()
4288 param->band_to_mac[idx].start_freq; in ath11k_init_cmd_send()
5168 count + 1, reg_rule->start_freq, reg_rule->end_freq, in ath11k_print_reg_rule()
5189 reg_rule_ptr[count].start_freq = in create_reg_rules_from_wmi()
5338 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
5372 u32 count, start_freq; in ath11k_invalid_5ghz_reg_ext_rules_from_wmi() local
5375 start_freq = u32_get_bits(rule[count].freq_info, in ath11k_invalid_5ghz_reg_ext_rules_from_wmi()
[all …]
H A Dwmi.h2234 u32 start_freq; member
2311 u32 start_freq; member
4410 u16 start_freq; member
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Dsar.c307 { .start_freq = 2412, .end_freq = 2484, },
308 { .start_freq = 5180, .end_freq = 5320, },
309 { .start_freq = 5500, .end_freq = 5720, },
310 { .start_freq = 5745, .end_freq = 5885, },
311 { .start_freq = 5955, .end_freq = 6155, },
312 { .start_freq = 6175, .end_freq = 6415, },
313 { .start_freq = 6435, .end_freq = 6515, },
314 { .start_freq = 6535, .end_freq = 6695, },
315 { .start_freq = 6715, .end_freq = 6875, },
316 { .start_freq = 6875, .end_freq = 7115, },
[all …]
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dreg.c507 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 Dreg.h41 u16 start_freq; member
H A Dwmi.c3650 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3654 arg[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath12k_fill_band_to_mac_param()
3658 arg[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath12k_fill_band_to_mac_param()
3831 band_to_mac->start_freq = in ath12k_init_cmd_send()
3832 cpu_to_le32(arg->band_to_mac[idx].start_freq); in ath12k_init_cmd_send()
4887 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()
4920 u32 count, start_freq; in ath12k_wmi_ignore_num_extra_rules() local
4923 start_freq = le32_get_bits(rule[count].freq_info, REG_RULE_START_FREQ); in ath12k_wmi_ignore_num_extra_rules()
4925 if (start_freq >= ATH12K_MIN_6G_FREQ) in ath12k_wmi_ignore_num_extra_rules()
H A Dwmi.h2292 u32 start_freq; member
2426 __le32 start_freq; member
H A Dmac.c806 if (channel->center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_get_ar_by_chan()
10634 ar->freq_range.start_freq = MHZ_TO_KHZ(freq_low); in ath12k_mac_update_ch_list()
/linux-6.15/net/wireless/
H A Dchan.c61 u32 start_freq, center_freq, bandwidth; in cfg80211_get_start_freq() local
68 start_freq = center_freq; in cfg80211_get_start_freq()
70 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
72 return start_freq; in cfg80211_get_start_freq()
136 u32 idx, i, start_freq, primary_center = chandef->chan->center_freq; in valid_puncturing_bitmap() local
141 start_freq = chandef->center_freq1 - 40; in valid_puncturing_bitmap()
145 start_freq = chandef->center_freq1 - 80; in valid_puncturing_bitmap()
149 start_freq = chandef->center_freq1 - 160; in valid_puncturing_bitmap()
159 if (chandef->punctured & (u16)BIT((primary_center - start_freq) / 20)) in valid_puncturing_bitmap()
H A Dreg.c1168 u32 start_freq, end_freq, idx, no; in reg_get_max_bandwidth_from_range() local
1190 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1208 return end_freq - start_freq; in reg_get_max_bandwidth_from_range()
H A Dutil.c2897 if (freq - width / 2 >= r->start_freq && in ieee80211_radio_freq_range_valid()
H A Dnl80211.c2395 rdev->wiphy.sar_capa->freq_ranges[i].start_freq)) in nl80211_put_sar_specs()
2469 range->start_freq) || in nl80211_put_radio()
/linux-6.15/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c177 { .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 Dmt792x_acpi_sar.c311 if (range->start_freq >= 5945) in mt792x_asar_range_pwr()
313 else if (range->start_freq >= 5150) in mt792x_asar_range_pwr()
/linux-6.15/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-6.15/net/mac80211/
H A Dibss.c1336 u32 start_freq, end_freq, freq; in ibss_setup_channels() local
1339 start_freq = center_freq; in ibss_setup_channels()
1342 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels()
1346 for (freq = start_freq; freq <= end_freq; freq += 20) { in ibss_setup_channels()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c390 freq->start_freq = 2400000; in mt7996_init_wiphy_band()
406 freq->start_freq = 5000000; in mt7996_init_wiphy_band()
409 freq->start_freq = 5900000; in mt7996_init_wiphy_band()
/linux-6.15/include/net/
H A Dcfg80211.h2229 u32 start_freq; member
5481 u32 start_freq; member
/linux-6.15/drivers/net/wireless/ath/ath10k/
H A Dmac.c87 {.start_freq = 2402, .end_freq = 2494 },
88 {.start_freq = 5170, .end_freq = 5875 },
/linux-6.15/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5494 radio_range->start_freq = ieee80211_channel_to_khz(c) - 10000; in mac80211_hwsim_new_radio()