Home
last modified time | relevance | path

Searched refs:KHZ_TO_MHZ (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/net/wireless/
H A Dreg.c895 if (freq >= KHZ_TO_MHZ(be32_to_cpu(rule->start)) && in __regdb_query_wmm()
896 freq <= KHZ_TO_MHZ(be32_to_cpu(rule->end))) { in __regdb_query_wmm()
1732 switch (KHZ_TO_MHZ(ch_bw)) { in reg_rule_to_chan_bw_flags()
H A Dutil.c139 freq = KHZ_TO_MHZ(freq); in ieee80211_freq_khz_to_channel()
H A Dnl80211.c3380 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in _nl80211_parse_chandef()
19188 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, KHZ_TO_MHZ(info->freq)) || in nl80211_send_mgmt()
19991 KHZ_TO_MHZ(freq)) || in cfg80211_report_obss_beacon_khz()
/linux-6.15/include/linux/
H A Dieee80211.h4739 #define KHZ_TO_MHZ(freq) ((freq) / 1000) macro
4740 #define PR_KHZ(f) KHZ_TO_MHZ(f), f % 1000
/linux-6.15/include/net/
H A Dcfg80211.h6565 return KHZ_TO_MHZ(ieee80211_channel_to_freq_khz(chan, band)); in ieee80211_channel_to_frequency()
/linux-6.15/net/mac80211/
H A Dutil.c3218 chandef->center_freq1 = KHZ_TO_MHZ(oper_freq); in ieee80211_chandef_s1g_oper()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dmac.c806 if (channel->center_freq >= KHZ_TO_MHZ(ar->freq_range.start_freq) && in ath12k_mac_get_ar_by_chan()
807 channel->center_freq <= KHZ_TO_MHZ(ar->freq_range.end_freq)) in ath12k_mac_get_ar_by_chan()
/linux-6.15/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c527 chans[ch].center_freq = KHZ_TO_MHZ(freq); in hwsim_init_s1g_channels()