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
This commit is contained in:
sumedh baikady
2019-07-16 13:35:53 -07:00
committad av nshrivas
förälder e1b64ab243
incheckning 0876d02741

Visa fil

@@ -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