Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:reason

29 	const u8 *reason; /* Reason Code (conditional, 2 octets) */
96 /* close reason is always present at end for close */
100 mpm_ie->reason = ie + len - 2;
315 ie_len += 2; /* reason code */
422 u16 reason = 0;
439 reason = WLAN_REASON_MESH_MAX_RETRIES;
444 if (!reason)
445 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT;
450 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason);
489 int reason = WLAN_REASON_MESH_PEERING_CANCELLED;
493 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason);
868 enum plink_event event, u16 reason)
890 PLINK_CLOSE, reason);
900 if (!reason)
901 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
905 if (!reason)
906 reason = WLAN_REASON_MESH_CLOSE_RCVD;
912 PLINK_CLOSE, reason);
936 if (!reason)
937 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
941 if (!reason)
942 reason = WLAN_REASON_MESH_CLOSE_RCVD;
947 sta->mpm_close_reason = reason;
949 PLINK_CLOSE, reason);
968 if (!reason)
969 reason = WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION;
973 if (!reason)
974 reason = WLAN_REASON_MESH_CLOSE_RCVD;
979 sta->mpm_close_reason = reason;
981 PLINK_CLOSE, reason);
1000 if (!reason)
1001 reason = WLAN_REASON_MESH_CLOSE_RCVD;
1007 sta->mpm_close_reason = reason;
1010 " closed with reason %d",
1011 MAC2STR(sta->addr), reason);
1018 reason);
1023 PLINK_CLOSE, reason);
1042 reason = sta->mpm_close_reason;
1044 PLINK_CLOSE, reason);
1073 u16 reason = 0;
1150 wpa_printf(MSG_DEBUG, "MPM: close reason=%u",
1151 WPA_GET_LE16(peer_mgmt_ie.reason));
1210 reason = WLAN_REASON_MESH_MAX_PEERS;
1227 reason = WLAN_REASON_MESH_MAX_PEERS;
1278 mesh_mpm_fsm(wpa_s, sta, event, reason);