qcacld-3.0: Replace typedef tSirSmeChanInfo

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 tSirSmeChanInfo 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, as well as to be more specific on how the
struct is used.

Change-Id: Ic9a596d05a7c4c0727264c33e865edd4a9786dac
CRs-Fixed: 2394998
This commit is contained in:
Jeff Johnson
2019-02-03 10:15:46 -08:00
کامیت شده توسط nshrivas
والد 2df04b8430
کامیت a7d5b54c7e
11فایلهای تغییر یافته به همراه18 افزوده شده و 18 حذف شده

مشاهده پرونده

@@ -267,7 +267,7 @@ typedef struct sap_StationAssocReassocCompleteEvent_s {
uint32_t statusCode;
bool wmmEnabled;
uint8_t timingMeasCap;
tSirSmeChanInfo chan_info;
struct oem_channel_info chan_info;
bool ampdu;
bool sgi_enable;
bool tx_stbc;

مشاهده پرونده

@@ -1357,7 +1357,7 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
tSap_Event sap_ap_event = {0};
struct mac_context *mac_ctx;
tSirSmeChanInfo *chaninfo;
struct oem_channel_info *chaninfo;
tSap_StationAssocIndication *assoc_ind;
tSap_StartBssCompleteEvent *bss_complete;
struct sap_ch_selected_s *acs_selected;