Home | History | Annotate | Download | only in drivers

Lines Matching refs:mgmt

836 	const struct ieee80211_mgmt *mgmt;
845 mgmt = (const struct ieee80211_mgmt *) buf;
847 fc = le_to_host16(mgmt->frame_control);
862 event.rx_probe_req.sa = mgmt->sa;
863 event.rx_probe_req.da = mgmt->da;
864 event.rx_probe_req.bssid = mgmt->bssid;
872 (os_memcmp(drv->own_addr, mgmt->bssid, ETH_ALEN) == 0 ||
873 is_broadcast_ether_addr(mgmt->bssid))) {
881 if (os_memcmp(drv->own_addr, mgmt->bssid, ETH_ALEN) != 0) {
889 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req))
891 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req));
892 iebuf = mgmt->u.assoc_req.variable;
893 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 0);
896 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req))
898 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req));
899 iebuf = mgmt->u.reassoc_req.variable;
900 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 1);
903 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth))
906 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN);
907 os_memcpy(event.auth.bssid, mgmt->bssid, ETH_ALEN);
908 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg);
910 le_to_host16(mgmt->u.auth.status_code);
912 le_to_host16(mgmt->u.auth.auth_transaction);
913 event.auth.ies = mgmt->u.auth.variable;
915 sizeof(mgmt->u.auth);
1311 const struct ieee80211_mgmt *mgmt;
1348 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
1352 fc = le_to_host16(mgmt->frame_control);
1360 event.rx_mgmt.frame = (const u8 *) mgmt;
1859 const struct ieee80211_mgmt *mgmt;
1862 mgmt = (const struct ieee80211_mgmt *) frm;
1864 (unsigned long) data_len, MAC2STR(mgmt->da));
1866 os_memcpy(mgmt_frm->macaddr, (u8 *)mgmt->da, IEEE80211_ADDR_LEN);