qcacld-3.0: STA+SAP 6Ghz concurrency

When SAP is on 5G and STA connects to 6Ghz AP, the "force
SCC" logic will move SAP to STA home channel if SAP is 6Ghz capable.
If SAP is not 6Ghz capable, SAP will be moved to 2G (DBS) to
avoid MCC(5G+6G) for DBS HW and SAP will stay on 5G for non-DBS HW.
SAP is 6Ghz capable only when all of below statements are true:
a. SAP config includes WPA3 security - SAE,OWE,SuiteB.
b. SAP is configured by ACS range which includes any 6G channel or
   configured by 6G Fixed channel.
c. SAP has no legacy clients (client doesn't support 6G band).
   legacy client (non 6ghz capable): association request frame has no
   6G band global operating Class.

Change-Id: I7e9723fd1b679326a3df61932850589e6e503f3d
CRs-Fixed: 2593569
This commit is contained in:
Liangwei Dong
2019-12-27 10:31:46 +08:00
committed by nshrivas
父節點 4cecc53628
當前提交 0527617342
共有 14 個文件被更改,包括 581 次插入4 次删除

查看文件

@@ -1445,6 +1445,15 @@ QDF_STATUS wlansap_filter_ch_based_acs(struct sap_context *sap_ctx,
uint32_t *ch_freq_list,
uint32_t *ch_cnt);
/**
* wlansap_is_6ghz_included_in_acs_range() - check 6ghz channel included in
* ACS range
* @sap_ctx: sap context
*
* Return: QDF_STATUS
*/
bool wlansap_is_6ghz_included_in_acs_range(struct sap_context *sap_ctx);
/**
* wlansap_get_safe_channel_from_pcl_and_acs_range() - Get safe channel for SAP
* restart