Searched refs:rrule (Results 1 – 2 of 2) sorted by relevance
882 struct ieee80211_reg_rule *rrule) in set_wmm_rule() argument884 struct ieee80211_wmm_rule *wmm_rule = &rrule->wmm_rule; in set_wmm_rule()911 rrule->has_wmm = true; in set_wmm_rule()916 struct ieee80211_reg_rule *rrule) in __regdb_query_wmm() argument932 set_wmm_rule(db, country, rule, rrule); in __regdb_query_wmm()985 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country() local987 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()991 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country()[all …]
1535 const struct ieee80211_reg_rule *rrule; in ieee80211_regulatory_limit_wmm_params() local1553 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params()1555 if (IS_ERR_OR_NULL(rrule) || !rrule->has_wmm) { in ieee80211_regulatory_limit_wmm_params()1561 wmm_ac = &rrule->wmm_rule.ap[ac]; in ieee80211_regulatory_limit_wmm_params()1563 wmm_ac = &rrule->wmm_rule.client[ac]; in ieee80211_regulatory_limit_wmm_params()