wlan: Send frequency of channel as part of full scan results.

In full scan results, framework expects the frequency of the
channel instead of channel number.
Hence passing frequency of channel with the full scan results.

CRs-Fixed: 725788

Change-Id: I42df8aa549b969d94e40c838b3c333b270166272
wlan: Link Layer Stats, implementation of interface Tx/Rx statistics

LLstats Implementation for Tx/Rx statistics

Change-Id: Id31c228b7e524b05a5509584b5e047c59c02303c
wlan: Protect netdev ops functions from SSR

Protect netdev ops functions from accessing deallocated or
un-initialized data structures while SSR is in progress.

Change-Id: I2143de20289baef9e7dab0582180e6370575c253
CRs-Fixed: 728525
Wlan: Release 3.2.3.421

Release 3.2.3.421

Change-Id: I7f0497caa2b54ca766fcbbbf5e4a6fb578f5acf0
CRs-Fixed: 688141
SAP: Support to select a channel in the entire 5Ghz band.

In the current ACS algorithm to select channel for SAP operation
there is no support to select any channel in the entire 5Ghz band
this commit adds support for that.

Change-Id: I9d5a8dde0c8ad30a7ac53efe4d3dd585d3c1264c
CRs-fixed: 730792
sap: Add scan band preference in INI config

Add scan band preference parameter in INI config file to enable
scanning start from the preferred band during auto channel selection.

Change-Id: I678907ebc10787ba25ffdd193b7fb0040eebb3ec
CRs-fixed: 730791
sap: Add scan band preference threshold

Current ACS implementation does not have the capability of switching
scan band when the environment is noisy. Added configurable weight
threshold to trigger AP scan next band for choosing best channel.

Change-Id: I7d9831db48d73282eccb8583760ae71b3a866ca6
CRs-fixed: 722429
sap: Fix AP not come up when medium clean.

When ACS is enabled, if the environment is clean and no othher AP is
present, the scan result will be NULL. The current implementation
treat this case as error which leads to AP could not come up. This
is fixed by selecting a channel specified within the range.

Change-Id: Ifa7df5cd5e2a43156cd30e8f09f2c376b548e462
CRs-fixed: 722432
wlan: sap: Add HT40/80 support in ACS.

Current ACS algorithm only deals with HT20 channels. Added weight
calculation for HT40 and HT80 channels when AP is brought up in 11n
and 11ac mode.

Change-Id: Ifb7dc230207d6e36a59045a4b828a2dc77f72ee1
CRs-Fixed: 701724
wlan: sap: Fix unavailable channels in ACS

When some 5G channels are not available, ACS should consider this
case when calculating and sorting channel weights.

Change-Id: I933f0d246117edf1f542135d5b0ce717cbc6de2a
CRs-Fixed: 701724
Wlan: Revision 3.2.3.422

Revision 3.2.3.422

Change-Id: I2c5b924664fd27a1118d894a980b83300dc79372
CRs-Fixed: 688141