Lines Matching refs:mgmt
1084 struct ieee80211_mgmt *mgmt; in ieee80211_send_auth() local
1112 mgmt = skb_put_zero(skb, 24 + 6); in ieee80211_send_auth()
1113 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_auth()
1115 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_auth()
1116 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_auth()
1117 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_auth()
1118 mgmt->u.auth.auth_alg = cpu_to_le16(auth_alg); in ieee80211_send_auth()
1119 mgmt->u.auth.auth_transaction = cpu_to_le16(transaction); in ieee80211_send_auth()
1120 mgmt->u.auth.status_code = cpu_to_le16(status); in ieee80211_send_auth()
1127 mgmt->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_send_auth()
1147 struct ieee80211_mgmt *mgmt = (void *)frame_buf; in ieee80211_send_deauth_disassoc() local
1150 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in ieee80211_send_deauth_disassoc()
1151 mgmt->duration = 0; /* initialize only */ in ieee80211_send_deauth_disassoc()
1152 mgmt->seq_ctrl = 0; /* initialize only */ in ieee80211_send_deauth_disassoc()
1153 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_deauth_disassoc()
1154 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_deauth_disassoc()
1155 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_deauth_disassoc()
1157 mgmt->u.deauth.reason_code = cpu_to_le16(reason); in ieee80211_send_deauth_disassoc()
1168 skb_put_data(skb, mgmt, IEEE80211_DEAUTH_FRAME_LEN); in ieee80211_send_deauth_disassoc()
1480 struct ieee80211_mgmt *mgmt; in ieee80211_build_probe_req() local
1506 mgmt = (struct ieee80211_mgmt *) skb->data; in ieee80211_build_probe_req()
1507 memcpy(mgmt->da, dst, ETH_ALEN); in ieee80211_build_probe_req()
1508 memcpy(mgmt->bssid, dst, ETH_ALEN); in ieee80211_build_probe_req()
3686 struct ieee80211_mgmt *mgmt; in ieee80211_send_action_csa() local
3706 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_send_action_csa()
3707 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_action_csa()
3710 eth_broadcast_addr(mgmt->da); in ieee80211_send_action_csa()
3711 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_action_csa()
3713 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_action_csa()
3716 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_send_action_csa()
3718 mgmt->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; in ieee80211_send_action_csa()
3719 mgmt->u.action.u.chan_switch.action_code = WLAN_ACTION_SPCT_CHL_SWITCH; in ieee80211_send_action_csa()