qcacld-3.0: Replace typedef tSirTsmIE

The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirTsmIE typedef does not meet
any of those criteria, so replace it (and the "tp" variant) with a
reference to the underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names
and so-called Hungarian notation, so in conjunction rename the
underlying struct to be in compliance.

Change-Id: I9c0784f93fa67b571bb816ded4a137f4435accfc
CRs-Fixed: 2394249
Tento commit je obsažen v:
Jeff Johnson
2019-02-02 18:29:24 -08:00
odevzdal nshrivas
rodič 39f94e38aa
revize 1482ae4140
2 změnil soubory, kde provedl 5 přidání a 4 odebrání

Zobrazit soubor

@@ -778,13 +778,14 @@ typedef struct sESETspecTspecInfo {
tTspecInfo tspec[SIR_ESE_MAX_TSPEC_IES];
} tESETspecInfo;
typedef struct sSirTsmIE {
struct tsm_ie {
uint8_t tsid;
uint8_t state;
uint16_t msmt_interval;
} tSirTsmIE, *tpSirTsmIE;
};
typedef struct sSirSmeTsmIEInd {
tSirTsmIE tsmIe;
struct tsm_ie tsmIe;
uint8_t sessionId;
} tSirSmeTsmIEInd, *tpSirSmeTsmIEInd;
typedef struct sAniTrafStrmMetrics {

Zobrazit soubor

@@ -1095,7 +1095,7 @@ struct csr_roam_info {
uint32_t dtimPeriod;
#ifdef FEATURE_WLAN_ESE
bool isESEAssoc;
tSirTsmIE tsmIe;
struct tsm_ie tsmIe;
uint32_t timestamp[2];
uint16_t tsmRoamDelay;
tSirEseBcnReportRsp *pEseBcnReportRsp;