Home
last modified time | relevance | path

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

/external/iw/
Dcoalesce.c237 struct nlattr *patattr[NUM_NL80211_PKTPAT]; in print_coalesce_handler() local
241 nla_parse(patattr, MAX_NL80211_PKTPAT, in print_coalesce_handler()
244 if (!patattr[NL80211_PKTPAT_MASK] || in print_coalesce_handler()
245 !patattr[NL80211_PKTPAT_PATTERN] || in print_coalesce_handler()
246 !patattr[NL80211_PKTPAT_OFFSET]) { in print_coalesce_handler()
250 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); in print_coalesce_handler()
251 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]); in print_coalesce_handler()
252 pkt_offset = nla_get_u32(patattr[NL80211_PKTPAT_OFFSET]); in print_coalesce_handler()
259 pat = nla_data(patattr[NL80211_PKTPAT_PATTERN]); in print_coalesce_handler()
260 mask = nla_data(patattr[NL80211_PKTPAT_MASK]); in print_coalesce_handler()
Dwowlan.c432 struct nlattr *patattr[NUM_NL80211_PKTPAT]; in print_wowlan_handler() local
435 nla_parse(patattr, MAX_NL80211_PKTPAT, in print_wowlan_handler()
437 if (!patattr[NL80211_PKTPAT_MASK] || in print_wowlan_handler()
438 !patattr[NL80211_PKTPAT_PATTERN]) { in print_wowlan_handler()
442 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); in print_wowlan_handler()
443 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]); in print_wowlan_handler()
448 if (patattr[NL80211_PKTPAT_OFFSET]) { in print_wowlan_handler()
450 nla_get_u32(patattr[NL80211_PKTPAT_OFFSET]); in print_wowlan_handler()
454 pat = nla_data(patattr[NL80211_PKTPAT_PATTERN]); in print_wowlan_handler()
455 mask = nla_data(patattr[NL80211_PKTPAT_MASK]); in print_wowlan_handler()