|
@@ -141,7 +141,8 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_AUTH_ALGO_NOT_SUPPORTED_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
} else {
|
|
|
/* Create entry for this STA in pre-auth list */
|
|
@@ -188,7 +189,8 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_UNSPEC_FAILURE_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa);
|
|
|
return;
|
|
|
}
|
|
@@ -219,7 +221,8 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
auth_node->challengeText,
|
|
|
SIR_MAC_AUTH_CHALLENGE_LENGTH);
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -262,7 +265,8 @@ static void lim_process_auth_open_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
rx_auth_frm_body->authTransactionSeqNumber + 1;
|
|
|
auth_frame->authStatusCode = eSIR_MAC_SUCCESS_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame, mac_hdr->sa,
|
|
|
- LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
}
|
|
|
|
|
|
static void lim_process_auth_frame_type1(tpAniSirGlobal mac_ctx,
|
|
@@ -427,7 +431,8 @@ static void lim_process_auth_frame_type1(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_UNSPEC_FAILURE_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
/* No Pre-auth context exists for the STA. */
|
|
@@ -466,7 +471,8 @@ static void lim_process_auth_frame_type1(tpAniSirGlobal mac_ctx,
|
|
|
auth_frame->authStatusCode =
|
|
|
eSIR_MAC_AUTH_ALGO_NOT_SUPPORTED_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
} else {
|
|
@@ -489,7 +495,8 @@ static void lim_process_auth_frame_type1(tpAniSirGlobal mac_ctx,
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa,
|
|
|
- LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -671,7 +678,7 @@ static void lim_process_auth_frame_type2(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_AUTH_ALGO_NOT_SUPPORTED_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session);
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
if (rx_auth_frm_body->type != SIR_MAC_CHALLENGE_TEXT_EID) {
|
|
@@ -704,7 +711,8 @@ static void lim_process_auth_frame_type2(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_CHALLENGE_FAILURE_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx,
|
|
|
auth_frame, mac_hdr->sa,
|
|
|
- LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
lim_restore_from_auth_state(mac_ctx,
|
|
|
eSIR_SME_INVALID_WEP_DEFAULT_KEY,
|
|
|
eSIR_MAC_UNSPEC_FAILURE_REASON,
|
|
@@ -737,7 +745,8 @@ static void lim_process_auth_frame_type2(tpAniSirGlobal mac_ctx,
|
|
|
pe_session->limMlmState));
|
|
|
lim_send_auth_mgmt_frame(mac_ctx,
|
|
|
(tpSirMacAuthFrameBody)encr_auth_frame,
|
|
|
- mac_hdr->sa, LIM_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
|
|
|
return;
|
|
|
}
|
|
@@ -768,7 +777,8 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
auth_frame->authStatusCode =
|
|
|
eSIR_MAC_AUTH_FRAME_OUT_OF_SEQ_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -794,7 +804,7 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa,
|
|
|
LIM_NO_WEP_IN_FC,
|
|
|
- pe_session);
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -815,7 +825,8 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
auth_frame->authStatusCode =
|
|
|
eSIR_MAC_AUTH_FRAME_OUT_OF_SEQ_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -836,7 +847,8 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_AUTH_RSP_TIMEOUT_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
/* Delete pre-auth context of STA */
|
|
|
lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa);
|
|
|
return;
|
|
@@ -881,7 +893,8 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
auth_frame->authStatusCode =
|
|
|
eSIR_MAC_SUCCESS_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
} else {
|
|
|
lim_log(mac_ctx, LOGW,
|
|
@@ -901,7 +914,8 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
auth_frame->authStatusCode =
|
|
|
eSIR_MAC_CHALLENGE_FAILURE_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -1147,7 +1161,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
FL("rx Auth frm with wep bit set role=%d %pM"),
|
|
|
GET_LIM_SYSTEM_ROLE(pe_session), mac_hdr->sa);
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1192,7 +1207,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
auth_frame.authStatusCode =
|
|
|
eSIR_MAC_CHALLENGE_FAILURE_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1219,7 +1235,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
auth_frame.authStatusCode =
|
|
|
eSIR_MAC_AUTH_FRAME_OUT_OF_SEQ_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
/* Change the auth-response timeout */
|
|
@@ -1248,7 +1265,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
eSIR_MAC_AUTH_FRAME_OUT_OF_SEQ_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1276,7 +1294,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
auth_frame.authStatusCode =
|
|
|
eSIR_MAC_CHALLENGE_FAILURE_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1299,7 +1318,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
eSIR_MAC_CHALLENGE_FAILURE_STATUS;
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, &auth_frame,
|
|
|
- mac_hdr->sa, LIM_NO_WEP_IN_FC, pe_session);
|
|
|
+ mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
+ pe_session, false);
|
|
|
return;
|
|
|
}
|
|
|
if ((sir_convert_auth_frame2_struct(mac_ctx, plainbody,
|