mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Enable special 4 ports dual AGO plus dual STA
Enable following special 4 ports concurrency for HST: (AGO+STA)(2.4G MAC SCC)+(AGO+STA)(5G MAC SCC). Change-Id: I3bef824c5296a1c7b2f644abc24009463d8b2864 CRs-Fixed: 2496121
This commit is contained in:
parent
293b452619
commit
1ccdbccccc
1 changed files with 6 additions and 2 deletions
|
|
@ -640,7 +640,8 @@ static enum policy_mgr_pcl_type policy_mgr_get_pcl_4_port(
|
|||
/* Will be enhanced for other types of 4 port conc (NaN etc.)
|
||||
* in future.
|
||||
*/
|
||||
if (mode != PM_STA_MODE && mode != PM_SAP_MODE) {
|
||||
if (mode != PM_STA_MODE && mode != PM_SAP_MODE &&
|
||||
mode != PM_P2P_GO_MODE) {
|
||||
policy_mgr_err("Can't start 4th port if not STA, SAP");
|
||||
return PM_MAX_PCL_TYPE;
|
||||
}
|
||||
|
|
@ -1724,10 +1725,13 @@ enum policy_mgr_three_connection_mode
|
|||
qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock);
|
||||
|
||||
/* For 4 port concurrency case,
|
||||
* 1st step: (SAP+STA) (2.4G MAC SCC)+(SAP+STA) (5G MAC SCC)
|
||||
* 1st step: (SAP+STA)(2.4G MAC SCC) + (SAP+STA)(5G MAC SCC)
|
||||
* 2nd step: (AGO+STA)(2.4G MAC SCC) + (AGO+STA)(5G MAC SCC)
|
||||
*/
|
||||
count_sap += policy_mgr_mode_specific_connection_count(
|
||||
psoc, PM_SAP_MODE, &list_sap[count_sap]);
|
||||
count_sap += policy_mgr_mode_specific_connection_count(
|
||||
psoc, PM_P2P_GO_MODE, &list_sap[count_sap]);
|
||||
count_sta = policy_mgr_mode_specific_connection_count(
|
||||
psoc, PM_STA_MODE, list_sta);
|
||||
policy_mgr_debug("sap/ago num: %d, sta num: %d", count_sap, count_sta);
|
||||
|
|
|
|||
Loading…
Reference in a new issue