Home
last modified time | relevance | path

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

/linux-5.19.10/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()
1493 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1498 for (i = 0; i < *n_rules; i++) { in add_rule()
1511 memcpy(&reg_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
[all …]
Dtrace.h2578 __field(int, n_rules)
2582 __entry->n_rules = coalesce ? coalesce->n_rules : 0;
2585 WIPHY_PR_ARG, __entry->n_rules)
Dcore.c749 (!wiphy->coalesce->n_rules || in wiphy_register()
Dnl80211.c1772 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
13107 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13114 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13194 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce()
13302 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local
13317 n_rules++; in nl80211_set_coalesce()
13318 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce()
13321 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce()
13326 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce()
13353 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c3745 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce()
3746 for (i = 0; i < coalesce->n_rules; i++) { in mwifiex_cfg80211_set_coalesce()
4304 .n_rules = MWIFIEX_COALESCE_MAX_RULES,
/linux-5.19.10/include/net/
Dcfg80211.h3215 int n_rules; member
4791 int n_rules; member