qcacld-3.0: Replace typedef tSirSupportedRates

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 tSirSupportedRates 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: I5007379a50223b6de85830e7ae389e65cdb8e4d3
CRs-Fixed: 2392398
This commit is contained in:
Jeff Johnson
2019-02-01 19:36:34 -08:00
committed by nshrivas
parent a961081111
commit ecd4f21b4a
10 changed files with 127 additions and 112 deletions

View File

@@ -320,7 +320,7 @@ typedef struct sap_AssocMacAddr_s {
uint8_t ShortGI40Mhz;
uint8_t ShortGI20Mhz;
uint8_t Support40Mhz;
tSirSupportedRates supportedRates;
struct supported_rates supportedRates;
} tSap_AssocMacAddr, *tpSap_AssocMacAddr;
/*struct corresponding to SAP_ASSOC_STA_CALLBACK_EVENT */