Home
last modified time | relevance | path

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

/openbmc/linux/net/wireless/
H A Dreg.c892 if (freq >= KHZ_TO_MHZ(be32_to_cpu(rule->start)) && in __regdb_query_wmm()
893 freq <= KHZ_TO_MHZ(be32_to_cpu(rule->end))) { in __regdb_query_wmm()
1716 switch (KHZ_TO_MHZ(ch_bw)) { in reg_rule_to_chan_bw_flags()
H A Dutil.c145 freq = KHZ_TO_MHZ(freq); in ieee80211_freq_khz_to_channel()
H A Dnl80211.c3249 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
18895 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, KHZ_TO_MHZ(info->freq)) || in nl80211_send_mgmt()
19702 KHZ_TO_MHZ(freq)) || in cfg80211_report_obss_beacon_khz()
/openbmc/linux/include/linux/
H A Dieee80211.h4488 #define KHZ_TO_MHZ(freq) ((freq) / 1000) macro
4489 #define PR_KHZ(f) KHZ_TO_MHZ(f), f % 1000
/openbmc/linux/drivers/net/wireless/legacy/
H A Drndis_wlan.c1309 KHZ_TO_MHZ(le32_to_cpu(config.ds_config))); in get_current_channel()
1988 KHZ_TO_MHZ(le32_to_cpu(bssid->config.ds_config))); in rndis_bss_info_update()
/openbmc/linux/include/net/
H A Dcfg80211.h6205 return KHZ_TO_MHZ(ieee80211_channel_to_freq_khz(chan, band)); in ieee80211_channel_to_frequency()
/openbmc/linux/net/mac80211/
H A Dutil.c4004 chandef->center_freq1 = KHZ_TO_MHZ(oper_freq); in ieee80211_chandef_s1g_oper()
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c504 chans[ch].center_freq = KHZ_TO_MHZ(freq); in hwsim_init_s1g_channels()