Home
last modified time | relevance | path

Searched refs:n_rules (Results 1 – 4 of 4) sorted by relevance

/net/wireless/
Dreg.c612 u8 n_rules; member
715 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country()
720 (coll->n_rules * 2) > data + size) in valid_country()
729 for (i = 0; i < coll->n_rules; i++) { in valid_country()
884 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm()
933 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
938 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
1461 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1466 for (i = 0; i < *n_rules; i++) { in add_rule()
1479 memcpy(&reg_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
[all …]
Dtrace.h2616 __field(int, n_rules)
2620 __entry->n_rules = coalesce ? coalesce->n_rules : 0;
2623 WIPHY_PR_ARG, __entry->n_rules)
Dnl80211.c1817 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
13885 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13892 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13972 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
14080 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local
14095 n_rules++; in nl80211_set_coalesce()
14096 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
14099 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()
14104 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()
14131 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
Dcore.c770 (!wiphy->coalesce->n_rules || in wiphy_register()