qcacmn: Don't allow PASN peer create if peer del all is not supported

Firmware advertises WMI_SERVICE_DELETE_ALL_PEER_SUPPORT
capability to indicate vdev peer delete all command support.
PASN peer relies on the WMI_VDEV_DELETE_ALL_PEER_CMDID
command to delete the PASN peers before vdev delete.

So allow PASN peer create only on targets that advertise
WMI_SERVICE_DELETE_ALL_PEER_SUPPORT.

Change-Id: Ib94d9e14e34dd1e5c25bf6946e0d59fe83fd6dd3
CRs-Fixed: 3229438
This commit is contained in:
Pragaspathi Thilagaraj
2022-07-12 13:25:39 +05:30
committed by Madan Koyyalamudi
父節點 f2a742540b
當前提交 728ff15ea3
共有 3 個文件被更改,包括 20 次插入5 次删除

查看文件

@@ -247,6 +247,9 @@
/* vendor handoff control feature support */
#define WLAN_SOC_VENDOR_HANDOFF_CONTROL 0x00000020
/* Delete all vdev peer support */
#define WLAN_VDEV_DELETE_ALL_PEER_SUPPORT 0x00000040
/* PSOC op flags */
/* Invalid VHT cap */