Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c25 { .band = NL80211_BAND_2GHZ, .center_freq = 2412,
27 { .band = NL80211_BAND_2GHZ, .center_freq = 2417,
29 { .band = NL80211_BAND_2GHZ, .center_freq = 2422,
31 { .band = NL80211_BAND_2GHZ, .center_freq = 2427,
33 { .band = NL80211_BAND_2GHZ, .center_freq = 2432,
35 { .band = NL80211_BAND_2GHZ, .center_freq = 2437,
37 { .band = NL80211_BAND_2GHZ, .center_freq = 2442,
39 { .band = NL80211_BAND_2GHZ, .center_freq = 2447,
41 { .band = NL80211_BAND_2GHZ, .center_freq = 2452,
43 { .band = NL80211_BAND_2GHZ, .center_freq = 2457,
[all …]
/linux/net/wireless/
H A Dchan.c40 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
44 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
48 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
52 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
63 u32 start_freq, center_freq, bandwidth; in cfg80211_get_start_freq()
65 center_freq = MHZ_TO_KHZ((cf == 1) ? in cfg80211_get_start_freq()
70 start_freq = center_freq; in cfg80211_get_start_freq()
72 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
80 u32 end_freq, center_freq, bandwidth; in cfg80211_get_end_freq()
82 center_freq in cfg80211_get_end_freq()
61 u32 start_freq, center_freq, bandwidth; cfg80211_get_start_freq() local
78 u32 end_freq, center_freq, bandwidth; cfg80211_get_end_freq() local
[all...]
H A Dof.c22 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan()
56 chan->center_freq); in wiphy_freq_limits_apply()
H A Dreg.c1601 freq_reg_info_regd(u32 center_freq, in map_regdom_flags()
1620 * in center_freq's band, that's enough, so let's in freq_reg_info_regd()
1624 band_rule_found = freq_in_rule_band(fr, center_freq); in freq_reg_info_regd()
1626 bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw); in freq_reg_info_regd()
1639 __freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 min_bw) in freq_reg_info_regd()
1648 reg_rule = freq_reg_info_regd(center_freq, regd, bw);
1657 u32 center_freq) in __freq_reg_info()
1659 u32 min_bw = center_freq < MHZ_TO_KHZ(1000) ? 1 : 20; in __freq_reg_info()
1661 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(min_bw)); in __freq_reg_info()
2003 chan->center_freq, cha in handle_channel()
1612 freq_reg_info_regd(u32 center_freq,const struct ieee80211_regdomain * regd,u32 bw) freq_reg_info_regd() argument
1650 __freq_reg_info(struct wiphy * wiphy,u32 center_freq,u32 min_bw) __freq_reg_info() argument
1668 freq_reg_info(struct wiphy * wiphy,u32 center_freq) freq_reg_info() argument
[all...]
/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dmain.c27 { .center_freq = 2412, .hw_value = 1 },
28 { .center_freq = 2417, .hw_value = 2 },
29 { .center_freq = 2422, .hw_value = 3 },
30 { .center_freq = 2427, .hw_value = 4 },
31 { .center_freq = 2432, .hw_value = 5 },
32 { .center_freq = 2437, .hw_value = 6 },
33 { .center_freq = 2442, .hw_value = 7 },
34 { .center_freq = 2447, .hw_value = 8 },
35 { .center_freq = 2452, .hw_value = 9 },
36 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux/drivers/net/wireless/ath/
H A Dregd.c257 static bool ath_is_radar_freq(u16 center_freq, in ath_is_radar_freq() argument
262 return (center_freq >= 5500 && center_freq <= 5700); in ath_is_radar_freq()
263 return (center_freq >= 5260 && center_freq <= 5700); in ath_is_radar_freq()
271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan()
280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_clear_no_ir_freq() argument
284 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_clear_no_ir_freq()
296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_no_ir_freq() argument
300 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_no_ir_freq()
313 if (ath_is_radar_freq(ch->center_freq, reg) || in __ath_reg_apply_beaconing_flags()
418 if (!ath_is_radar_freq(ch->center_freq, reg)) in ath_reg_apply_radar_flags()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c126 static bool _rtl_is_radar_freq(u16 center_freq) in _rtl_is_radar_freq() argument
128 return center_freq >= 5260 && center_freq <= 5700; in _rtl_is_radar_freq()
149 if (_rtl_is_radar_freq(ch->center_freq) || in _rtl_reg_apply_beaconing_flags()
154 ch->center_freq); in _rtl_reg_apply_beaconing_flags()
216 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
224 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
249 if (!_rtl_is_radar_freq(ch->center_freq)) in _rtl_reg_apply_radar_flags()
/linux/net/mac80211/
H A Dwbrf.c29 static void get_chan_freq_boundary(u32 center_freq, u32 bandwidth, u64 *start, u64 *end) in get_chan_freq_boundary() argument
32 center_freq *= KHZ_PER_MHZ; in get_chan_freq_boundary()
34 *start = center_freq - bandwidth / 2; in get_chan_freq_boundary()
35 *end = center_freq + bandwidth / 2; in get_chan_freq_boundary()
/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.c63 { .center_freq = 2412, .hw_value = 1 },
64 { .center_freq = 2417, .hw_value = 2 },
65 { .center_freq = 2422, .hw_value = 3 },
66 { .center_freq = 2427, .hw_value = 4 },
67 { .center_freq = 2432, .hw_value = 5 },
68 { .center_freq = 2437, .hw_value = 6 },
69 { .center_freq = 2442, .hw_value = 7 },
70 { .center_freq = 2447, .hw_value = 8 },
71 { .center_freq = 2452, .hw_value = 9 },
72 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dsar.c23 u32 center_freq) in rtw89_sar_get_subband() argument
25 switch (center_freq) { in rtw89_sar_get_subband()
29 center_freq); in rtw89_sar_get_subband()
66 u32 center_freq = sar_parm->center_freq; in rtw89_query_sar_config_common() local
69 span = rtw89_get_6ghz_span(rtwdev, center_freq); in rtw89_query_sar_config_common()
75 subband_l = rtw89_sar_get_subband(rtwdev, center_freq); in rtw89_query_sar_config_common()
81 center_freq, subband_l, subband_h); in rtw89_query_sar_config_common()
128 u32 center_freq = sar_parm->center_freq; in rtw89_query_sar_config_acpi() local
134 span = rtw89_get_6ghz_span(rtwdev, center_freq); in rtw89_query_sar_config_acpi()
140 subband_l = rtw89_acpi_sar_get_subband(rtwdev, center_freq); in rtw89_query_sar_config_acpi()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dregd.c105 if (IS_UNII_INVALID(0, 5845, 5925, ch->center_freq)) in mt7925_regd_channel_update()
120 if (IS_UNII_INVALID(1, 5925, 6425, ch->center_freq) || in mt7925_regd_channel_update()
121 IS_UNII_INVALID(2, 6425, 6525, ch->center_freq) || in mt7925_regd_channel_update()
122 IS_UNII_INVALID(3, 6525, 6875, ch->center_freq) || in mt7925_regd_channel_update()
123 IS_UNII_INVALID(4, 6875, 7125, ch->center_freq)) in mt7925_regd_channel_update()
/linux/net/wireless/tests/
H A Dchan.c14 .center_freq = 5955,
19 .center_freq = 5975,
24 .center_freq = 6475,
/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c139 u16 freq = channel->center_freq; in ath5k_channel_ok()
173 if ((channel->center_freq % refclk_freq != 0) && in ath5k_hw_chan_has_spur_noise()
174 ((channel->center_freq % refclk_freq < 10) || in ath5k_hw_chan_has_spur_noise()
175 (channel->center_freq % refclk_freq > 22))) in ath5k_hw_chan_has_spur_noise()
314 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq; in ath5k_hw_write_ofdm_timings()
950 obdb = channel->center_freq >= 5725 ? 3 : in ath5k_hw_rfregs_init()
951 (channel->center_freq >= 5500 ? 2 : in ath5k_hw_rfregs_init()
952 (channel->center_freq >= 5260 ? 1 : in ath5k_hw_rfregs_init()
953 (channel->center_freq > 4000 ? 0 : -1))); in ath5k_hw_rfregs_init()
1186 channel->center_freq) - 24) / 2, 5) in ath5k_hw_rf5110_chan2athchan()
[all …]
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c109 { .center_freq = 2412, .hw_value = 1 },
110 { .center_freq = 2417, .hw_value = 2 },
111 { .center_freq = 2422, .hw_value = 3 },
112 { .center_freq = 2427, .hw_value = 4 },
113 { .center_freq = 2432, .hw_value = 5 },
114 { .center_freq = 2437, .hw_value = 6 },
115 { .center_freq = 2442, .hw_value = 7 },
116 { .center_freq = 2447, .hw_value = 8 },
117 { .center_freq = 2452, .hw_value = 9 },
118 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c1666 {.center_freq = 2412, .hw_value = 1, },
1667 {.center_freq = 2417, .hw_value = 2, },
1668 {.center_freq = 2422, .hw_value = 3, },
1669 {.center_freq = 2427, .hw_value = 4, },
1670 {.center_freq = 2432, .hw_value = 5, },
1671 {.center_freq = 2437, .hw_value = 6, },
1672 {.center_freq = 2442, .hw_value = 7, },
1673 {.center_freq = 2447, .hw_value = 8, },
1674 {.center_freq = 2452, .hw_value = 9, },
1675 {.center_freq = 2457, .hw_value = 10, },
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dmain.c599 conf->chandef.chan->center_freq); in wl1251_op_config()
1270 { .hw_value = 1, .center_freq = 2412},
1271 { .hw_value = 2, .center_freq = 2417},
1272 { .hw_value = 3, .center_freq = 2422},
1273 { .hw_value = 4, .center_freq = 2427},
1274 { .hw_value = 5, .center_freq = 2432},
1275 { .hw_value = 6, .center_freq = 2437},
1276 { .hw_value = 7, .center_freq = 2442},
1277 { .hw_value = 8, .center_freq = 2447},
1278 { .hw_value = 9, .center_freq = 2452},
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c4714 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_add_chanctx()
4723 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_remove_chanctx()
4735 ctx->def.chan->center_freq); in wlcore_op_change_chanctx()
4781 ctx->def.chan->center_freq); in wlcore_op_assign_vif_chanctx()
4835 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_unassign_vif_chanctx()
4868 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
5647 channel = ieee80211_frequency_to_channel(chan->center_freq); in wlcore_op_remain_on_channel()
5895 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5896 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5897 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
[all …]
/linux/net/mac80211/tests/
H A Dtpe.c14 .center_freq = 5955,
19 .center_freq = 6115,
24 .center_freq = 6255,
/linux/drivers/net/wireless/admtek/
H A Dadm8211.c57 { .center_freq = 2412},
58 { .center_freq = 2417},
59 { .center_freq = 2422},
60 { .center_freq = 2427},
61 { .center_freq = 2432},
62 { .center_freq = 2437},
63 { .center_freq = 2442},
64 { .center_freq = 2447},
65 { .center_freq = 2452},
66 { .center_freq = 2457},
[all …]
/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523.c470 reset.freq = cpu_to_be32(conf->chandef.chan->center_freq); in ar5523_set_chan()
477 conf->chandef.chan->center_freq); in ar5523_set_chan()
1462 { .center_freq = 2412 },
1463 { .center_freq = 2417 },
1464 { .center_freq = 2422 },
1465 { .center_freq = 2427 },
1466 { .center_freq = 2432 },
1467 { .center_freq = 2437 },
1468 { .center_freq = 2442 },
1469 { .center_freq = 2447 },
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink_util.c121 chan = ieee80211_get_channel(wiphy, le16_to_cpu(qch->chan.center_freq)); in qlink_chandef_q2cfg()
137 qch->chan.center_freq = cpu_to_le16(chan->center_freq); in qlink_chandef_cfg2q()
/linux/drivers/net/wireless/ath/carl9170/
H A Dphy.c1043 freq = channel->center_freq; in carl9170_get_hw_dyn_params()
1129 f = channel->center_freq - 2300; in carl9170_set_freq_cal_data()
1135 f = (channel->center_freq - 4800) / 5; in carl9170_set_freq_cal_data()
1625 channel->center_freq, bw); in carl9170_set_channel()
1662 carl9170_set_power_cal(ar, channel->center_freq, bw); in carl9170_set_channel()
1674 rf.freq = cpu_to_le32(channel->center_freq * 1000); in carl9170_set_channel()
1692 old_channel->center_freq : -1, channel->center_freq, in carl9170_set_channel()
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Ddev.c105 { .center_freq = 2412 },
106 { .center_freq = 2417 },
107 { .center_freq = 2422 },
108 { .center_freq = 2427 },
109 { .center_freq = 2432 },
110 { .center_freq = 2437 },
111 { .center_freq = 2442 },
112 { .center_freq = 2447 },
113 { .center_freq = 2452 },
114 { .center_freq = 2457 },
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.c16 u32 center_freq = ppdu_info->freq; in ath12k_dp_mon_fill_rx_stats_info() local
18 rx_status->freq = center_freq; in ath12k_dp_mon_fill_rx_stats_info()
25 if (center_freq >= ATH12K_MIN_6GHZ_FREQ && in ath12k_dp_mon_fill_rx_stats_info()
26 center_freq <= ATH12K_MAX_6GHZ_FREQ) { in ath12k_dp_mon_fill_rx_stats_info()
28 } else if (center_freq >= ATH12K_MIN_2GHZ_FREQ && in ath12k_dp_mon_fill_rx_stats_info()
29 center_freq <= ATH12K_MAX_2GHZ_FREQ) { in ath12k_dp_mon_fill_rx_stats_info()
31 } else if (center_freq >= ATH12K_MIN_5GHZ_FREQ && in ath12k_dp_mon_fill_rx_stats_info()
32 center_freq <= ATH12K_MAX_5GHZ_FREQ) { in ath12k_dp_mon_fill_rx_stats_info()
245 ieee80211_frequency_to_channel(channel->center_freq); in ath12k_dp_mon_rx_merg_msdus()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c626 static bool brcms_is_radar_freq(u16 center_freq) in brcms_is_radar_freq() argument
628 return center_freq >= 5260 && center_freq <= 5700; in brcms_is_radar_freq()
644 if (!brcms_is_radar_freq(ch->center_freq)) in brcms_reg_apply_radar_flags()
680 MHZ_TO_KHZ(ch->center_freq)); in brcms_reg_apply_beaconing_flags()

1234567