qcacld-3.0: Code refine for 4 ini items

1) Refine the documentation text of 4 ini items:
   gStaKeepAlivePeriod
   gApKeepAlivePeriod
   gChannelBondingMode5GHz
   gChannelBondingMode24GHz

2) Fix a discrepancy which happens when ini cfg values
   are converted from those defined in enum
   eIniChanBondState to the corresponding values in
   enum ePhyChanBondState.

3) Use the related APIs to setup channel bonding modes
   instead of directly assigning values.

4) Remove the redundant inclusion of the following two
   header files in csr_api_roam.c:
   cfg_ucfg_api.h
   wlan_mlme_api.h

Change-Id: I43c1e5a05bbb34952a5c7bdbde734f4014592c12
CRs-Fixed: 2416991
This commit is contained in:
wadesong
2019-03-15 17:15:59 +08:00
committed by nshrivas
parent 02222991f9
commit c3787fbd56
3 changed files with 20 additions and 4 deletions

View File

@@ -167,6 +167,18 @@
*
* This ini is used to set default channel bonding mode 24GHZ
*
* 0 - 20MHz IF bandwidth centered on IF carrier
* 1 - 40MHz IF bandwidth with lower 20MHz supporting the primary channel
* 2 - reserved
* 3 - 40MHz IF bandwidth with higher 20MHz supporting the primary channel
* 4 - 20/40MHZ offset LOW 40/80MHZ offset CENTERED
* 5 - 20/40MHZ offset CENTERED 40/80MHZ offset CENTERED
* 6 - 20/40MHZ offset HIGH 40/80MHZ offset CENTERED
* 7 - 20/40MHZ offset LOW 40/80MHZ offset LOW
* 8 - 20/40MHZ offset HIGH 40/80MHZ offset LOW
* 9 - 20/40MHZ offset LOW 40/80MHZ offset HIGH
* 10 - 20/40MHZ offset-HIGH 40/80MHZ offset HIGH
*
* Related: None
*
* Supported Feature: STA
@@ -192,6 +204,8 @@
*
* This ini is used to set default channel bonding mode 5GHZ
*
* Values of 0 - 10 have the same meanings as for gChannelBondingMode24GHz.
*
* Related: None
*
* Supported Feature: STA