Searched refs:pat_len (Results 1 – 1 of 1) sorted by relevance
/net/wireless/ |
D | nl80211.c | 11137 int i, pat_len; in nl80211_send_wowlan_patterns() local 11150 pat_len = wowlan->patterns[i].pattern_len; in nl80211_send_wowlan_patterns() 11151 if (nla_put(msg, NL80211_PKTPAT_MASK, DIV_ROUND_UP(pat_len, 8), in nl80211_send_wowlan_patterns() 11153 nla_put(msg, NL80211_PKTPAT_PATTERN, pat_len, in nl80211_send_wowlan_patterns() 11630 int rem, pat_len, mask_len, pkt_offset; in nl80211_set_wowlan() local 11666 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_set_wowlan() 11667 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_set_wowlan() 11670 if (pat_len > wowlan->pattern_max_len || in nl80211_set_wowlan() 11671 pat_len < wowlan->pattern_min_len) in nl80211_set_wowlan() 11683 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_set_wowlan() [all …]
|