From b956c03cb0ec647944844dd3067c4cf47397e300 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Thu, 14 Dec 2017 15:16:37 +0530 Subject: [PATCH] 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 --- core/dp/htt/htt_rx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c index 2c17865a79f0..818e88c4f484 100644 --- a/core/dp/htt/htt_rx.c +++ b/core/dp/htt/htt_rx.c @@ -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;