Searched refs:MHZ_TO_KHZ (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/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.4.14/net/wireless/ |
| D | reg.c | 702 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(80)); in reg_get_max_bandwidth() 704 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(40)); in reg_get_max_bandwidth() 712 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(20)); in reg_get_max_bandwidth() 1099 for (bw = MHZ_TO_KHZ(20); bw >= min_bw; bw = bw / 2) { in __freq_reg_info() 1111 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info() 1191 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in handle_channel() 1234 if (!reg_does_bw_fit(freq_range, MHZ_TO_KHZ(chan->center_freq), in handle_channel() 1235 MHZ_TO_KHZ(10))) in handle_channel() 1237 if (!reg_does_bw_fit(freq_range, MHZ_TO_KHZ(chan->center_freq), in handle_channel() 1238 MHZ_TO_KHZ(20))) in handle_channel() [all …]
|
| /linux-4.4.14/drivers/net/wireless/iwlwifi/ |
| D | iwl-nvm-parse.c | 798 MHZ_TO_KHZ(center_freq - 10); in iwl_parse_nvm_mcc_info() 800 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
|
| /linux-4.4.14/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.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
| D | channel.c | 683 MHZ_TO_KHZ(ch->center_freq)); in brcms_reg_apply_beaconing_flags()
|