Home
last modified time | relevance | path

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

/linux-6.6.21/net/wireless/
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()
Dreg.c949 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country()
1181 if (freq_range_tmp->end_freq_khz < freq_range->start_freq_khz) in reg_get_max_bandwidth_from_range()
1187 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1197 if (freq_range_tmp->start_freq_khz > freq_range->end_freq_khz) in reg_get_max_bandwidth_from_range()
1237 if (freq_range->start_freq_khz <= 0 || freq_range->end_freq_khz <= 0) in is_valid_reg_rule()
1240 if (freq_range->start_freq_khz > freq_range->end_freq_khz) in is_valid_reg_rule()
1243 freq_diff = freq_range->end_freq_khz - freq_range->start_freq_khz; in is_valid_reg_rule()
1245 if (freq_range->end_freq_khz <= freq_range->start_freq_khz || in is_valid_reg_rule()
1298 if (abs(freq_khz - freq_range->start_freq_khz) <= limit) in freq_in_rule_band()
1360 freq_range->start_freq_khz = max(freq_range1->start_freq_khz, in reg_rules_intersect()
[all …]
Dutil.c2436 u32 start_freq_khz, end_freq_khz; in cfg80211_does_bw_fit_range() local
2438 start_freq_khz = center_freq_khz - (bw_khz / 2); in cfg80211_does_bw_fit_range()
2441 if (start_freq_khz >= freq_range->start_freq_khz && in cfg80211_does_bw_fit_range()
Dnl80211.c8571 freq_range->start_freq_khz) || in nl80211_put_regdom()
8778 freq_range->start_freq_khz = in parse_reg_rule()
/linux-6.6.21/include/net/
Dregulatory.h174 u32 start_freq_khz; member
228 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dreg.c362 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
363 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
391 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
392 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
397 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules()
402 new_rule->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
521 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dreg.c324 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_can_intersect()
325 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_can_intersect()
353 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
354 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
359 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath12k_reg_intersect_rules()
364 new_rule->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
478 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath12k_reg_update_rule()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.c295 rule->freq_range.start_freq_khz = le32_to_cpu(tlv->start_freq_khz); in qlink_utils_regrule_q2nl()
Dqlink.h1571 __le32 start_freq_khz; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1697 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info()
1737 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(2412); in iwl_parse_nvm_mcc_info()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1107 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(freq - 10); in mwifiex_create_custom_regdomain()