Lines Matching refs:mgmt
471 struct ieee80211_mgmt *mgmt; in ieee80211_send_delba() local
474 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba()
479 mgmt = skb_put_zero(skb, 24); in ieee80211_send_delba()
480 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba()
481 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
485 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba()
487 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba()
489 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba()
491 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_delba()
494 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba()
496 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba()
497 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba()
501 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba()
502 mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); in ieee80211_send_delba()
509 struct ieee80211_mgmt *mgmt, size_t len) in ieee80211_process_delba() argument
514 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba()
519 mgmt->sa, initiator ? "initiator" : "recipient", in ieee80211_process_delba()
521 le16_to_cpu(mgmt->u.action.u.delba.reason_code)); in ieee80211_process_delba()