qcacmn: Add support to allow user select preferred band for SAP

Add enum QDF_MCC_TO_SCC_WITH_PREFERRED_BAND(6) for this.
If ini gWlanMccToSccSwitchMode is selected to
QDF_MCC_TO_SCC_WITH_PREFERRED_BAND(6) then following will be the
behaviour of STA+SAP concurrency.
1. If second interface(SAP/STA) comes in same band as
   first interface(STA/SAP) respectively then force SCC
   irrespective of channel.
2. If second interface(SAP/STA) comes in other band as
   first interface(STA/SAP) then dont force SCC allow
   interband MCC or DBS based on DBS capability.
Allow interband MCC but not intraband MCC.

Change-Id: I91d41b4b0306ed4e362b5bcab9538f5fd5feea7d
CRs-Fixed: 2260677
This commit is contained in:
Bala Venkatesh
2018-06-14 12:28:10 +05:30
committed by nshrivas
부모 dd68508f03
커밋 dea772a6b7
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -649,6 +649,8 @@ void qdf_vtrace_msg(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
* Exception Case-1: When STA is operating on DFS channel.
* Exception Case-2: When STA is operating on LTE-CoEx channel.
* Exception Case-3: When STA is operating on AP disabled channel.
* @QDF_MCC_TO_SCC_WITH_PREFERRED_BAND: Force SCC only in user preferred band.
* Allow MCC if STA is operating or comes up on other than user preferred band.
*
* @QDF_MCC_TO_SCC_SWITCH_MAX: max switch
*/
@@ -659,6 +661,7 @@ typedef enum {
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION,
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL,
QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION,
QDF_MCC_TO_SCC_WITH_PREFERRED_BAND,
QDF_MCC_TO_SCC_SWITCH_MAX
} tQDF_MCC_TO_SCC_SWITCH_MODE;
#endif