qcacmn: Fix incorrect datarate in radiotap header

The datarate for Data packets and QOS NULL packets,
shown in the Radiotap header was wrong for QCN9224.

In Lithium based devices, for data packets datarate
is not included in the radiotap header.
So for WKK also changes are done to not to include
data rate.

Change-Id: I3fa8a65973e3e0b01ef589551c6621d35b34b984
CRs-Fixed: 3408916
This commit is contained in:
Sushant Butta
2023-02-24 20:38:20 +05:30
committed by Madan Koyyalamudi
parent 0e4acb24f3
commit b0fc42c8f8

View File

@@ -5285,7 +5285,7 @@ unsigned int qdf_nbuf_update_radiotap(struct mon_rx_status *rx_status,
/* IEEE80211_RADIOTAP_RATE u8 500kb/s */
if (!rx_status->ht_flags && !rx_status->vht_flags &&
!rx_status->he_flags) {
!rx_status->he_flags && !rx_status->eht_flags) {
it_present_val |= (1 << IEEE80211_RADIOTAP_RATE);
rtap_buf[rtap_len] = rx_status->rate;
} else