mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Check HT20 rate set for mcs index if HT40 rate flag is set
qcacld-2.0 to qcacld-3.0 propagation When HT40 rate flag is set, it's likely that packets are sent in HT20 rate, therefore, the driver need check HT20 rate set to calculate mcs index. Change-Id: I29022ec26d72a5361f152dc20af13783d0dac984 CRs-Fixed: 1027530
This commit is contained in:
parent
32b067081b
commit
bf66554532
1 changed files with 2 additions and 1 deletions
|
|
@ -265,7 +265,8 @@ static uint8_t wma_get_mcs_idx(uint16_t maxRate, uint8_t rate_flags,
|
|||
goto rate_found;
|
||||
}
|
||||
}
|
||||
if (rate_flags & eHAL_TX_RATE_HT20) {
|
||||
if ((rate_flags & eHAL_TX_RATE_HT20) ||
|
||||
(rate_flags & eHAL_TX_RATE_HT40)) {
|
||||
/* check for ht20 nss1/2 rate set */
|
||||
match_rate = wma_mcs_rate_match(maxRate, &is_sgi, nss,
|
||||
mcs_nss1[index].ht20_rate[0],
|
||||
|
|
|
|||
Loading…
Reference in a new issue