Lines Matching refs:action
16 #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2)
215 enum ieee80211_self_protected_actioncode action, in mesh_plink_frame_tx() argument
226 int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.self_prot); 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()
265 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
277 if (action == WLAN_SP_MESH_PEERING_CONFIRM) { in mesh_plink_frame_tx()
300 switch (action) { in mesh_plink_frame_tx()
333 if (action == WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
338 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
661 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_timer() local
719 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_timer()
730 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_timer()
741 if (action) in mesh_plink_timer()
742 mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr, in mesh_plink_timer()
871 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_fsm() local
893 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_fsm()
905 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
910 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
926 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
929 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
944 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
948 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
961 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
965 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
981 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
996 if (action) { in mesh_plink_fsm()
997 mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr, in mesh_plink_fsm()
1002 if (action == WLAN_SP_MESH_PEERING_OPEN) { in mesh_plink_fsm()
1144 ftype = mgmt->u.action.u.self_prot.action_code; in mesh_process_plink_frame()
1241 baseaddr = mgmt->u.action.u.self_prot.variable; in mesh_rx_plink_frame()
1242 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame()
1243 if (mgmt->u.action.u.self_prot.action_code == in mesh_rx_plink_frame()