Home
last modified time | relevance | path

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

/net/wireless/
Dreg.c592 u8 n_rules; member
695 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country()
700 (coll->n_rules * 2) > data + size) in valid_country()
709 for (i = 0; i < coll->n_rules; i++) { in valid_country()
900 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm()
949 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
954 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
1447 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1452 for (i = 0; i < *n_rules; i++) { in add_rule()
1465 memcpy(&reg_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
[all …]
Dtrace.h2462 __field(int, n_rules)
2466 __entry->n_rules = coalesce ? coalesce->n_rules : 0;
2469 WIPHY_PR_ARG, __entry->n_rules)
Dcore.c734 (!wiphy->coalesce->n_rules || in wiphy_register()
Dnl80211.c1520 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
11763 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
11770 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
11850 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
11958 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local
11973 n_rules++; in nl80211_set_coalesce()
11974 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
11977 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()
11982 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()
12009 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()