qcacmn: ratetable changes for 11BE

modify dp_getmodulation and dp_getrateindex to pass puncturing mode
update DP_RATE_TABLE_SIZE to support 11BE

Change-Id: I7f59b29c18d882b541dca0477c7ed6c8cff4da59
CRs-Fixed: 3098366
This commit is contained in:
aloksing
2021-11-22 10:48:19 +05:30
committed by Madan Koyyalamudi
parent fdaf4235b8
commit 2491f91f55
5 changed files with 292 additions and 17 deletions

View File

@@ -9737,7 +9737,8 @@ static int dp_txrx_get_ratekbps(int preamb, int mcs,
uint16_t ratecode;
return dp_getrateindex((uint32_t)gintval, (uint16_t)mcs, 1,
(uint8_t)preamb, 1, &rix, &ratecode);
(uint8_t)preamb, 1, NO_PUNCTURE,
&rix, &ratecode);
}
#else
static int dp_txrx_get_ratekbps(int preamb, int mcs,

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021,2022 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 above
@@ -2211,6 +2211,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
ppdu->nss,
ppdu->preamble,
ppdu->bw,
NO_PUNCTURE,
&rix,
&ratecode);

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021,2022 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
@@ -712,6 +712,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
nss,
ppdu->u.preamble,
ppdu->u.bw,
NO_PUNCTURE,
&rix,
&ratecode);