|
@@ -1,6 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2016-2019, 2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2016-2019, 2021 The Linux Foundation. All rights reserved.
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -579,17 +579,19 @@ void wlan_objmgr_set_mlo_ctx(struct mlo_mgr_context *ctx);
|
|
/**
|
|
/**
|
|
* wlan_objmgr_set_dp_mlo_ctx() - set dp handle in mlo context
|
|
* wlan_objmgr_set_dp_mlo_ctx() - set dp handle in mlo context
|
|
* @dp_handle: Data path module handle
|
|
* @dp_handle: Data path module handle
|
|
|
|
+ * @grp_id: MLO group id which it belongs too
|
|
*
|
|
*
|
|
* Return: void
|
|
* Return: void
|
|
*/
|
|
*/
|
|
-void wlan_objmgr_set_dp_mlo_ctx(void *dp_handle);
|
|
|
|
|
|
+void wlan_objmgr_set_dp_mlo_ctx(void *dp_handle, uint8_t grp_id);
|
|
|
|
|
|
/**
|
|
/**
|
|
* wlan_objmgr_get_dp_mlo_ctx() - get dp handle from mlo_context
|
|
* wlan_objmgr_get_dp_mlo_ctx() - get dp handle from mlo_context
|
|
|
|
+ * @grp_id: MLO Group id which it belongs to
|
|
*
|
|
*
|
|
* Return: dp handle
|
|
* Return: dp handle
|
|
*/
|
|
*/
|
|
-void *wlan_objmgr_get_dp_mlo_ctx(void);
|
|
|
|
|
|
+void *wlan_objmgr_get_dp_mlo_ctx(uint8_t grp_id);
|
|
#else
|
|
#else
|
|
static inline struct mlo_mgr_context *wlan_objmgr_get_mlo_ctx(void)
|
|
static inline struct mlo_mgr_context *wlan_objmgr_get_mlo_ctx(void)
|
|
{
|
|
{
|
|
@@ -599,12 +601,12 @@ static inline struct mlo_mgr_context *wlan_objmgr_get_mlo_ctx(void)
|
|
static inline void wlan_objmgr_set_mlo_ctx(struct mlo_mgr_context *ctx)
|
|
static inline void wlan_objmgr_set_mlo_ctx(struct mlo_mgr_context *ctx)
|
|
{}
|
|
{}
|
|
|
|
|
|
-static inline void *wlan_objmgr_get_dp_mlo_ctx(void)
|
|
|
|
|
|
+static inline void *wlan_objmgr_get_dp_mlo_ctx(uint8_t grp_id)
|
|
{
|
|
{
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline void wlan_objmgr_set_dp_mlo_ctx(void *dp_handle)
|
|
|
|
|
|
+static inline void wlan_objmgr_set_dp_mlo_ctx(void *dp_handle, uint8_t grp_id)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
#endif /* WLAN_FEATURE_11BE_MLO */
|
|
#endif /* WLAN_FEATURE_11BE_MLO */
|