Home | History | Annotate | Download | only in iw

Lines Matching refs:attrs

102 static void parse_cqm_event(struct nlattr **attrs)
110 struct nlattr *cqm_attr = attrs[NL80211_ATTR_CQM];
144 if (attrs[NL80211_ATTR_MAC]) {
149 mac_addr_n2a(buf, nla_data(attrs[NL80211_ATTR_MAC]));
177 static void parse_mic_failure(struct nlattr **attrs)
181 if (attrs[NL80211_ATTR_MAC]) {
183 mac_addr_n2a(addr, nla_data(attrs[NL80211_ATTR_MAC]));
187 if (attrs[NL80211_ATTR_KEY_SEQ] &&
188 nla_len(attrs[NL80211_ATTR_KEY_SEQ]) == 6) {
189 unsigned char *seq = nla_data(attrs[NL80211_ATTR_KEY_SEQ]);
193 if (attrs[NL80211_ATTR_KEY_TYPE]) {
195 nla_get_u32(attrs[NL80211_ATTR_KEY_TYPE]);
199 if (attrs[NL80211_ATTR_KEY_IDX]) {
200 __u8 key_id = nla_get_u8(attrs[NL80211_ATTR_KEY_IDX]);
207 static void parse_wowlan_wake_event(struct nlattr **attrs)
213 if (!attrs[NL80211_ATTR_WOWLAN_TRIGGERS]) {
219 nla_data(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]),
220 nla_len(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]), NULL);