Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/wireless/
H A 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()
H A Dutil.c144 freq = KHZ_TO_MHZ(freq); in ieee80211_freq_khz_to_channel()
H A Dnl80211.c2912 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
16680 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, KHZ_TO_MHZ(freq)) || in nl80211_send_mgmt()
17353 KHZ_TO_MHZ(freq)) || in cfg80211_report_obss_beacon_khz()
/OK3568_Linux_fs/kernel/include/linux/
H A Dieee80211.h3717 #define KHZ_TO_MHZ(freq) ((freq) / 1000) macro
3718 #define PR_KHZ(f) KHZ_TO_MHZ(f), f % 1000
/OK3568_Linux_fs/kernel/drivers/net/wireless/
H A Drndis_wlan.c1317 KHZ_TO_MHZ(le32_to_cpu(config.ds_config))); in get_current_channel()
1996 KHZ_TO_MHZ(le32_to_cpu(bssid->config.ds_config))); in rndis_bss_info_update()
H A Dmac80211_hwsim.c421 channels[ch].center_freq = KHZ_TO_MHZ(freq); in hwsim_init_s1g_channels()
/OK3568_Linux_fs/kernel/include/net/
H A Dcfg80211.h5471 return KHZ_TO_MHZ(ieee80211_channel_to_freq_khz(chan, band)); in ieee80211_channel_to_frequency()
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dutil.c3499 chandef->center_freq1 = KHZ_TO_MHZ(oper_freq); in ieee80211_chandef_s1g_oper()