Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:lastId

127 	sm->lastId = -1; /* new session - make sure this does not match with
358 sm->lastId = sm->reqId;
499 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId)
503 * EAP-Success/Failure with lastId + 1 even though RFC 3748 and
504 * RFC 4137 require that reqId == lastId. In addition, it looks like
505 * Ringmaster v2.1.2.0 would be using lastId + 2 in EAP-Success.
511 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) ||
512 reqId == ((lastId + 2) & 0xff))) {
515 "reqId=%d lastId=%d (these are supposed to be "
516 "same)", reqId, lastId);
520 "lastId=%d", reqId, lastId);
592 duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
596 * RFC 4137 uses (reqId == lastId) as the only
618 (sm->reqId == sm->lastId ||
619 eap_success_workaround(sm, sm->reqId, sm->lastId)))
627 (sm->reqId == sm->lastId ||
628 eap_success_workaround(sm, sm->reqId, sm->lastId)))