Lines Matching refs:reason

31 	const u8 *reason; /* Reason Code (conditional, 2 octets) */  member
102 mpm_ie->reason = ie + len - 2; in mesh_mpm_parse_peer_mgmt()
496 u16 reason = 0; in plink_timer() local
513 reason = WLAN_REASON_MESH_MAX_RETRIES; in plink_timer()
518 if (!reason) in plink_timer()
519 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT; in plink_timer()
524 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason); in plink_timer()
563 int reason = WLAN_REASON_MESH_PEERING_CANCELLED; in mesh_mpm_plink_close() local
572 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason); in mesh_mpm_plink_close()
967 enum plink_event event, u16 reason) in mesh_mpm_fsm() argument
989 PLINK_CLOSE, reason); in mesh_mpm_fsm()
999 if (!reason) in mesh_mpm_fsm()
1000 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION; in mesh_mpm_fsm()
1004 if (!reason) in mesh_mpm_fsm()
1005 reason = WLAN_REASON_MESH_CLOSE_RCVD; in mesh_mpm_fsm()
1011 PLINK_CLOSE, reason); in mesh_mpm_fsm()
1035 if (!reason) in mesh_mpm_fsm()
1036 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION; in mesh_mpm_fsm()
1040 if (!reason) in mesh_mpm_fsm()
1041 reason = WLAN_REASON_MESH_CLOSE_RCVD; in mesh_mpm_fsm()
1046 sta->mpm_close_reason = reason; in mesh_mpm_fsm()
1048 PLINK_CLOSE, reason); in mesh_mpm_fsm()
1067 if (!reason) in mesh_mpm_fsm()
1068 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION; in mesh_mpm_fsm()
1072 if (!reason) in mesh_mpm_fsm()
1073 reason = WLAN_REASON_MESH_CLOSE_RCVD; in mesh_mpm_fsm()
1078 sta->mpm_close_reason = reason; in mesh_mpm_fsm()
1080 PLINK_CLOSE, reason); in mesh_mpm_fsm()
1099 if (!reason) in mesh_mpm_fsm()
1100 reason = WLAN_REASON_MESH_CLOSE_RCVD; in mesh_mpm_fsm()
1106 sta->mpm_close_reason = reason; in mesh_mpm_fsm()
1110 MAC2STR(sta->addr), reason); in mesh_mpm_fsm()
1113 reason); in mesh_mpm_fsm()
1118 PLINK_CLOSE, reason); in mesh_mpm_fsm()
1137 reason = sta->mpm_close_reason; in mesh_mpm_fsm()
1139 PLINK_CLOSE, reason); in mesh_mpm_fsm()
1168 u16 reason = 0; in mesh_mpm_action_rx() local
1246 WPA_GET_LE16(peer_mgmt_ie.reason)); in mesh_mpm_action_rx()
1355 reason = WLAN_REASON_MESH_MAX_PEERS; in mesh_mpm_action_rx()
1372 reason = WLAN_REASON_MESH_MAX_PEERS; in mesh_mpm_action_rx()
1423 mesh_mpm_fsm(wpa_s, sta, event, reason); in mesh_mpm_action_rx()