qcacmn: Add new subtype for bridge VDEV

Define new subtype for bridge VDEV.
Add a flag in vdev objmgr to indicate bridge VDEV.

Change-Id: Icb7e2cc6673254183a7247f42fadd9bbb2ec4b00
CRs-Fixed: 3554509
This commit is contained in:
Shreedhar Parande
2023-06-07 13:09:09 +05:30
committed by Rahul Choudhary
parent 621c2d72b8
commit 8911b3d9eb
2 changed files with 3 additions and 0 deletions

View File

@@ -402,6 +402,7 @@ struct wlan_objmgr_vdev_nif {
* @wlan_pdev: PDEV pointer * @wlan_pdev: PDEV pointer
* @wlan_peer_count: Peer count * @wlan_peer_count: Peer count
* @wlan_ml_peer_count: Multilink Peer count * @wlan_ml_peer_count: Multilink Peer count
* @mlo_bridge_vdev: Indicates it is bridge VDEV
* @max_peer_count: Max Peer count * @max_peer_count: Max Peer count
* @c_flags: creation specific flags * @c_flags: creation specific flags
* @ref_cnt: Ref count * @ref_cnt: Ref count
@@ -418,6 +419,7 @@ struct wlan_objmgr_vdev_objmgr {
uint16_t wlan_peer_count; uint16_t wlan_peer_count;
#ifdef WLAN_FEATURE_11BE_MLO #ifdef WLAN_FEATURE_11BE_MLO
qdf_atomic_t wlan_ml_peer_count; qdf_atomic_t wlan_ml_peer_count;
bool mlo_bridge_vdev;
#endif #endif
uint16_t max_peer_count; uint16_t max_peer_count;
uint32_t c_flags; uint32_t c_flags;

View File

@@ -51,6 +51,7 @@ struct cnx_mgr;
#define WLAN_VDEV_MLME_SUBTYPE_MESH 0x5 #define WLAN_VDEV_MLME_SUBTYPE_MESH 0x5
#define WLAN_VDEV_MLME_SUBTYPE_MESH_11S 0x6 #define WLAN_VDEV_MLME_SUBTYPE_MESH_11S 0x6
#define WLAN_VDEV_MLME_SUBTYPE_SMART_MONITOR 0x7 #define WLAN_VDEV_MLME_SUBTYPE_SMART_MONITOR 0x7
#define WLAN_VDEV_MLME_SUBTYPE_MLO_BRIDGE 0x8
/* vdev control flags (per bits) */ /* vdev control flags (per bits) */
#define WLAN_VDEV_MLME_FLAGS_NON_MBSSID_AP 0x00000001 #define WLAN_VDEV_MLME_FLAGS_NON_MBSSID_AP 0x00000001