From 0876d02741f2f777c3cbc4d0f4e038a25ab1d863 Mon Sep 17 00:00:00 2001 From: sumedh baikady Date: Tue, 16 Jul 2019 13:35:53 -0700 Subject: [PATCH] qcacmn: Add new vdev subtype for smart monitor Smart monitor uses HOSTAP type and no subtype currently. Also vdev_up is not sent for smart monitor vap. Therefore target will not enable rx_unicast for this vap and in dfs channel we dont receive pkts. To differentiate between regular Host ap and smart monitor vap for target to enable rx_unicast we send new subtype. Change-Id: I6c82c152d75eefb608cd80279e60ce211e17b709 Crs-fixed: 2491087 --- umac/mlme/include/wlan_vdev_mlme.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/umac/mlme/include/wlan_vdev_mlme.h b/umac/mlme/include/wlan_vdev_mlme.h index d244f66ee5..d18466dbea 100644 --- a/umac/mlme/include/wlan_vdev_mlme.h +++ b/umac/mlme/include/wlan_vdev_mlme.h @@ -43,6 +43,16 @@ struct vdev_mlme_obj; #define WLAN_VDEV_MLME_SUBTYPE_PROXY_STA 0x4 #define WLAN_VDEV_MLME_SUBTYPE_MESH 0x5 +/* new subtype for 11S mesh is required as 11S functionality differs + * in many ways from proprietary mesh + * 11S uses 6-addr frame format and supports peering between mesh + * stations and dynamic best path selection between mesh stations. + * While in proprietary mesh, neighboring mesh station MAC is manually + * added to AST table for traffic flow between mesh stations + */ +#define WLAN_VDEV_MLME_SUBTYPE_MESH_11S 0x6 +#define WLAN_VDEV_MLME_SUBTYPE_SMART_MONITOR 0x7 + /* vdev control flags (per bits) */ #define WLAN_VDEV_MLME_FLAGS_NON_MBSSID_AP 0x00000001 #define WLAN_VDEV_MLME_FLAGS_TRANSMIT_AP 0x00000002