Lines Matching refs:mgmt

265 	struct ieee80211_mgmt *mgmt;  in mesh_plink_frame_tx()  local
270 sizeof(mgmt->u.action.u.self_prot); in mesh_plink_frame_tx()
289 mgmt = (struct ieee80211_mgmt *) skb_put(skb, hdr_len); in mesh_plink_frame_tx()
290 memset(mgmt, 0, hdr_len); in mesh_plink_frame_tx()
291 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_plink_frame_tx()
293 memcpy(mgmt->da, da, ETH_ALEN); in mesh_plink_frame_tx()
294 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx()
295 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx()
296 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; in mesh_plink_frame_tx()
297 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx()
1000 struct ieee80211_mgmt *mgmt, in mesh_process_plink_frame() argument
1024 ftype = mgmt->u.action.u.self_prot.action_code; in mesh_process_plink_frame()
1051 sta = sta_info_get(sdata, mgmt->sa); in mesh_process_plink_frame()
1056 mgmt->sa); in mesh_process_plink_frame()
1066 sta = mesh_sta_info_get(sdata, mgmt->sa, elems); in mesh_process_plink_frame()
1074 mgmt->sa, 0, plid, in mesh_process_plink_frame()
1096 struct ieee80211_mgmt *mgmt, size_t len, in mesh_rx_plink_frame() argument
1111 if (is_multicast_ether_addr(mgmt->da)) { in mesh_rx_plink_frame()
1117 baseaddr = mgmt->u.action.u.self_prot.variable; in mesh_rx_plink_frame()
1118 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame()
1119 if (mgmt->u.action.u.self_prot.action_code == in mesh_rx_plink_frame()
1125 mesh_process_plink_frame(sdata, mgmt, &elems); in mesh_rx_plink_frame()