Explorar o código

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
sumedh baikady %!s(int64=5) %!d(string=hai) anos
pai
achega
0876d02741
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      umac/mlme/include/wlan_vdev_mlme.h

+ 10 - 0
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