Home
last modified time | relevance | path

Searched refs:start_freq_khz (Results 1 – 11 of 11) sorted by relevance

/linux/net/wireless/
H A Dof.c111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits()
123 if (!limit->start_freq_khz || in wiphy_read_of_freq_limits()
125 limit->start_freq_khz >= limit->end_freq_khz) { in wiphy_read_of_freq_limits()
H A Dreg.c951 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country()
1183 if (freq_range_tmp->end_freq_khz < freq_range->start_freq_khz) in reg_get_max_bandwidth_from_range()
1189 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1199 if (freq_range_tmp->start_freq_khz > freq_range->end_freq_khz) in reg_get_max_bandwidth_from_range()
1239 if (freq_range->start_freq_khz <= 0 || freq_range->end_freq_khz <= 0) in is_valid_reg_rule()
1242 if (freq_range->start_freq_khz > freq_range->end_freq_khz) in is_valid_reg_rule()
1245 freq_diff = freq_range->end_freq_khz - freq_range->start_freq_khz; in is_valid_reg_rule()
1247 if (freq_range->end_freq_khz <= freq_range->start_freq_khz || in is_valid_reg_rule()
1300 if (abs(freq_khz - freq_range->start_freq_khz) <= limit) in freq_in_rule_band()
1361 freq_range->start_freq_khz = max(freq_range1->start_freq_khz, in reg_rules_intersect()
[all …]
H A Dutil.c2620 u32 start_freq_khz, end_freq_khz; in cfg80211_does_bw_fit_range() local
2622 start_freq_khz = center_freq_khz - (bw_khz / 2); in cfg80211_does_bw_fit_range()
2625 if (start_freq_khz >= freq_range->start_freq_khz && in cfg80211_does_bw_fit_range()
H A Dnl80211.c8727 freq_range->start_freq_khz) || in nl80211_put_regdom()
8939 freq_range->start_freq_khz = in parse_reg_rule()
/linux/include/net/
H A Dregulatory.h172 u32 start_freq_khz; member
227 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c375 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_can_intersect()
376 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_can_intersect()
404 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
405 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
410 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath12k_reg_intersect_rules()
415 new_rule->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
529 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath12k_reg_update_rule()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c371 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
372 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
400 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
401 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
406 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules()
411 new_rule->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
535 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink_util.c295 rule->freq_range.start_freq_khz = le32_to_cpu(tlv->start_freq_khz); in qlink_utils_regrule_q2nl()
H A Dqlink.h1571 __le32 start_freq_khz; member
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1805 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info()
1845 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(2412); in iwl_parse_nvm_mcc_info()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmdresp.c1107 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(freq - 10); in mwifiex_create_custom_regdomain()