Home
last modified time | relevance | path

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

123456

/Linux-v4.19/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-v4.19/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-v4.19/net/wireless/
Dchan.c29 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
33 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
37 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
41 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
56 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
132 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
140 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
241 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
248 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
249 freq <= center_freq + bandwidth/2 - 10; in cfg80211_set_chans_dfs_state()
[all …]
Dreg.c1524 freq_reg_info_regd(u32 center_freq, in freq_reg_info_regd() argument
1547 band_rule_found = freq_in_rule_band(fr, center_freq); in freq_reg_info_regd()
1549 bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw); in freq_reg_info_regd()
1562 __freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 min_bw) in __freq_reg_info() argument
1569 reg_rule = freq_reg_info_regd(center_freq, regd, bw); in __freq_reg_info()
1578 u32 center_freq) in freq_reg_info() argument
1580 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info()
1618 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1622 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1659 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.c53 chan->center_freq); in ht_print_chan()
58 chan->center_freq, in ht_print_chan()
/Linux-v4.19/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-v4.19/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-v4.19/drivers/net/wireless/marvell/libertas_tf/
Dmain.c32 { .center_freq = 2412, .hw_value = 1 },
33 { .center_freq = 2417, .hw_value = 2 },
34 { .center_freq = 2422, .hw_value = 3 },
35 { .center_freq = 2427, .hw_value = 4 },
36 { .center_freq = 2432, .hw_value = 5 },
37 { .center_freq = 2437, .hw_value = 6 },
38 { .center_freq = 2442, .hw_value = 7 },
39 { .center_freq = 2447, .hw_value = 8 },
40 { .center_freq = 2452, .hw_value = 9 },
41 { .center_freq = 2457, .hw_value = 10 },
[all …]
/Linux-v4.19/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-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dregd.c149 static bool _rtl_is_radar_freq(u16 center_freq) in _rtl_is_radar_freq() argument
151 return center_freq >= 5260 && center_freq <= 5700; in _rtl_is_radar_freq()
172 if (_rtl_is_radar_freq(ch->center_freq) || in _rtl_reg_apply_beaconing_flags()
177 ch->center_freq); in _rtl_reg_apply_beaconing_flags()
239 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
247 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
272 if (!_rtl_is_radar_freq(ch->center_freq)) in _rtl_reg_apply_radar_flags()
Dbase.c64 {.center_freq = 2412, .hw_value = 1,},
65 {.center_freq = 2417, .hw_value = 2,},
66 {.center_freq = 2422, .hw_value = 3,},
67 {.center_freq = 2427, .hw_value = 4,},
68 {.center_freq = 2432, .hw_value = 5,},
69 {.center_freq = 2437, .hw_value = 6,},
70 {.center_freq = 2442, .hw_value = 7,},
71 {.center_freq = 2447, .hw_value = 8,},
72 {.center_freq = 2452, .hw_value = 9,},
73 {.center_freq = 2457, .hw_value = 10,},
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/
Dregd.c135 static bool _rtl_is_radar_freq(u16 center_freq) in _rtl_is_radar_freq() argument
137 return center_freq >= 5260 && center_freq <= 5700; in _rtl_is_radar_freq()
157 if (_rtl_is_radar_freq(ch->center_freq) || in _rtl_reg_apply_beaconing_flags()
162 ch->center_freq); in _rtl_reg_apply_beaconing_flags()
223 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
231 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()
256 if (!_rtl_is_radar_freq(ch->center_freq)) in _rtl_reg_apply_radar_flags()
Dbase.c53 {.center_freq = 2412, .hw_value = 1,},
54 {.center_freq = 2417, .hw_value = 2,},
55 {.center_freq = 2422, .hw_value = 3,},
56 {.center_freq = 2427, .hw_value = 4,},
57 {.center_freq = 2432, .hw_value = 5,},
58 {.center_freq = 2437, .hw_value = 6,},
59 {.center_freq = 2442, .hw_value = 7,},
60 {.center_freq = 2447, .hw_value = 8,},
61 {.center_freq = 2452, .hw_value = 9,},
62 {.center_freq = 2457, .hw_value = 10,},
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c1552 {.center_freq = 2412, .hw_value = 1, },
1553 {.center_freq = 2417, .hw_value = 2, },
1554 {.center_freq = 2422, .hw_value = 3, },
1555 {.center_freq = 2427, .hw_value = 4, },
1556 {.center_freq = 2432, .hw_value = 5, },
1557 {.center_freq = 2437, .hw_value = 6, },
1558 {.center_freq = 2442, .hw_value = 7, },
1559 {.center_freq = 2447, .hw_value = 8, },
1560 {.center_freq = 2452, .hw_value = 9, },
1561 {.center_freq = 2457, .hw_value = 10, },
[all …]
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.c133 chan = ieee80211_get_channel(wiphy, le16_to_cpu(qch->chan.center_freq)); in qlink_chandef_q2cfg()
147 qch->chan.center_freq = cpu_to_le16(chan->center_freq); in qlink_chandef_cfg2q()
/Linux-v4.19/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-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c121 { .center_freq = 2412, .hw_value = 1 },
122 { .center_freq = 2417, .hw_value = 2 },
123 { .center_freq = 2422, .hw_value = 3 },
124 { .center_freq = 2427, .hw_value = 4 },
125 { .center_freq = 2432, .hw_value = 5 },
126 { .center_freq = 2437, .hw_value = 6 },
127 { .center_freq = 2442, .hw_value = 7 },
128 { .center_freq = 2447, .hw_value = 8 },
129 { .center_freq = 2452, .hw_value = 9 },
130 { .center_freq = 2457, .hw_value = 10 },
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dmain.c613 conf->chandef.chan->center_freq); in wl1251_op_config()
1283 { .hw_value = 1, .center_freq = 2412},
1284 { .hw_value = 2, .center_freq = 2417},
1285 { .hw_value = 3, .center_freq = 2422},
1286 { .hw_value = 4, .center_freq = 2427},
1287 { .hw_value = 5, .center_freq = 2432},
1288 { .hw_value = 6, .center_freq = 2437},
1289 { .hw_value = 7, .center_freq = 2442},
1290 { .hw_value = 8, .center_freq = 2447},
1291 { .hw_value = 9, .center_freq = 2452},
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dmain.c4692 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_add_chanctx()
4701 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_remove_chanctx()
4713 ctx->def.chan->center_freq); in wlcore_op_change_chanctx()
4761 ctx->def.chan->center_freq); in wlcore_op_assign_vif_chanctx()
4817 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_unassign_vif_chanctx()
4853 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
5655 channel = ieee80211_frequency_to_channel(chan->center_freq); in wlcore_op_remain_on_channel()
5909 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR },
5910 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR },
5911 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR },
[all …]
/Linux-v4.19/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-v4.19/drivers/net/wireless/admtek/
Dadm8211.c62 { .center_freq = 2412},
63 { .center_freq = 2417},
64 { .center_freq = 2422},
65 { .center_freq = 2427},
66 { .center_freq = 2432},
67 { .center_freq = 2437},
68 { .center_freq = 2442},
69 { .center_freq = 2447},
70 { .center_freq = 2452},
71 { .center_freq = 2457},
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c103 { .center_freq = 2412 },
104 { .center_freq = 2417 },
105 { .center_freq = 2422 },
106 { .center_freq = 2427 },
107 { .center_freq = 2432 },
108 { .center_freq = 2437 },
109 { .center_freq = 2442 },
110 { .center_freq = 2447 },
111 { .center_freq = 2452 },
112 { .center_freq = 2457 },
[all …]
/Linux-v4.19/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-v4.19/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 …]

123456