Lines Matching refs:action
57 enum ieee80211_self_protected_actioncode action,
259 enum ieee80211_self_protected_actioncode action, in mesh_plink_frame_tx() argument
269 int hdr_len = offsetof(struct ieee80211_mgmt, u.action.u.self_prot) + in mesh_plink_frame_tx()
270 sizeof(mgmt->u.action.u.self_prot); 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()
299 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
305 if (action == WLAN_SP_MESH_PEERING_CONFIRM) { in mesh_plink_frame_tx()
323 switch (action) { in mesh_plink_frame_tx()
356 if (action == WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
361 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx()
543 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_timer() local
601 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_timer()
612 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_timer()
623 if (action) in mesh_plink_timer()
624 mesh_plink_frame_tx(sdata, action, sta->sta.addr, in mesh_plink_timer()
755 enum ieee80211_self_protected_actioncode action = 0; in mesh_plink_fsm() local
776 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_fsm()
788 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
793 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
809 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
812 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
827 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
831 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
844 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
847 action = WLAN_SP_MESH_PEERING_CONFIRM; in mesh_plink_fsm()
863 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
876 if (action) { in mesh_plink_fsm()
877 mesh_plink_frame_tx(sdata, action, sta->sta.addr, in mesh_plink_fsm()
881 if (action == WLAN_SP_MESH_PEERING_OPEN) { in mesh_plink_fsm()
1024 ftype = mgmt->u.action.u.self_prot.action_code; in mesh_process_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()