Home
last modified time | relevance | path

Searched refs:MHZ_TO_KHZ (Results 1 – 15 of 15) sorted by relevance

/linux/net/wireless/
A Dchan.c241 oper_freq + MHZ_TO_KHZ(oper_width) / 2) in cfg80211_chandef_valid()
245 oper_freq - MHZ_TO_KHZ(oper_width) / 2) in cfg80211_chandef_valid()
444 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_start_freq()
445 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_start_freq()
458 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_end_freq()
459 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_end_freq()
520 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_required()
597 MHZ_TO_KHZ(chandef->center_freq1), in cfg80211_chandef_dfs_usable()
607 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_usable()
797 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_available()
[all …]
A Dof.c26 u32 bw = MHZ_TO_KHZ(20); in wiphy_freq_limits_valid_chan()
33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan()
A Dreg.c1664 for (bw = MHZ_TO_KHZ(bws[i]); bw >= min_bw; bw = MHZ_TO_KHZ(bws[i--])) { in __freq_reg_info()
1719 MHZ_TO_KHZ(10))) in reg_rule_to_chan_bw_flags()
1723 MHZ_TO_KHZ(20))) in reg_rule_to_chan_bw_flags()
1766 if (max_bandwidth_khz < MHZ_TO_KHZ(10)) in reg_rule_to_chan_bw_flags()
1768 if (max_bandwidth_khz < MHZ_TO_KHZ(20)) in reg_rule_to_chan_bw_flags()
1770 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in reg_rule_to_chan_bw_flags()
1923 MHZ_TO_KHZ(10))) in handle_channel_adjacent_rules()
1927 MHZ_TO_KHZ(20))) in handle_channel_adjacent_rules()
2008 MHZ_TO_KHZ(20))) in handle_channel()
2303 regd, MHZ_TO_KHZ(20)); in reg_process_ht_flags_channel()
[all …]
A Dutil.c85 return MHZ_TO_KHZ(2484); in ieee80211_channel_to_freq_khz()
87 return MHZ_TO_KHZ(2407 + chan * 5); in ieee80211_channel_to_freq_khz()
91 return MHZ_TO_KHZ(4000 + chan * 5); in ieee80211_channel_to_freq_khz()
93 return MHZ_TO_KHZ(5000 + chan * 5); in ieee80211_channel_to_freq_khz()
98 return MHZ_TO_KHZ(5935); in ieee80211_channel_to_freq_khz()
100 return MHZ_TO_KHZ(5950 + chan * 5); in ieee80211_channel_to_freq_khz()
104 return MHZ_TO_KHZ(56160 + chan * 2160); in ieee80211_channel_to_freq_khz()
A Dnl80211.c1157 freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in nl80211_msg_put_channel()
3070 control_freq = MHZ_TO_KHZ( in nl80211_parse_chandef()
8537 freq = MHZ_TO_KHZ(freq); in nl80211_trigger_scan()
9984 freq = MHZ_TO_KHZ(nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_FREQ])); in nl80211_authenticate()
10206 freq = MHZ_TO_KHZ(nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_FREQ])); in nl80211_associate()
10985 freq = MHZ_TO_KHZ(nla_get_u32( in nl80211_connect()
10997 freq = MHZ_TO_KHZ(freq); in nl80211_connect()
/linux/include/net/
A Dregulatory.h236 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
237 .freq_range.end_freq_khz = MHZ_TO_KHZ(end), \
238 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
A Dcfg80211.h5614 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
5662 return ieee80211_freq_khz_to_channel(MHZ_TO_KHZ(freq)); in ieee80211_frequency_to_channel()
5685 return ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(freq)); in ieee80211_get_channel()
7486 return cfg80211_rx_mgmt_khz(wdev, MHZ_TO_KHZ(freq), sig_dbm, buf, len, in cfg80211_rx_mgmt()
7734 cfg80211_report_obss_beacon_khz(wiphy, frame, len, MHZ_TO_KHZ(freq), in cfg80211_report_obss_beacon()
7826 return MHZ_TO_KHZ(chandef->center_freq1) + chandef->freq1_offset; in ieee80211_chandef_to_khz()
A Dmac80211.h1444 return MHZ_TO_KHZ(rx_status->freq) + in ieee80211_rx_status_to_khz()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmdresp.c1066 bw = MHZ_TO_KHZ(80); in mwifiex_create_custom_regdomain()
1068 bw = MHZ_TO_KHZ(40); in mwifiex_create_custom_regdomain()
1070 bw = MHZ_TO_KHZ(20); in mwifiex_create_custom_regdomain()
1073 bw = MHZ_TO_KHZ(40); in mwifiex_create_custom_regdomain()
1075 bw = MHZ_TO_KHZ(20); in mwifiex_create_custom_regdomain()
1086 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(freq + 10); in mwifiex_create_custom_regdomain()
1095 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(freq - 10); in mwifiex_create_custom_regdomain()
/linux/drivers/net/wireless/ath/ath11k/
A Dreg.c477 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
478 reg_rule->freq_range.end_freq_khz = MHZ_TO_KHZ(end_freq); in ath11k_reg_update_rule()
479 reg_rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw); in ath11k_reg_update_rule()
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-parse.c1374 MHZ_TO_KHZ(center_freq - 10); in iwl_parse_nvm_mcc_info()
1376 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
1413 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(2412); in iwl_parse_nvm_mcc_info()
1414 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(2413); in iwl_parse_nvm_mcc_info()
1415 rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(1); in iwl_parse_nvm_mcc_info()
/linux/drivers/net/wireless/ath/
A Dregd.c271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dchannel.c680 MHZ_TO_KHZ(ch->center_freq)); in brcms_reg_apply_beaconing_flags()
/linux/include/linux/
A Dieee80211.h3869 #define MHZ_TO_KHZ(freq) ((freq) * 1000) macro
/linux/net/mac80211/
A Dutil.c1552 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params()

Completed in 112 milliseconds