Home
last modified time | relevance | path

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

/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()
378 end_freq1 = rule1->freq_range.end_freq_khz; in ath12k_reg_can_intersect()
379 end_freq2 = rule2->freq_range.end_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()
407 end_freq1 = rule1->freq_range.end_freq_khz; in ath12k_reg_intersect_rules()
408 end_freq2 = rule2->freq_range.end_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()
412 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath12k_reg_intersect_rules()
[all …]
/linux/net/wireless/
H A Dreg.c951 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country()
952 rrule->freq_range.end_freq_khz = be32_to_cpu(rule->end); in regdb_query_country()
953 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
1164 const struct ieee80211_freq_range *freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range() local
1181 freq_range_tmp = &tmp->freq_range; in reg_get_max_bandwidth_from_range()
1183 if (freq_range_tmp->end_freq_khz < freq_range->start_freq_khz) in reg_get_max_bandwidth_from_range()
1186 freq_range = freq_range_tmp; in reg_get_max_bandwidth_from_range()
1189 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1192 freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range()
1197 freq_range_tmp = &tmp->freq_range; in reg_get_max_bandwidth_from_range()
[all …]
H A Dutil.c2617 bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range, in cfg80211_does_bw_fit_range() argument
2625 if (start_freq_khz >= freq_range->start_freq_khz && in cfg80211_does_bw_fit_range()
2626 end_freq_khz <= freq_range->end_freq_khz) in cfg80211_does_bw_fit_range()
2900 r = &radio->freq_range[i]; in ieee80211_radio_freq_range_valid()
H A Dcore.h463 bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range,
H A Dnl80211.c2434 const struct wiphy_radio_freq_range *range = &r->freq_range[i]; in nl80211_put_radio()
8707 const struct ieee80211_freq_range *freq_range; in nl80211_put_regdom() local
8712 freq_range = &reg_rule->freq_range; in nl80211_put_regdom()
8719 max_bandwidth_khz = freq_range->max_bandwidth_khz; in nl80211_put_regdom()
8727 freq_range->start_freq_khz) || in nl80211_put_regdom()
8729 freq_range->end_freq_khz) || in nl80211_put_regdom()
8923 struct ieee80211_freq_range *freq_range = &reg_rule->freq_range; in parse_reg_rule() local
8939 freq_range->start_freq_khz = in parse_reg_rule()
8941 freq_range->end_freq_khz = in parse_reg_rule()
8943 freq_range->max_bandwidth_khz = in parse_reg_rule()
/linux/include/net/
H A Dregulatory.h208 struct ieee80211_freq_range freq_range; member
227 .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
228 .freq_range.end_freq_khz = MHZ_TO_KHZ(end), \
229 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
H A Dcfg80211.h5441 const struct wiphy_radio_freq_range *freq_range; member
/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()
374 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_can_intersect()
375 end_freq2 = rule2->freq_range.end_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()
403 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()
404 end_freq2 = rule2->freq_range.end_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()
408 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath11k_reg_intersect_rules()
[all …]
/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()
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/drivers/media/pci/mgb4/
H A Dmgb4_cmt.h15 unsigned int freq_range);
H A Dmgb4_vin.h53 u32 freq_range; member
H A Dmgb4_sysfs_in.c402 return sprintf(buf, "%d\n", vindev->freq_range); in frequency_range_show()
427 vindev->freq_range = val; in frequency_range_store()
/linux/sound/pci/asihpi/
H A Dasihpi.c1913 u32 freq_range[3], temp_freq_range[3]; in snd_asihpi_tuner_freq_info() local
1918 freq_range[0] = INT_MAX; in snd_asihpi_tuner_freq_info()
1919 freq_range[1] = 0; in snd_asihpi_tuner_freq_info()
1920 freq_range[2] = INT_MAX; in snd_asihpi_tuner_freq_info()
1935 if (temp_freq_range[0] < freq_range[0]) in snd_asihpi_tuner_freq_info()
1936 freq_range[0] = temp_freq_range[0]; in snd_asihpi_tuner_freq_info()
1937 if (temp_freq_range[1] > freq_range[1]) in snd_asihpi_tuner_freq_info()
1938 freq_range[1] = temp_freq_range[1]; in snd_asihpi_tuner_freq_info()
1939 if (temp_freq_range[2] < freq_range[2]) in snd_asihpi_tuner_freq_info()
1940 freq_range[2] = temp_freq_range[2]; in snd_asihpi_tuner_freq_info()
[all …]
/linux/net/ipv6/
H A Dioam6_iptunnel.c51 static const struct netlink_range_validation freq_range = { variable
72 [IOAM6_IPTUNNEL_FREQ_K] = NLA_POLICY_FULL_RANGE(NLA_U32, &freq_range),
73 [IOAM6_IPTUNNEL_FREQ_N] = NLA_POLICY_FULL_RANGE(NLA_U32, &freq_range),
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1805 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info()
1808 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
1819 rule->freq_range.max_bandwidth_khz = 0; in iwl_parse_nvm_mcc_info()
1845 rule->freq_range.start_freq_khz = MHZ_TO_KHZ(2412); in iwl_parse_nvm_mcc_info()
1846 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(2413); in iwl_parse_nvm_mcc_info()
1847 rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(1); in iwl_parse_nvm_mcc_info()
/linux/drivers/net/wireless/marvell/mwifiex/
H A 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()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5458 radio->freq_range = radio_range; in mac80211_hwsim_new_radio()