Lines Matching full:mgmt

16 #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2)  argument
221 struct ieee80211_mgmt *mgmt; in mesh_plink_frame_tx() local
256 mgmt = skb_put_zero(skb, hdr_len); in mesh_plink_frame_tx()
257 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_plink_frame_tx()
259 memcpy(mgmt->da, da, ETH_ALEN); in mesh_plink_frame_tx()
260 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx()
261 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx()
262 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; in mesh_plink_frame_tx()
263 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx()
1123 struct ieee80211_mgmt *mgmt, in mesh_process_plink_frame() argument
1148 ftype = mgmt->u.action.u.self_prot.action_code; in mesh_process_plink_frame()
1175 sta = sta_info_get(sdata, mgmt->sa); in mesh_process_plink_frame()
1180 mgmt->sa); in mesh_process_plink_frame()
1190 sta = mesh_sta_info_get(sdata, mgmt->sa, elems, rx_status); in mesh_process_plink_frame()
1198 mgmt->sa, 0, plid, in mesh_process_plink_frame()
1211 sta->mesh->aid = get_unaligned_le16(PLINK_CNF_AID(mgmt)); in mesh_process_plink_frame()
1224 struct ieee80211_mgmt *mgmt, size_t len, in mesh_rx_plink_frame() argument
1239 if (is_multicast_ether_addr(mgmt->da)) { in mesh_rx_plink_frame()
1245 baseaddr = mgmt->u.action.u.self_prot.variable; in mesh_rx_plink_frame()
1246 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame()
1247 if (mgmt->u.action.u.self_prot.action_code == in mesh_rx_plink_frame()
1257 mesh_process_plink_frame(sdata, mgmt, elems, rx_status); in mesh_rx_plink_frame()