mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Assign correct preamble type for OFDM packets
Presently, OFDM packets are assigned preamble type of LONG_PREAMBLE when the type should be SHORT_PREAMBLE. Assign the preamble type correctly. Change-Id: Ie16936ba54cb8e1dfa5e96ccc52f3fc6693a5d48 CRs-Fixed: 2159511
This commit is contained in:
parent
61962a876c
commit
b956c03cb0
1 changed files with 1 additions and 3 deletions
|
|
@ -1752,7 +1752,7 @@ static unsigned char htt_rx_get_rate(uint32_t l_sig_rate_select,
|
|||
uint32_t l_sig_rate, uint8_t *preamble)
|
||||
{
|
||||
char ret = 0x0;
|
||||
*preamble = LONG_PREAMBLE;
|
||||
*preamble = SHORT_PREAMBLE;
|
||||
if (l_sig_rate_select == 0) {
|
||||
switch (l_sig_rate) {
|
||||
case 0x8:
|
||||
|
|
@ -1802,14 +1802,12 @@ static unsigned char htt_rx_get_rate(uint32_t l_sig_rate_select,
|
|||
break;
|
||||
case 0x5:
|
||||
ret = 0x4;
|
||||
*preamble = SHORT_PREAMBLE;
|
||||
break;
|
||||
case 0x6:
|
||||
ret = 0xB;
|
||||
break;
|
||||
case 0x7:
|
||||
ret = 0x16;
|
||||
*preamble = SHORT_PREAMBLE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue