Lines Matching refs:rrule
879 struct ieee80211_reg_rule *rrule) in set_wmm_rule() argument
881 struct ieee80211_wmm_rule *wmm_rule = &rrule->wmm_rule; in set_wmm_rule()
908 rrule->has_wmm = true; in set_wmm_rule()
913 struct ieee80211_reg_rule *rrule) in __regdb_query_wmm() argument
929 set_wmm_rule(db, country, rule, rrule); in __regdb_query_wmm()
982 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country() local
984 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country()
985 rrule->freq_range.end_freq_khz = be32_to_cpu(rule->end); in regdb_query_country()
986 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
988 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country()
989 rrule->power_rule.max_eirp = be16_to_cpu(rule->max_eirp); in regdb_query_country()
991 rrule->flags = 0; in regdb_query_country()
993 rrule->flags |= NL80211_RRF_NO_OFDM; in regdb_query_country()
995 rrule->flags |= NL80211_RRF_NO_OUTDOOR; in regdb_query_country()
997 rrule->flags |= NL80211_RRF_DFS; in regdb_query_country()
999 rrule->flags |= NL80211_RRF_NO_IR; in regdb_query_country()
1001 rrule->flags |= NL80211_RRF_AUTO_BW; in regdb_query_country()
1003 rrule->dfs_cac_ms = 0; in regdb_query_country()
1007 rrule->dfs_cac_ms = in regdb_query_country()
1010 set_wmm_rule(db, country, rule, rrule); in regdb_query_country()
1953 const struct ieee80211_reg_rule *rrule = NULL; in handle_channel() local
1959 rrule = freq_reg_info(wiphy, orig_chan_freq); in handle_channel()
1960 if (IS_ERR(rrule)) { in handle_channel()
2008 PTR_ERR(rrule) == -ERANGE) in handle_channel()
2027 request_wiphy, rrule); in handle_channel()