Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:reason

27 	const u8 *reason; /* Reason Code (conditional, 2 octets) */
98 /* close reason is always present at end for close */
102 mpm_ie->reason = ie + len - 2;
315 ie_len += 2; /* reason code */
421 u16 reason = 0;
438 reason = WLAN_REASON_MESH_MAX_RETRIES;
443 if (!reason)
444 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT;
449 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason);
488 int reason = WLAN_REASON_MESH_PEERING_CANCELLED;
492 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason);
831 u16 reason = 0;
856 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
860 if (!reason)
861 reason = WLAN_REASON_MESH_CLOSE_RCVD;
867 PLINK_CLOSE, reason);
890 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
894 if (!reason)
895 reason = WLAN_REASON_MESH_CLOSE_RCVD;
900 sta->mpm_close_reason = reason;
902 PLINK_CLOSE, reason);
921 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
925 if (!reason)
926 reason = WLAN_REASON_MESH_CLOSE_RCVD;
931 sta->mpm_close_reason = reason;
933 PLINK_CLOSE, reason);
948 reason = WLAN_REASON_MESH_CLOSE_RCVD;
954 sta->mpm_close_reason = reason;
957 " closed with reason %d",
958 MAC2STR(sta->addr), reason);
966 PLINK_CLOSE, reason);
985 reason = sta->mpm_close_reason;
987 PLINK_CLOSE, reason);