Lines Matching refs:reqId
224 /* parse rxReq, rxSuccess, rxFailure, reqId, reqMethod */
341 sm->eapRespData = eap_sm_buildNak(sm, sm->reqId);
379 * eapRespData = m.buildResp(reqId)
430 sm->lastId = sm->reqId;
466 sm->eapRespData = eap_sm_buildIdentity(sm, sm->reqId, 0);
484 sm->eapRespData = eap_sm_buildNotify(sm->reqId);
564 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId)
569 * RFC 4137 require that reqId == lastId. In addition, it looks like
576 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) ||
577 reqId == ((lastId + 2) & 0xff))) {
580 "reqId=%d lastId=%d (these are supposed to be "
581 "same)", reqId, lastId);
584 wpa_printf(MSG_DEBUG, "EAP: EAP-Success Id mismatch - reqId=%d "
585 "lastId=%d", reqId, lastId);
630 duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
634 * RFC 4137 uses (reqId == lastId) as the only verification for
662 (sm->reqId == sm->lastId ||
663 eap_success_workaround(sm, sm->reqId, sm->lastId)))
671 (sm->reqId == sm->lastId ||
672 eap_success_workaround(sm, sm->reqId, sm->lastId)))
1212 sm->reqId = 0;
1230 sm->reqId = hdr->identifier;
1261 sm->reqId, sm->reqMethod, sm->reqVendor,
1281 sm->reqMethod, sm->reqId);