qcacld-3.0: Replace tPESession with struct pe_session

In order to align with the Linux coding style replace all instances of
typedef tPESession with struct pe_session.

Change-Id: Id339ff06ca229506a82a9959d841f5c406a41b87
CRs-Fixed: 2352192
This commit is contained in:
Jeff Johnson 2018-11-18 19:12:51 -08:00 • committed by Nitesh Shrivastav
commit c47d7b1b41
3 changed files with 3 additions and 3 deletions

View file

@ -566,7 +566,7 @@ struct pe_session {
uint32_t dfs_regdomain;
};
typedef struct pe_session tPESession, *tpPESession;
typedef struct pe_session *tpPESession;
struct session_params {
uint16_t session_id;

View file

@ -808,7 +808,7 @@ QDF_STATUS pe_open(tpAniSirGlobal pMac, struct cds_config_info *cds_cfg)
}
pMac->lim.gpSession =
qdf_mem_malloc(sizeof(tPESession) * pMac->lim.maxBssId);
qdf_mem_malloc(sizeof(struct pe_session) * pMac->lim.maxBssId);
if (!pMac->lim.gpSession) {
status = QDF_STATUS_E_NOMEM;
goto pe_open_psession_fail;

View file

@ -582,7 +582,7 @@ tpPESession pe_create_session(tpAniSirGlobal pMac,
}
session_ptr = &pMac->lim.gpSession[i];
qdf_mem_set((void *)session_ptr, sizeof(tPESession), 0);
qdf_mem_set((void *)session_ptr, sizeof(struct pe_session), 0);
/* Allocate space for Station Table for this session. */
session_ptr->dph.dphHashTable.pHashTable =
qdf_mem_malloc(sizeof(tpDphHashNode) * (numSta + 1));