Lines Matching refs:mgmt
420 struct ieee80211_mgmt *mgmt; in ieee80211_send_delba() local
423 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba()
428 mgmt = skb_put_zero(skb, 24); in ieee80211_send_delba()
429 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba()
430 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
434 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
436 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba()
438 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba()
440 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_delba()
443 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba()
445 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba()
446 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba()
450 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba()
451 mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); in ieee80211_send_delba()
458 struct ieee80211_mgmt *mgmt, size_t len) in ieee80211_process_delba() argument
463 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba()
468 mgmt->sa, initiator ? "initiator" : "recipient", in ieee80211_process_delba()
470 le16_to_cpu(mgmt->u.action.u.delba.reason_code)); in ieee80211_process_delba()