Lines Matching refs:action
16 #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2)
207 enum ieee80211_self_protected_actioncode action, in mesh_plink_frame_tx() argument
217 int hdr_len = offsetof(struct ieee80211_mgmt, u.action.u.self_prot) + in mesh_plink_frame_tx()
218 sizeof(mgmt->u.action.u.self_prot); in mesh_plink_frame_tx()
246 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; in mesh_plink_frame_tx()
247 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx()
249 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
255 if (action == WLAN_SP_MESH_PEERING_CONFIRM) { in mesh_plink_frame_tx()
273 switch (action) { in mesh_plink_frame_tx()
306 if (action == WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
311 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
586 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_timer() local
644 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_timer()
655 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_timer()
666 if (action) in mesh_plink_timer()
667 mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr, in mesh_plink_timer()
798 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_fsm() local
819 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_fsm()
831 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
836 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
852 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
855 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
870 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
874 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
887 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
890 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
906 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
919 if (action) { in mesh_plink_fsm()
920 mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr, in mesh_plink_fsm()
925 if (action == WLAN_SP_MESH_PEERING_OPEN) { in mesh_plink_fsm()
1068 ftype = mgmt->u.action.u.self_prot.action_code; in mesh_process_plink_frame()
1165 baseaddr = mgmt->u.action.u.self_prot.variable; in mesh_rx_plink_frame()
1166 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame()
1167 if (mgmt->u.action.u.self_prot.action_code == in mesh_rx_plink_frame()