Home
last modified time | relevance | path

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

/linux-6.1.9/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()
922 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm()
971 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
976 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
1499 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1504 for (i = 0; i < *n_rules; i++) { in add_rule()
1517 memcpy(&reg_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
[all …]
Dtrace.h2597 __field(int, n_rules)
2601 __entry->n_rules = coalesce ? coalesce->n_rules : 0;
2604 WIPHY_PR_ARG, __entry->n_rules)
Dnl80211.c1780 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
13527 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13534 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13614 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
13722 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local
13737 n_rules++; in nl80211_set_coalesce()
13738 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
13741 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()
13746 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()
13773 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
Dcore.c749 (!wiphy->coalesce->n_rules || in wiphy_register()
/linux-6.1.9/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-6.1.9/include/net/
Dcfg80211.h3308 int n_rules; member
4923 int n_rules; member