qcacld-3.0: update mcs value for HT and VHT mode for mon mode

Currently monitor mode HT & VHT data packet tx rate is not
matching with ota packet tx rate due to incorrect mcs value.

This change is to update proper mcs value for HT & VHT modes.

Change-Id: Ib4fb06a06ce35a4e8e683e5a22c8be226492b13f
CRs-Fixed: 3442509
This commit is contained in:
Balaji Pothunoori
2023-03-23 12:11:03 +05:30
committed by Madan Koyyalamudi
父節點 337c6ad8a3
當前提交 40d5be7c3f

查看文件

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2020-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
* any purpose with or without fee is hereby granted, provided that the
@@ -181,12 +181,14 @@ static void pkt_capture_tx_get_phy_info(
mcs = 8 + pktcapture_hdr->mcs;
else
mcs = pktcapture_hdr->mcs;
tx_status->ht_mcs = mcs;
break;
case 0x3:
tx_status->vht_flags = 1;
mcs = pktcapture_hdr->mcs;
tx_status->vht_flag_values3[0] =
mcs << 0x4 | (pktcapture_hdr->nss + 1);
mcs << 0x4 | (pktcapture_hdr->nss);
tx_status->vht_flag_values2 = pktcapture_hdr->bw;
break;
case 0x4: