/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | channel.c | 55 { .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 [all...] |
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
H A D | channel.c | 42 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | channel.c | 42 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/staging/vt6655/ |
H A D | channel.c | 29 { .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 [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | chan.c | 39 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() 43 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() 47 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create() 51 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create() 69 if (!cfg80211_valid_60g_freq(chandef->chan->center_freq)) in cfg80211_edmg_chandef_valid() 207 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid() 321 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs() 329 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs() 398 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument 405 for (freq = center_freq in cfg80211_set_chans_dfs_state() 439 cfg80211_get_start_freq(u32 center_freq, u32 bandwidth) cfg80211_get_start_freq() argument 453 cfg80211_get_end_freq(u32 center_freq, u32 bandwidth) cfg80211_get_end_freq() argument 467 cfg80211_get_chans_dfs_required(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_required() argument 546 cfg80211_get_chans_dfs_usable(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_usable() argument 736 cfg80211_get_chans_dfs_available(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_available() argument 808 cfg80211_get_chans_dfs_cac_time(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_cac_time() argument 865 cfg80211_secondary_chans_ok(struct wiphy *wiphy, u32 center_freq, u32 bandwidth, u32 prohibited_flags) cfg80211_secondary_chans_ok() argument [all...] |
/kernel/linux/linux-6.6/net/wireless/ |
H A D | chan.c | 39 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() 43 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() 47 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create() 51 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create() 69 if (!cfg80211_valid_60g_freq(chandef->chan->center_freq)) in cfg80211_edmg_chandef_valid() 210 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid() 339 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs() 348 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs() 359 tmp = (150 + c->chan->center_freq - c->center_freq1) / 20; in chandef_primary_freqs() 448 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument 489 cfg80211_get_start_freq(u32 center_freq, u32 bandwidth) cfg80211_get_start_freq() argument 503 cfg80211_get_end_freq(u32 center_freq, u32 bandwidth) cfg80211_get_end_freq() argument 517 cfg80211_get_chans_dfs_required(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_required() argument 596 cfg80211_get_chans_dfs_usable(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_usable() argument 840 cfg80211_get_chans_dfs_available(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_available() argument 912 cfg80211_get_chans_dfs_cac_time(struct wiphy *wiphy, u32 center_freq, u32 bandwidth) cfg80211_get_chans_dfs_cac_time() argument 969 cfg80211_secondary_chans_ok(struct wiphy *wiphy, u32 center_freq, u32 bandwidth, u32 prohibited_flags) cfg80211_secondary_chans_ok() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | sar.c | 16 u32 center_freq) in rtw89_sar_get_subband() 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) \ 62 ((((int)(center_freq) - RTW89_SAR_6GHZ_SPAN_HEAD) / 5) / 2) 64 #define RTW89_DECL_SAR_6GHZ_SPAN(center_freq, subband_l, subband_h) \ 65 [RTW89_SAR_6GHZ_SPAN_IDX(center_freq)] = { \ 89 u32 center_freq, s32 *cfg) in rtw89_query_sar_config_common() 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() 15 rtw89_sar_get_subband(struct rtw89_dev *rtwdev, u32 center_freq) rtw89_sar_get_subband() argument 88 rtw89_query_sar_config_common(struct rtw89_dev *rtwdev, u32 center_freq, s32 *cfg) rtw89_query_sar_config_common() argument 187 rtw89_query_sar(struct rtw89_dev *rtwdev, u32 center_freq) rtw89_query_sar() argument 226 rtw89_print_sar(struct seq_file *m, struct rtw89_dev *rtwdev, u32 center_freq) rtw89_print_sar() argument [all...] |
H A D | chan.c | 56 u32 center_freq, in rtw89_get_primary_chan_idx() 68 if (primary_freq > center_freq) in rtw89_get_primary_chan_idx() 75 if (primary_freq > center_freq) { in rtw89_get_primary_chan_idx() 76 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_primary_chan_idx() 79 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_primary_chan_idx() 92 u32 center_freq, primary_freq; in rtw89_chan_create() local 100 center_freq = ieee80211_channel_to_frequency(center_chan, nl_band); in rtw89_chan_create() 103 chan->freq = center_freq; in rtw89_chan_create() 105 chan->pri_ch_idx = rtw89_get_primary_chan_idx(bandwidth, center_freq, in rtw89_chan_create() 55 rtw89_get_primary_chan_idx(enum rtw89_bandwidth bw, u32 center_freq, u32 primary_freq) rtw89_get_primary_chan_idx() argument
|
H A D | sar.h | 16 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);
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | main.c | 34 {.center_freq = 2412, .hw_value = 1,}, 35 {.center_freq = 2417, .hw_value = 2,}, 36 {.center_freq = 2422, .hw_value = 3,}, 37 {.center_freq = 2427, .hw_value = 4,}, 38 {.center_freq = 2432, .hw_value = 5,}, 39 {.center_freq = 2437, .hw_value = 6,}, 40 {.center_freq = 2442, .hw_value = 7,}, 41 {.center_freq = 2447, .hw_value = 8,}, 42 {.center_freq = 2452, .hw_value = 9,}, 43 {.center_freq 494 u32 primary_freq, center_freq; rtw_get_channel_params() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 27 { .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 [all...] |
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 8 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 8 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 27 { .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 [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | regd.c | 257 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
H A D | regd.c | 257 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | main.c | 46 {.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 726 u32 center_freq, primary_freq; rtw_update_channel() local 807 u32 primary_freq, center_freq; rtw_get_channel_params() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 25 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 25 { .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 [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/purelifi/plfxlc/ |
H A D | mac.c | 64 { .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 [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
H A D | regd.c | 126 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()
|
H A D | base.c | 42 {.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 [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | regd.c | 126 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()
|
H A D | base.c | 42 {.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 [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | cfg80211.c | 1573 {.center_freq = 2412, .hw_value = 1, }, 1574 {.center_freq = 2417, .hw_value = 2, }, 1575 {.center_freq = 2422, .hw_value = 3, }, 1576 {.center_freq = 2427, .hw_value = 4, }, 1577 {.center_freq = 2432, .hw_value = 5, }, 1578 {.center_freq = 2437, .hw_value = 6, }, 1579 {.center_freq = 2442, .hw_value = 7, }, 1580 {.center_freq = 2447, .hw_value = 8, }, 1581 {.center_freq = 2452, .hw_value = 9, }, 1582 {.center_freq [all...] |