Lines Matching refs:mgmt
207 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_resp() local
211 skb = dev_alloc_skb(sizeof(*mgmt) + in ieee80211_send_addba_resp()
218 mgmt = skb_put_zero(skb, 24); in ieee80211_send_addba_resp()
219 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_resp()
220 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp()
224 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp()
226 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_addba_resp()
228 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
230 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_resp()
233 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp()
234 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_resp()
235 mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP; in ieee80211_send_addba_resp()
236 mgmt->u.action.u.addba_resp.dialog_token = dialog_token; in ieee80211_send_addba_resp()
243 mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); in ieee80211_send_addba_resp()
244 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_resp()
245 mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); in ieee80211_send_addba_resp()
463 struct ieee80211_mgmt *mgmt, in ieee80211_process_addba_request() argument
472 dialog_token = mgmt->u.action.u.addba_req.dialog_token; in ieee80211_process_addba_request()
473 timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout); in ieee80211_process_addba_request()
475 le16_to_cpu(mgmt->u.action.u.addba_req.start_seq_num) >> 4; in ieee80211_process_addba_request()
477 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in ieee80211_process_addba_request()
485 elems = ieee802_11_parse_elems(mgmt->u.action.u.addba_req.variable, in ieee80211_process_addba_request()