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
This commit is contained in:
Vulupala Shashank Reddy 2021-08-13 15:16:20 +05:30 • committed by Madan Koyyalamudi
commit 7eb816e34c

View file

@ -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)