Searched refs:MHZ_TO_KHZ (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/include/net/ |
D | regulatory.h | 206 #define MHZ_TO_KHZ(freq) ((freq) * 1000) macro 215 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \ 216 .freq_range.end_freq_khz = MHZ_TO_KHZ(end), \ 217 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
|
/linux-4.1.27/net/wireless/ |
D | reg.c | 653 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(80)); in reg_get_max_bandwidth() 655 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(40)); in reg_get_max_bandwidth() 663 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(20)); in reg_get_max_bandwidth() 1031 bw_fits = reg_does_bw_fit(fr, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info_regd() 1137 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in handle_channel() 1179 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in handle_channel() 1181 if (max_bandwidth_khz < MHZ_TO_KHZ(80)) in handle_channel() 1183 if (max_bandwidth_khz < MHZ_TO_KHZ(160)) in handle_channel() 1699 reg_rule = freq_reg_info_regd(wiphy, MHZ_TO_KHZ(chan->center_freq), in handle_channel_custom() 1724 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in handle_channel_custom() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-nvm-parse.c | 785 MHZ_TO_KHZ(center_freq - 10); in iwl_parse_nvm_mcc_info() 787 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | regd.c | 267 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | channel.c | 683 MHZ_TO_KHZ(ch->center_freq)); in brcms_reg_apply_beaconing_flags()
|