qcacld-3.0: Fix csr_roam_issue_ft_preauth_req() context param

Currently csr_roam_ft_pre_auth_rsp_processor() takes a tHalHandle
context param. However CSR is an internal module, and hence it should
be using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalhandle, so update the API.

Change-Id: If8ca89e68cd0f38a65a68e1702ab3a43b130a277
CRs-Fixed: 2255547
Šī revīzija ir iekļauta:
Jeff Johnson
2018-06-03 14:40:02 -07:00
vecāks 8aef3f695a
revīzija 639f6141eb
2 mainīti faili ar 13 papildinājumiem un 13 dzēšanām

Parādīt failu

@@ -953,12 +953,20 @@ QDF_STATUS csr_send_mb_get_associated_stas_req_msg(tpAniSirGlobal pMac,
QDF_STATUS
csr_send_chng_mcc_beacon_interval(tpAniSirGlobal pMac, uint32_t sessionId);
/**
* csr_roam_ft_pre_auth_rsp_processor() - Handle the preauth response
* @mac_ctx: Global MAC context
* @preauth_rsp: Received preauthentication response
*
* Return: None
*/
#ifdef WLAN_FEATURE_HOST_ROAM
void csr_roam_ft_pre_auth_rsp_processor(tHalHandle hHal,
tpSirFTPreAuthRsp pFTPreAuthRsp);
void csr_roam_ft_pre_auth_rsp_processor(tpAniSirGlobal mac_ctx,
tpSirFTPreAuthRsp pFTPreAuthRsp);
#else
static inline void csr_roam_ft_pre_auth_rsp_processor(tHalHandle hHal,
tpSirFTPreAuthRsp pFTPreAuthRsp)
static inline
void csr_roam_ft_pre_auth_rsp_processor(tpAniSirGlobal mac_ctx,
tpSirFTPreAuthRsp pFTPreAuthRsp)
{}
#endif

Parādīt failu

@@ -603,17 +603,9 @@ QDF_STATUS csr_roam_issue_ft_preauth_req(tHalHandle hal, uint32_t session_id,
return umac_send_mb_message_to_mac(preauth_req);
}
/**
* csr_roam_ft_pre_auth_rsp_processor() - Handle the preauth response
* @hal: Global Handle
* preauth_rsp: Received preauthentication response
*
* Return: None
*/
void csr_roam_ft_pre_auth_rsp_processor(tHalHandle hal,
void csr_roam_ft_pre_auth_rsp_processor(tpAniSirGlobal mac_ctx,
tpSirFTPreAuthRsp preauth_rsp)
{
tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal);
QDF_STATUS status = QDF_STATUS_SUCCESS;
struct csr_roam_info roam_info;
eCsrAuthType conn_Auth_type;