Home
last modified time | relevance | path

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

/Linux-v6.6/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.c1797 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
13787 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13794 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13874 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
13982 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local
13997 n_rules++; in nl80211_set_coalesce()
13998 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
14001 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()
14006 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()
14033 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
Dcore.c768 (!wiphy->coalesce->n_rules || in wiphy_register()
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c3735 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce()
3736 for (i = 0; i < coalesce->n_rules; i++) { in mwifiex_cfg80211_set_coalesce()
4294 .n_rules = MWIFIEX_COALESCE_MAX_RULES,
/Linux-v6.6/include/net/
Dcfg80211.h3398 int n_rules; member
5051 int n_rules; member