Lines Matching refs:mgmt
68 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_request() local
71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
77 mgmt = skb_put_zero(skb, 24); in ieee80211_send_addba_request()
78 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_request()
79 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
83 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
85 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_addba_request()
87 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_request()
89 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_request()
92 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); in ieee80211_send_addba_request()
94 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_request()
95 mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ; in ieee80211_send_addba_request()
97 mgmt->u.action.u.addba_req.dialog_token = dialog_token; in ieee80211_send_addba_request()
103 mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); in ieee80211_send_addba_request()
105 mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_request()
106 mgmt->u.action.u.addba_req.start_seq_num = in ieee80211_send_addba_request()
959 struct ieee80211_mgmt *mgmt, in ieee80211_process_addba_resp() argument
967 capab = le16_to_cpu(mgmt->u.action.u.addba_resp.capab); in ieee80211_process_addba_resp()
983 if (mgmt->u.action.u.addba_resp.dialog_token != tid_tx->dialog_token) { in ieee80211_process_addba_resp()
1013 if (le16_to_cpu(mgmt->u.action.u.addba_resp.status) in ieee80211_process_addba_resp()
1030 le16_to_cpu(mgmt->u.action.u.addba_resp.timeout); in ieee80211_process_addba_resp()