From 7eb816e34cee62ffed25a6a5a21add541eecbb72 Mon Sep 17 00:00:00 2001 From: Vulupala Shashank Reddy Date: Fri, 13 Aug 2021 15:16:20 +0530 Subject: [PATCH] qcacld-3.0: Disable MSCS feature in with "mscs_pkt_threshold=0" mscs_pkt_threshold - This ini specifies the Voice pkt count threshold to Send the MSCS action frame to AP. To disable MSCS feature in driver set mscs_pkt_threshold = 0 in ini file. Change-Id: Ie1d8d3f3289d8f41a16f187bf9256b959019d998 CRs-Fixed: 3262346 --- core/hdd/src/wlan_hdd_main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 2a1b2efd5349..1ee2bb2b65d9 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10552,6 +10552,13 @@ void hdd_send_mscs_action_frame(struct hdd_context *hdd_ctx, uint64_t mscs_vo_pkt_delta; unsigned long tx_vo_pkts; + /* + * To disable MSCS feature in driver set mscs_pkt_threshold = 0 + * in ini file. + */ + if (!hdd_ctx->config->mscs_pkt_threshold) + return; + tx_vo_pkts = adapter->hdd_stats.tx_rx_stats.tx_classified_ac[SME_AC_VO]; if (!adapter->mscs_counter)