Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dieee80211.h3717 #define KHZ_TO_MHZ(freq) ((freq) / 1000) macro
3718 #define PR_KHZ(f) KHZ_TO_MHZ(f), f % 1000
/kernel/linux/linux-5.10/net/wireless/
Dreg.c910 if (freq >= KHZ_TO_MHZ(be32_to_cpu(rule->start)) && in __regdb_query_wmm()
911 freq <= KHZ_TO_MHZ(be32_to_cpu(rule->end))) { in __regdb_query_wmm()
1708 switch (KHZ_TO_MHZ(ch_bw)) { in reg_rule_to_chan_bw_flags()
Dutil.c144 freq = KHZ_TO_MHZ(freq); in ieee80211_freq_khz_to_channel()
Dnl80211.c2909 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
16671 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, KHZ_TO_MHZ(freq)) || in nl80211_send_mgmt()
17344 KHZ_TO_MHZ(freq)) || in cfg80211_report_obss_beacon_khz()
/kernel/linux/linux-5.10/drivers/net/wireless/
Drndis_wlan.c1310 KHZ_TO_MHZ(le32_to_cpu(config.ds_config))); in get_current_channel()
1989 KHZ_TO_MHZ(le32_to_cpu(bssid->config.ds_config))); in rndis_bss_info_update()
Dmac80211_hwsim.c417 channels[ch].center_freq = KHZ_TO_MHZ(freq); in hwsim_init_s1g_channels()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h5404 return KHZ_TO_MHZ(ieee80211_channel_to_freq_khz(chan, band)); in ieee80211_channel_to_frequency()
/kernel/linux/linux-5.10/net/mac80211/
Dutil.c3499 chandef->center_freq1 = KHZ_TO_MHZ(oper_freq); in ieee80211_chandef_s1g_oper()