Lines Matching refs:mgmt
361 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)frame_buf; in mwifiex_host_mlme_disconnect() local
364 mgmt->frame_control = cpu_to_le16(IEEE80211_STYPE_DEAUTH); in mwifiex_host_mlme_disconnect()
365 mgmt->duration = 0; in mwifiex_host_mlme_disconnect()
366 mgmt->seq_ctrl = 0; in mwifiex_host_mlme_disconnect()
367 mgmt->u.deauth.reason_code = cpu_to_le16(reason_code); in mwifiex_host_mlme_disconnect()
370 eth_broadcast_addr(mgmt->da); in mwifiex_host_mlme_disconnect()
371 memcpy(mgmt->sa, in mwifiex_host_mlme_disconnect()
374 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_host_mlme_disconnect()
378 memcpy(mgmt->da, priv->curr_addr, ETH_ALEN); in mwifiex_host_mlme_disconnect()
379 memcpy(mgmt->sa, sa, ETH_ALEN); in mwifiex_host_mlme_disconnect()
380 memcpy(mgmt->bssid, priv->curr_addr, ETH_ALEN); in mwifiex_host_mlme_disconnect()