Lines Matching refs:mgmt
733 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local
741 mgmt = skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame()
743 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame()
744 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
745 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
746 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
747 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
755 skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); in mwifiex_construct_tdls_action_frame()
756 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame()
757 mgmt->u.action.u.tdls_discover_resp.action_code = in mwifiex_construct_tdls_action_frame()
759 mgmt->u.action.u.tdls_discover_resp.dialog_token = in mwifiex_construct_tdls_action_frame()
761 mgmt->u.action.u.tdls_discover_resp.capability = in mwifiex_construct_tdls_action_frame()
764 memmove(pos + ETH_ALEN, &mgmt->u.action.category, in mwifiex_construct_tdls_action_frame()
765 sizeof(mgmt->u.action.u.tdls_discover_resp)); in mwifiex_construct_tdls_action_frame()