qcacld-3.0: Replace typedef tSirEseBcnReportBssInfo
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 tSirEseBcnReportBssInfo 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: I241243a7e3313870cf08731775eb5bbf21f2cc62 CRs-Fixed: 2394251
This commit is contained in:
@@ -831,17 +831,18 @@ typedef struct sAniGetTsmStatsRsp {
|
|||||||
void *tsmStatsReq; /* tsm stats request backup */
|
void *tsmStatsReq; /* tsm stats request backup */
|
||||||
} tAniGetTsmStatsRsp, *tpAniGetTsmStatsRsp;
|
} tAniGetTsmStatsRsp, *tpAniGetTsmStatsRsp;
|
||||||
|
|
||||||
typedef struct sSirEseBcnReportBssInfo {
|
struct ese_bcn_report_bss_info {
|
||||||
tBcnReportFields bcnReportFields;
|
tBcnReportFields bcnReportFields;
|
||||||
uint8_t ieLen;
|
uint8_t ieLen;
|
||||||
uint8_t *pBuf;
|
uint8_t *pBuf;
|
||||||
} tSirEseBcnReportBssInfo, *tpSirEseBcnReportBssInfo;
|
};
|
||||||
|
|
||||||
typedef struct sSirEseBcnReportRsp {
|
typedef struct sSirEseBcnReportRsp {
|
||||||
uint16_t measurementToken;
|
uint16_t measurementToken;
|
||||||
uint8_t flag; /* Flag to report measurement done and more data */
|
uint8_t flag; /* Flag to report measurement done and more data */
|
||||||
uint8_t numBss;
|
uint8_t numBss;
|
||||||
tSirEseBcnReportBssInfo bcnRepBssInfo[SIR_BCN_REPORT_MAX_BSS_DESC];
|
struct ese_bcn_report_bss_info
|
||||||
|
bcnRepBssInfo[SIR_BCN_REPORT_MAX_BSS_DESC];
|
||||||
} tSirEseBcnReportRsp, *tpSirEseBcnReportRsp;
|
} tSirEseBcnReportRsp, *tpSirEseBcnReportRsp;
|
||||||
|
|
||||||
#define TSRS_11AG_RATE_6MBPS 0xC
|
#define TSRS_11AG_RATE_6MBPS 0xC
|
||||||
|
Reference in New Issue
Block a user