Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/drivers/staging/vt6656/
Dchannel.c42 { .center_freq = 2412, .hw_value = 1 },
43 { .center_freq = 2417, .hw_value = 2 },
44 { .center_freq = 2422, .hw_value = 3 },
45 { .center_freq = 2427, .hw_value = 4 },
46 { .center_freq = 2432, .hw_value = 5 },
47 { .center_freq = 2437, .hw_value = 6 },
48 { .center_freq = 2442, .hw_value = 7 },
49 { .center_freq = 2447, .hw_value = 8 },
50 { .center_freq = 2452, .hw_value = 9 },
51 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux-6.12.1/drivers/staging/vt6655/
Dchannel.c29 { .center_freq = 2412, .hw_value = 1 },
30 { .center_freq = 2417, .hw_value = 2 },
31 { .center_freq = 2422, .hw_value = 3 },
32 { .center_freq = 2427, .hw_value = 4 },
33 { .center_freq = 2432, .hw_value = 5 },
34 { .center_freq = 2437, .hw_value = 6 },
35 { .center_freq = 2442, .hw_value = 7 },
36 { .center_freq = 2447, .hw_value = 8 },
37 { .center_freq = 2452, .hw_value = 9 },
38 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux-6.12.1/net/wireless/
Dchan.c38 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
42 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
46 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
50 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
91 u32 idx, i, start_freq, primary_center = chandef->chan->center_freq; in valid_puncturing_bitmap()
135 if (!cfg80211_valid_60g_freq(chandef->chan->center_freq)) in cfg80211_edmg_chandef_valid()
308 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
434 u32 control = c->chan->center_freq; in cfg80211_chandef_primary()
585 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
592 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
[all …]
Dof.c33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan()
67 chan->center_freq); in wiphy_freq_limits_apply()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dsar.c16 u32 center_freq) in rtw89_sar_get_subband() argument
18 switch (center_freq) { in rtw89_sar_get_subband()
22 center_freq); in rtw89_sar_get_subband()
61 #define RTW89_SAR_6GHZ_SPAN_IDX(center_freq) \ argument
62 ((((int)(center_freq) - RTW89_SAR_6GHZ_SPAN_HEAD) / 5) / 2)
64 #define RTW89_DECL_SAR_6GHZ_SPAN(center_freq, subband_l, subband_h) \ argument
65 [RTW89_SAR_6GHZ_SPAN_IDX(center_freq)] = { \
89 u32 center_freq, s32 *cfg) in rtw89_query_sar_config_common() argument
96 if (center_freq >= RTW89_SAR_6GHZ_SPAN_HEAD) { in rtw89_query_sar_config_common()
97 idx = RTW89_SAR_6GHZ_SPAN_IDX(center_freq); in rtw89_query_sar_config_common()
[all …]
Dsar.h16 int (*query_sar_config)(struct rtw89_dev *rtwdev, u32 center_freq, s32 *cfg);
21 s8 rtw89_query_sar(struct rtw89_dev *rtwdev, u32 center_freq);
22 void rtw89_print_sar(struct seq_file *m, struct rtw89_dev *rtwdev, u32 center_freq);
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dmain.c46 {.center_freq = 2412, .hw_value = 1,},
47 {.center_freq = 2417, .hw_value = 2,},
48 {.center_freq = 2422, .hw_value = 3,},
49 {.center_freq = 2427, .hw_value = 4,},
50 {.center_freq = 2432, .hw_value = 5,},
51 {.center_freq = 2437, .hw_value = 6,},
52 {.center_freq = 2442, .hw_value = 7,},
53 {.center_freq = 2447, .hw_value = 8,},
54 {.center_freq = 2452, .hw_value = 9,},
55 {.center_freq = 2457, .hw_value = 10,},
[all …]
/linux-6.12.1/drivers/net/wireless/rsi/
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-6.12.1/drivers/net/wireless/marvell/libertas_tf/
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-6.12.1/drivers/net/wireless/ath/
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-6.12.1/drivers/net/wireless/realtek/rtlwifi/
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()
Dbase.c42 {.center_freq = 2412, .hw_value = 1,},
43 {.center_freq = 2417, .hw_value = 2,},
44 {.center_freq = 2422, .hw_value = 3,},
45 {.center_freq = 2427, .hw_value = 4,},
46 {.center_freq = 2432, .hw_value = 5,},
47 {.center_freq = 2437, .hw_value = 6,},
48 {.center_freq = 2442, .hw_value = 7,},
49 {.center_freq = 2447, .hw_value = 8,},
50 {.center_freq = 2452, .hw_value = 9,},
51 {.center_freq = 2457, .hw_value = 10,},
[all …]
/linux-6.12.1/net/mac80211/
Dwbrf.c28 static void get_chan_freq_boundary(u32 center_freq, u32 bandwidth, u64 *start, u64 *end) in get_chan_freq_boundary() argument
31 center_freq *= KHZ_PER_MHZ; in get_chan_freq_boundary()
33 *start = center_freq - bandwidth / 2; in get_chan_freq_boundary()
34 *end = center_freq + bandwidth / 2; in get_chan_freq_boundary()
/linux-6.12.1/drivers/net/wireless/purelifi/plfxlc/
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-6.12.1/net/wireless/tests/
Dchan.c14 .center_freq = 5955,
19 .center_freq = 5975,
24 .center_freq = 6475,
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
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-6.12.1/drivers/net/wireless/zydas/zd1211rw/
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-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c1664 {.center_freq = 2412, .hw_value = 1, },
1665 {.center_freq = 2417, .hw_value = 2, },
1666 {.center_freq = 2422, .hw_value = 3, },
1667 {.center_freq = 2427, .hw_value = 4, },
1668 {.center_freq = 2432, .hw_value = 5, },
1669 {.center_freq = 2437, .hw_value = 6, },
1670 {.center_freq = 2442, .hw_value = 7, },
1671 {.center_freq = 2447, .hw_value = 8, },
1672 {.center_freq = 2452, .hw_value = 9, },
1673 {.center_freq = 2457, .hw_value = 10, },
[all …]
/linux-6.12.1/drivers/net/wireless/ti/wl1251/
Dmain.c599 conf->chandef.chan->center_freq); in wl1251_op_config()
1269 { .hw_value = 1, .center_freq = 2412},
1270 { .hw_value = 2, .center_freq = 2417},
1271 { .hw_value = 3, .center_freq = 2422},
1272 { .hw_value = 4, .center_freq = 2427},
1273 { .hw_value = 5, .center_freq = 2432},
1274 { .hw_value = 6, .center_freq = 2437},
1275 { .hw_value = 7, .center_freq = 2442},
1276 { .hw_value = 8, .center_freq = 2447},
1277 { .hw_value = 9, .center_freq = 2452},
[all …]
/linux-6.12.1/drivers/net/wireless/ti/wlcore/
Dmain.c4725 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_add_chanctx()
4734 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_remove_chanctx()
4746 ctx->def.chan->center_freq); in wlcore_op_change_chanctx()
4793 ctx->def.chan->center_freq); in wlcore_op_assign_vif_chanctx()
4848 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_unassign_vif_chanctx()
4882 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
5669 channel = ieee80211_frequency_to_channel(chan->center_freq); in wlcore_op_remain_on_channel()
5919 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5920 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5921 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
[all …]
/linux-6.12.1/net/mac80211/tests/
Dtpe.c14 .center_freq = 5955,
19 .center_freq = 6115,
24 .center_freq = 6255,
/linux-6.12.1/drivers/net/wireless/ath/ar5523/
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()
1461 { .center_freq = 2412 },
1462 { .center_freq = 2417 },
1463 { .center_freq = 2422 },
1464 { .center_freq = 2427 },
1465 { .center_freq = 2432 },
1466 { .center_freq = 2437 },
1467 { .center_freq = 2442 },
1468 { .center_freq = 2447 },
[all …]
/linux-6.12.1/drivers/net/wireless/admtek/
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-6.12.1/drivers/net/wireless/quantenna/qtnfmac/
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-6.12.1/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c100 { .center_freq = 2412 },
101 { .center_freq = 2417 },
102 { .center_freq = 2422 },
103 { .center_freq = 2427 },
104 { .center_freq = 2432 },
105 { .center_freq = 2437 },
106 { .center_freq = 2442 },
107 { .center_freq = 2447 },
108 { .center_freq = 2452 },
109 { .center_freq = 2457 },
[all …]

12345678