mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Support P2P in 6GHz mode
Currently, P2P mode is not supported in 6GHz mode Add P2P mode in policy_mgr_is_6ghz_conc_mode_supported API to support P2P mode in 6GHz mode as fix this. Change-Id: I2e160641c1784dbbd592b237da6b38929f33abbe CRs-Fixed: 2896291
This commit is contained in:
parent
cde4225641
commit
aa24ae5b1b
2 changed files with 3 additions and 2 deletions
|
|
@ -3442,7 +3442,7 @@ QDF_STATUS policy_mgr_get_hw_mode_from_idx(
|
|||
* @psoc: Pointer to soc
|
||||
* @mode: new connection mode
|
||||
*
|
||||
* Current PORed 6ghz connection modes are STA, SAP.
|
||||
* Current PORed 6ghz connection modes are STA, SAP, P2P.
|
||||
*
|
||||
* Return: true if supports else false.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2357,7 +2357,8 @@ static bool policy_mgr_allow_multiple_sta_connections(struct wlan_objmgr_psoc *p
|
|||
bool policy_mgr_is_6ghz_conc_mode_supported(
|
||||
struct wlan_objmgr_psoc *psoc, enum policy_mgr_con_mode mode)
|
||||
{
|
||||
if (mode == PM_STA_MODE || mode == PM_SAP_MODE)
|
||||
if (mode == PM_STA_MODE || mode == PM_SAP_MODE ||
|
||||
mode == PM_P2P_CLIENT_MODE || mode == PM_P2P_GO_MODE)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue