Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/drivers/staging/vt6656/
Dchannel.c55 { .center_freq = 2412, .hw_value = 1 },
56 { .center_freq = 2417, .hw_value = 2 },
57 { .center_freq = 2422, .hw_value = 3 },
58 { .center_freq = 2427, .hw_value = 4 },
59 { .center_freq = 2432, .hw_value = 5 },
60 { .center_freq = 2437, .hw_value = 6 },
61 { .center_freq = 2442, .hw_value = 7 },
62 { .center_freq = 2447, .hw_value = 8 },
63 { .center_freq = 2452, .hw_value = 9 },
64 { .center_freq = 2457, .hw_value = 10 },
[all …]
/Linux-v5.4/drivers/staging/vt6655/
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-v5.4/net/wireless/
Dchan.c37 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
41 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
45 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
49 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
67 if (!cfg80211_valid_60g_freq(chandef->chan->center_freq)) in cfg80211_edmg_chandef_valid()
149 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
234 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
242 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
343 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
350 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
[all …]
Dreg.c1576 freq_reg_info_regd(u32 center_freq, in freq_reg_info_regd() argument
1599 band_rule_found = freq_in_rule_band(fr, center_freq); in freq_reg_info_regd()
1601 bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw); in freq_reg_info_regd()
1614 __freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 min_bw) in __freq_reg_info() argument
1621 reg_rule = freq_reg_info_regd(center_freq, regd, bw); in __freq_reg_info()
1630 u32 center_freq) in freq_reg_info() argument
1632 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info()
1670 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1674 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1711 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in handle_channel()
[all …]
Dof.c33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan()
67 chan->center_freq); in wiphy_freq_limits_apply()
Ddebugfs.c50 chan->center_freq); in ht_print_chan()
55 chan->center_freq, in ht_print_chan()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmain.c28 {.center_freq = 2412, .hw_value = 1,},
29 {.center_freq = 2417, .hw_value = 2,},
30 {.center_freq = 2422, .hw_value = 3,},
31 {.center_freq = 2427, .hw_value = 4,},
32 {.center_freq = 2432, .hw_value = 5,},
33 {.center_freq = 2437, .hw_value = 6,},
34 {.center_freq = 2442, .hw_value = 7,},
35 {.center_freq = 2447, .hw_value = 8,},
36 {.center_freq = 2452, .hw_value = 9,},
37 {.center_freq = 2457, .hw_value = 10,},
[all …]
/Linux-v5.4/drivers/staging/wlan-ng/
Dcfg80211.c8 { .center_freq = 2412 },
9 { .center_freq = 2417 },
10 { .center_freq = 2422 },
11 { .center_freq = 2427 },
12 { .center_freq = 2432 },
13 { .center_freq = 2437 },
14 { .center_freq = 2442 },
15 { .center_freq = 2447 },
16 { .center_freq = 2452 },
17 { .center_freq = 2457 },
[all …]
/Linux-v5.4/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-v5.4/drivers/net/wireless/marvell/libertas_tf/
Dmain.c28 { .center_freq = 2412, .hw_value = 1 },
29 { .center_freq = 2417, .hw_value = 2 },
30 { .center_freq = 2422, .hw_value = 3 },
31 { .center_freq = 2427, .hw_value = 4 },
32 { .center_freq = 2432, .hw_value = 5 },
33 { .center_freq = 2437, .hw_value = 6 },
34 { .center_freq = 2442, .hw_value = 7 },
35 { .center_freq = 2447, .hw_value = 8 },
36 { .center_freq = 2452, .hw_value = 9 },
37 { .center_freq = 2457, .hw_value = 10 },
[all …]
/Linux-v5.4/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()
417 if (!ath_is_radar_freq(ch->center_freq, reg)) in ath_reg_apply_radar_flags()
/Linux-v5.4/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-v5.4/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c1589 {.center_freq = 2412, .hw_value = 1, },
1590 {.center_freq = 2417, .hw_value = 2, },
1591 {.center_freq = 2422, .hw_value = 3, },
1592 {.center_freq = 2427, .hw_value = 4, },
1593 {.center_freq = 2432, .hw_value = 5, },
1594 {.center_freq = 2437, .hw_value = 6, },
1595 {.center_freq = 2442, .hw_value = 7, },
1596 {.center_freq = 2447, .hw_value = 8, },
1597 {.center_freq = 2452, .hw_value = 9, },
1598 {.center_freq = 2457, .hw_value = 10, },
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ath5k/
Dphy.c138 u16 freq = channel->center_freq; in ath5k_channel_ok()
172 if ((channel->center_freq % refclk_freq != 0) && in ath5k_hw_chan_has_spur_noise()
173 ((channel->center_freq % refclk_freq < 10) || in ath5k_hw_chan_has_spur_noise()
174 (channel->center_freq % refclk_freq > 22))) in ath5k_hw_chan_has_spur_noise()
313 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq; in ath5k_hw_write_ofdm_timings()
949 obdb = channel->center_freq >= 5725 ? 3 : in ath5k_hw_rfregs_init()
950 (channel->center_freq >= 5500 ? 2 : in ath5k_hw_rfregs_init()
951 (channel->center_freq >= 5260 ? 1 : in ath5k_hw_rfregs_init()
952 (channel->center_freq > 4000 ? 0 : -1))); in ath5k_hw_rfregs_init()
1185 channel->center_freq) - 24) / 2, 5) in ath5k_hw_rf5110_chan2athchan()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/net/wireless/ti/wlcore/
Dmain.c4684 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_add_chanctx()
4693 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_remove_chanctx()
4705 ctx->def.chan->center_freq); in wlcore_op_change_chanctx()
4753 ctx->def.chan->center_freq); in wlcore_op_assign_vif_chanctx()
4809 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_unassign_vif_chanctx()
4845 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()
5902 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5903 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5904 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
[all …]
/Linux-v5.4/drivers/net/wireless/admtek/
Dadm8211.c58 { .center_freq = 2412},
59 { .center_freq = 2417},
60 { .center_freq = 2422},
61 { .center_freq = 2427},
62 { .center_freq = 2432},
63 { .center_freq = 2437},
64 { .center_freq = 2442},
65 { .center_freq = 2447},
66 { .center_freq = 2452},
67 { .center_freq = 2457},
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ar5523/
Dar5523.c459 reset.freq = cpu_to_be32(conf->chandef.chan->center_freq); in ar5523_set_chan()
466 conf->chandef.chan->center_freq); in ar5523_set_chan()
1445 { .center_freq = 2412 },
1446 { .center_freq = 2417 },
1447 { .center_freq = 2422 },
1448 { .center_freq = 2427 },
1449 { .center_freq = 2432 },
1450 { .center_freq = 2437 },
1451 { .center_freq = 2442 },
1452 { .center_freq = 2447 },
[all …]
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.c121 chan = ieee80211_get_channel(wiphy, le16_to_cpu(qch->chan.center_freq)); in qlink_chandef_q2cfg()
135 qch->chan.center_freq = cpu_to_le16(chan->center_freq); in qlink_chandef_cfg2q()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
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-v5.4/drivers/net/wireless/realtek/rtl818x/rtl8180/
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-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.c628 static bool brcms_is_radar_freq(u16 center_freq) in brcms_is_radar_freq() argument
630 return center_freq >= 5260 && center_freq <= 5700; in brcms_is_radar_freq()
646 if (!brcms_is_radar_freq(ch->center_freq)) in brcms_reg_apply_radar_flags()
682 MHZ_TO_KHZ(ch->center_freq)); in brcms_reg_apply_beaconing_flags()

1234567