qcacmn: Avoid REO destination change when IPA enabled in P2P mode

In cases where one of the interfaces is a P2P-GO and
IPA has been enabled, the P2P connection establishment
fails.

When IPA is enabled, the REO destination is changed to REO4
which can be reaped only by IPA module. But in case of P2P-GO
interface in operation, this change in configuration causes
all the RX packets to be stalled due to incorrect REO configuration.

Hence, to avoid this case, do not change the REO dest config
when the interface subtype is P2P.

CRs-Fixed: 2498315
Change-Id: Ie9f01c3b353c7c0503e1541d6c79c2f47c9782f3
This commit is contained in:
Rakesh Pillai
2019-07-27 18:58:21 -07:00
committed by nshrivas
parent 1c76e897e3
commit 01b9b680fc
8 changed files with 89 additions and 5 deletions

View File

@@ -39,6 +39,15 @@
enum wlan_op_mode
wlan_util_vdev_get_cdp_txrx_opmode(struct wlan_objmgr_vdev *vdev);
/**
* wlan_util_vdev_get_cdp_txrx_subtype - get cdp txrx subtype from qdf mode
* @vdev: pointer to vdev object
*
* Return: wlan_opmode
*/
enum wlan_op_subtype
wlan_util_vdev_get_cdp_txrx_subtype(struct wlan_objmgr_vdev *vdev);
/**
* wlan_util_vdev_mlme_set_ratemask_config) common MLME API to set
* ratemask configuration and send it to FW