Home | History | Annotate | Download | only in hostapd

Lines Matching refs:mgmt

569 	struct ieee80211_mgmt *mgmt;
579 mgmt = (struct ieee80211_mgmt *) buf;
580 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
582 os_memcpy(mgmt->da, addr, ETH_ALEN);
583 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN);
584 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN);
585 mgmt->u.action.category = WLAN_ACTION_WNM;
586 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ;
587 mgmt->u.action.u.bss_tm_req.dialog_token = 1;
588 mgmt->u.action.u.bss_tm_req.req_mode =
590 mgmt->u.action.u.bss_tm_req.disassoc_timer =
592 mgmt->u.action.u.bss_tm_req.validity_interval = 0;
594 pos = mgmt->u.action.u.bss_tm_req.variable;
612 struct ieee80211_mgmt *mgmt;
636 mgmt = (struct ieee80211_mgmt *) buf;
637 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
639 os_memcpy(mgmt->da, addr, ETH_ALEN);
640 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN);
641 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN);
642 mgmt->u.action.category = WLAN_ACTION_WNM;
643 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ;
644 mgmt->u.action.u.bss_tm_req.dialog_token = 1;
645 mgmt->u.action.u.bss_tm_req.req_mode =
647 mgmt->u.action.u.bss_tm_req.disassoc_timer =
649 mgmt->u.action.u.bss_tm_req.validity_interval = 0x01;
651 pos = mgmt->u.action.u.bss_tm_req.variable;