Lines Matching refs:mgmt
265 struct ieee80211_mgmt *mgmt;
270 sizeof(mgmt->u.action.u.self_prot);
289 mgmt = (struct ieee80211_mgmt *) skb_put(skb, hdr_len);
290 memset(mgmt, 0, hdr_len);
291 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
293 memcpy(mgmt->da, da, ETH_ALEN);
294 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
295 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
296 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED;
297 mgmt->u.action.u.self_prot.action_code = action;
996 struct ieee80211_mgmt *mgmt,
1020 ftype = mgmt->u.action.u.self_prot.action_code;
1047 sta = sta_info_get(sdata, mgmt->sa);
1052 mgmt->sa);
1062 sta = mesh_sta_info_get(sdata, mgmt->sa, elems);
1070 mgmt->sa, 0, plid,
1092 struct ieee80211_mgmt *mgmt, size_t len,
1107 if (is_multicast_ether_addr(mgmt->da)) {
1113 baseaddr = mgmt->u.action.u.self_prot.variable;
1114 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt;
1115 if (mgmt->u.action.u.self_prot.action_code ==
1121 mesh_process_plink_frame(sdata, mgmt, &elems);