Home
last modified time | relevance | path

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

/linux-6.1.9/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()
365 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_can_intersect()
366 end_freq2 = rule2->freq_range.end_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()
394 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()
395 end_freq2 = rule2->freq_range.end_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()
399 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath11k_reg_intersect_rules()
[all …]
/linux-6.1.9/net/wireless/
Dreg.c987 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country()
988 rrule->freq_range.end_freq_khz = be32_to_cpu(rule->end); in regdb_query_country()
989 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
1200 const struct ieee80211_freq_range *freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range() local
1217 freq_range_tmp = &tmp->freq_range; in reg_get_max_bandwidth_from_range()
1219 if (freq_range_tmp->end_freq_khz < freq_range->start_freq_khz) in reg_get_max_bandwidth_from_range()
1222 freq_range = freq_range_tmp; in reg_get_max_bandwidth_from_range()
1225 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1228 freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range()
1233 freq_range_tmp = &tmp->freq_range; in reg_get_max_bandwidth_from_range()
[all …]
Dcore.h455 bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range,
Dutil.c2242 bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range, in cfg80211_does_bw_fit_range() argument
2250 if (start_freq_khz >= freq_range->start_freq_khz && in cfg80211_does_bw_fit_range()
2251 end_freq_khz <= freq_range->end_freq_khz) in cfg80211_does_bw_fit_range()
Dnl80211.c8332 const struct ieee80211_freq_range *freq_range; in nl80211_put_regdom() local
8337 freq_range = &reg_rule->freq_range; in nl80211_put_regdom()
8344 max_bandwidth_khz = freq_range->max_bandwidth_khz; in nl80211_put_regdom()
8352 freq_range->start_freq_khz) || in nl80211_put_regdom()
8354 freq_range->end_freq_khz) || in nl80211_put_regdom()
8543 struct ieee80211_freq_range *freq_range = &reg_rule->freq_range; in parse_reg_rule() local
8559 freq_range->start_freq_khz = in parse_reg_rule()
8561 freq_range->end_freq_khz = in parse_reg_rule()
8563 freq_range->max_bandwidth_khz = in parse_reg_rule()
/linux-6.1.9/include/net/
Dregulatory.h221 struct ieee80211_freq_range freq_range; member
239 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
240 .freq_range.end_freq_khz = MHZ_TO_KHZ(end), \
241 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
/linux-6.1.9/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()
296 rule->freq_range.end_freq_khz = le32_to_cpu(tlv->end_freq_khz); in qlink_utils_regrule_q2nl()
297 rule->freq_range.max_bandwidth_khz = in qlink_utils_regrule_q2nl()
/linux-6.1.9/sound/pci/asihpi/
Dasihpi.c1929 u32 freq_range[3], temp_freq_range[3]; in snd_asihpi_tuner_freq_info() local
1934 freq_range[0] = INT_MAX; in snd_asihpi_tuner_freq_info()
1935 freq_range[1] = 0; in snd_asihpi_tuner_freq_info()
1936 freq_range[2] = INT_MAX; in snd_asihpi_tuner_freq_info()
1951 if (temp_freq_range[0] < freq_range[0]) in snd_asihpi_tuner_freq_info()
1952 freq_range[0] = temp_freq_range[0]; in snd_asihpi_tuner_freq_info()
1953 if (temp_freq_range[1] > freq_range[1]) in snd_asihpi_tuner_freq_info()
1954 freq_range[1] = temp_freq_range[1]; in snd_asihpi_tuner_freq_info()
1955 if (temp_freq_range[2] < freq_range[2]) in snd_asihpi_tuner_freq_info()
1956 freq_range[2] = temp_freq_range[2]; in snd_asihpi_tuner_freq_info()
[all …]
/linux-6.1.9/net/ipv6/
Dioam6_iptunnel.c49 static struct netlink_range_validation freq_range = { variable
70 [IOAM6_IPTUNNEL_FREQ_K] = NLA_POLICY_FULL_RANGE(NLA_U32, &freq_range),
71 [IOAM6_IPTUNNEL_FREQ_N] = NLA_POLICY_FULL_RANGE(NLA_U32, &freq_range),
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1442 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info()
1445 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
1456 rule->freq_range.max_bandwidth_khz = 0; in iwl_parse_nvm_mcc_info()
1482 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(2412); in iwl_parse_nvm_mcc_info()
1483 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(2413); in iwl_parse_nvm_mcc_info()
1484 rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(1); in iwl_parse_nvm_mcc_info()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1098 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(freq + 10); in mwifiex_create_custom_regdomain()
1107 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(freq - 10); in mwifiex_create_custom_regdomain()
1116 rule->freq_range.max_bandwidth_khz = bw; in mwifiex_create_custom_regdomain()