Home
last modified time | relevance | path

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

/linux-6.1.9/net/wireless/
Dnl80211.c12899 int i, pat_len; in nl80211_send_wowlan_patterns() local
12912 pat_len = wowlan->patterns[i].pattern_len; in nl80211_send_wowlan_patterns()
12913 if (nla_put(msg, NL80211_PKTPAT_MASK, DIV_ROUND_UP(pat_len, 8), in nl80211_send_wowlan_patterns()
12915 nla_put(msg, NL80211_PKTPAT_PATTERN, pat_len, in nl80211_send_wowlan_patterns()
13394 int rem, pat_len, mask_len, pkt_offset; in nl80211_set_wowlan() local
13430 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_set_wowlan()
13431 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_set_wowlan()
13434 if (pat_len > wowlan->pattern_max_len || in nl80211_set_wowlan()
13435 pat_len < wowlan->pattern_min_len) in nl80211_set_wowlan()
13447 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_set_wowlan()
[all …]