From ee9cd039b3fa063b330df0beabfa1402f851937a Mon Sep 17 00:00:00 2001 From: Shubham Pawar Date: Fri, 18 Mar 2022 11:52:05 +0530 Subject: [PATCH] qcacmn: Added support to get the status of mgmt rx reo sim feature Add support to get the status mgmt rx reo sim feature cfg80211tool wifiX g_mgmt_rx_reo_simulation Change-Id: Ia60cd25c0b044484b3e6a44ebc536ac1cf0c3804 CRs-Fixed: 3154130 --- .../dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h | 9 +++++++++ .../dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h b/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h index deb0781f7d..2f48fea3a4 100644 --- a/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h +++ b/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h @@ -50,6 +50,15 @@ ucfg_wlan_mgmt_rx_reo_sim_start(void); QDF_STATUS ucfg_wlan_mgmt_rx_reo_sim_stop(void); +/** + * ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress() - API to check whether + * simulation is in progress + * + * Return: true if simulation is in progress, else false + */ +bool +ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress(void); + #else /** * ucfg_wlan_mgmt_rx_reo_sim_start() - Helper API to start mgmt rx diff --git a/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c b/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c index 5bed8b336a..60d93cb486 100644 --- a/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c +++ b/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c @@ -63,3 +63,11 @@ ucfg_wlan_mgmt_rx_reo_sim_stop(void) } qdf_export_symbol(ucfg_wlan_mgmt_rx_reo_sim_stop); + +bool +ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress(void) +{ + return wlan_mgmt_rx_reo_is_simulation_in_progress(); +} + +qdf_export_symbol(ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress);