Lines Matching refs:mgmt
623 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local
632 mgmt = (void *)skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame()
634 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame()
635 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
636 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
637 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
638 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
646 skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); in mwifiex_construct_tdls_action_frame()
647 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame()
648 mgmt->u.action.u.tdls_discover_resp.action_code = in mwifiex_construct_tdls_action_frame()
650 mgmt->u.action.u.tdls_discover_resp.dialog_token = in mwifiex_construct_tdls_action_frame()
652 mgmt->u.action.u.tdls_discover_resp.capability = in mwifiex_construct_tdls_action_frame()
655 memmove(pos + ETH_ALEN, &mgmt->u.action.category, in mwifiex_construct_tdls_action_frame()
656 sizeof(mgmt->u.action.u.tdls_discover_resp)); in mwifiex_construct_tdls_action_frame()