|
@@ -141,7 +141,7 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
} else {
|
|
|
/* Create entry for this STA in pre-auth list */
|
|
@@ -188,7 +188,7 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa);
|
|
|
return;
|
|
|
}
|
|
@@ -219,7 +219,7 @@ static void lim_process_auth_shared_system_algo(tpAniSirGlobal mac_ctx,
|
|
|
SIR_MAC_AUTH_CHALLENGE_LENGTH);
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -262,7 +262,7 @@ static void lim_process_auth_open_system_algo(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, false);
|
|
|
+ pe_session);
|
|
|
}
|
|
|
|
|
|
static void lim_process_auth_frame_type1(tpAniSirGlobal mac_ctx,
|
|
@@ -423,7 +423,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
/* No Pre-auth context exists for the STA. */
|
|
@@ -442,7 +442,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -478,7 +478,7 @@ static void lim_process_auth_frame_type1(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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
} else {
|
|
@@ -501,7 +501,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -680,7 +680,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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
if (rx_auth_frm_body->type != SIR_MAC_CHALLENGE_TEXT_EID) {
|
|
@@ -711,7 +711,7 @@ static void lim_process_auth_frame_type2(tpAniSirGlobal mac_ctx,
|
|
|
lim_send_auth_mgmt_frame(mac_ctx,
|
|
|
auth_frame, mac_hdr->sa,
|
|
|
LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
lim_restore_from_auth_state(mac_ctx,
|
|
|
eSIR_SME_INVALID_WEP_DEFAULT_KEY,
|
|
|
eSIR_MAC_UNSPEC_FAILURE_REASON,
|
|
@@ -751,7 +751,7 @@ static void lim_process_auth_frame_type2(tpAniSirGlobal mac_ctx,
|
|
|
lim_send_auth_mgmt_frame(mac_ctx,
|
|
|
(tpSirMacAuthFrameBody)encr_auth_frame,
|
|
|
mac_hdr->sa, rx_auth_frm_body->length,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
qdf_mem_free(encr_auth_frame);
|
|
|
return;
|
|
|
}
|
|
@@ -782,7 +782,7 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -806,7 +806,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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -827,7 +827,7 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -848,7 +848,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, false);
|
|
|
+ pe_session);
|
|
|
/* Delete pre-auth context of STA */
|
|
|
lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa);
|
|
|
return;
|
|
@@ -893,7 +893,7 @@ static void lim_process_auth_frame_type3(tpAniSirGlobal mac_ctx,
|
|
|
eSIR_MAC_SUCCESS_STATUS;
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
} else {
|
|
|
pe_warn("Challenge failure for peer "MAC_ADDRESS_STR,
|
|
@@ -912,7 +912,7 @@ static void lim_process_auth_frame_type3(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, false);
|
|
|
+ pe_session);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -1192,7 +1192,7 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
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, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
@@ -1235,7 +1235,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
@@ -1262,7 +1262,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
/* Change the auth-response timeout */
|
|
@@ -1291,7 +1291,7 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
@@ -1319,7 +1319,7 @@ 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, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
@@ -1342,7 +1342,7 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
|
|
|
lim_send_auth_mgmt_frame(mac_ctx, auth_frame,
|
|
|
mac_hdr->sa, LIM_NO_WEP_IN_FC,
|
|
|
- pe_session, false);
|
|
|
+ pe_session);
|
|
|
goto free;
|
|
|
}
|
|
|
if ((sir_convert_auth_frame2_struct(mac_ctx, plainbody,
|