/linux-6.3-rc2/drivers/staging/vt6656/ |
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 = 2457, .hw_value = 10 }, [all …]
|
/linux-6.3-rc2/drivers/staging/vt6655/ |
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 = 2457, .hw_value = 10 }, [all …]
|
/linux-6.3-rc2/net/wireless/ |
A D | chan.c | 496 start_freq = center_freq; in cfg80211_get_start_freq() 510 end_freq = center_freq; in cfg80211_get_end_freq() 518 u32 center_freq, in cfg80211_get_chans_dfs_required() argument 597 u32 center_freq, in cfg80211_get_chans_dfs_usable() argument 684 if (chandef->chan->center_freq == chan->center_freq) in cfg80211_is_sub_chan() 696 if (chan->center_freq == freq) in cfg80211_is_sub_chan() 705 if (chan->center_freq == freq) in cfg80211_is_sub_chan() 841 u32 center_freq, in cfg80211_get_chans_dfs_available() argument 913 u32 center_freq, in cfg80211_get_chans_dfs_cac_time() argument 970 u32 center_freq, u32 bandwidth, in cfg80211_secondary_chans_ok() argument [all …]
|
A D | of.c | 33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan() 67 chan->center_freq); in wiphy_freq_limits_apply()
|
A D | debugfs.c | 50 chan->center_freq); in ht_print_chan() 55 chan->center_freq, in ht_print_chan()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | sar.c | 9 u32 center_freq) in rtw89_sar_get_subband() argument 11 switch (center_freq) { in rtw89_sar_get_subband() 15 center_freq); in rtw89_sar_get_subband() 54 #define RTW89_SAR_6GHZ_SPAN_IDX(center_freq) \ argument 55 ((((int)(center_freq) - RTW89_SAR_6GHZ_SPAN_HEAD) / 5) / 2) 57 #define RTW89_DECL_SAR_6GHZ_SPAN(center_freq, subband_l, subband_h) \ argument 58 [RTW89_SAR_6GHZ_SPAN_IDX(center_freq)] = { \ 86 u32 center_freq = chan->freq; in rtw89_query_sar_config_common() local 92 idx = RTW89_SAR_6GHZ_SPAN_IDX(center_freq); in rtw89_query_sar_config_common() 106 subband_l = rtw89_sar_get_subband(rtwdev, center_freq); in rtw89_query_sar_config_common() [all …]
|
A D | chan.c | 54 u32 center_freq, in rtw89_get_primary_chan_idx() argument 66 if (primary_freq > center_freq) in rtw89_get_primary_chan_idx() 73 if (primary_freq > center_freq) { in rtw89_get_primary_chan_idx() 74 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_primary_chan_idx() 77 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_primary_chan_idx() 90 u32 center_freq, primary_freq; in rtw89_chan_create() local 98 center_freq = ieee80211_channel_to_frequency(center_chan, nl_band); in rtw89_chan_create() 101 chan->freq = center_freq; in rtw89_chan_create() 103 chan->pri_ch_idx = rtw89_get_primary_chan_idx(bandwidth, center_freq, in rtw89_chan_create()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | main.c | 45 {.center_freq = 2412, .hw_value = 1,}, 46 {.center_freq = 2417, .hw_value = 2,}, 47 {.center_freq = 2422, .hw_value = 3,}, 48 {.center_freq = 2427, .hw_value = 4,}, 49 {.center_freq = 2432, .hw_value = 5,}, 50 {.center_freq = 2437, .hw_value = 6,}, 51 {.center_freq = 2442, .hw_value = 7,}, 687 u32 center_freq, primary_freq; in rtw_update_channel() local 706 if (primary_freq > center_freq) in rtw_update_channel() 768 u32 primary_freq, center_freq; in rtw_get_channel_params() local [all …]
|
/linux-6.3-rc2/drivers/staging/wlan-ng/ |
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 = 2457 }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/rsi/ |
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 = 2457, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas_tf/ |
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 = 2457, .hw_value = 10 }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ |
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() 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/ |
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()
|
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 = 2457, .hw_value = 10,}, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/purelifi/plfxlc/ |
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 = 2457, .hw_value = 10 }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A D | cfg80211.c | 1636 {.center_freq = 2412, .hw_value = 1, }, 1637 {.center_freq = 2417, .hw_value = 2, }, 1638 {.center_freq = 2422, .hw_value = 3, }, 1639 {.center_freq = 2427, .hw_value = 4, }, 1640 {.center_freq = 2432, .hw_value = 5, }, 1641 {.center_freq = 2437, .hw_value = 6, }, 1642 {.center_freq = 2442, .hw_value = 7, }, 1643 {.center_freq = 2447, .hw_value = 8, }, 1644 {.center_freq = 2452, .hw_value = 9, }, 1660 {.center_freq = 5040, .hw_value = 8, }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/ |
A D | phy.c | 138 u16 freq = channel->center_freq; in ath5k_channel_ok() 1320 c = channel->center_freq; in ath5k_hw_rf5112_channel() 1394 c = channel->center_freq; in ath5k_hw_rf2425_channel() 1444 channel->center_freq); in ath5k_hw_channel() 1753 channel->center_freq); in ath5k_hw_rf5110_calibrate() 1865 channel->center_freq); in ath5k_hw_phy_calibrate() 2589 u32 target = channel->center_freq; in ath5k_get_chan_pcal_surrounding_piers() 2677 u32 target = channel->center_freq; in ath5k_get_rate_pcal_data() 2776 u32 target = channel->center_freq; in ath5k_get_max_ctl_power() 3642 (channel->center_freq != curr_channel->center_freq)) { in ath5k_hw_txpower() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/zydas/zd1211rw/ |
A D | zd_mac.c | 109 { .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.3-rc2/drivers/net/wireless/ti/wl1251/ |
A D | main.c | 599 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.3-rc2/drivers/net/wireless/ti/wlcore/ |
A D | main.c | 4642 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_add_chanctx() 4651 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_remove_chanctx() 4663 ctx->def.chan->center_freq); in wlcore_op_change_chanctx() 4710 ctx->def.chan->center_freq); in wlcore_op_assign_vif_chanctx() 4765 ieee80211_frequency_to_channel(ctx->def.chan->center_freq), in wlcore_op_unassign_vif_chanctx() 4799 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan() 5587 channel = ieee80211_frequency_to_channel(chan->center_freq); in wlcore_op_remain_on_channel() 5837 { .hw_value = 1, .center_freq = 2412, .max_power = WLCORE_MAX_TXPWR }, 5838 { .hw_value = 2, .center_freq = 2417, .max_power = WLCORE_MAX_TXPWR }, 5839 { .hw_value = 3, .center_freq = 2422, .max_power = WLCORE_MAX_TXPWR }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/admtek/ |
A D | adm8211.c | 57 { .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.3-rc2/drivers/net/wireless/ath/ar5523/ |
A D | ar5523.c | 1457 { .center_freq = 2412 }, 1458 { .center_freq = 2417 }, 1459 { .center_freq = 2422 }, 1460 { .center_freq = 2427 }, 1461 { .center_freq = 2432 }, 1462 { .center_freq = 2437 }, 1463 { .center_freq = 2442 }, 1464 { .center_freq = 2447 }, 1465 { .center_freq = 2452 }, 1466 { .center_freq = 2457 }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A D | qlink_util.c | 121 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.3-rc2/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
A D | dev.c | 100 { .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-6.3-rc2/drivers/net/wireless/ath/carl9170/ |
A D | phy.c | 1043 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()
|