diff mbox

[1/4] rsi: fix for low throughput issue

Message ID 1530794302-8833-2-git-send-email-sushant2k1513@gmail.com (mailing list archive)
State Accepted
Commit 92e9712381383dd244a447b9e96a8065faaf3570
Delegated to: Kalle Valo
Headers show

Commit Message

Sushant Kumar Mishra July 5, 2018, 12:38 p.m. UTC
From: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>

observed low throughput rates during verification. This is because, QoS
enable flag is overridden by sequence number in the data descriptor frame.
Hence, added the fix for same.

Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Sushant Kumar Mishra <sushant.mishra@redpinesignals.com>
---
 drivers/net/wireless/rsi/rsi_91x_hal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo July 31, 2018, 7:15 a.m. UTC | #1
Sushant Kumar Mishra <sushant2k1513@gmail.com> wrote:

> From: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
> 
> observed low throughput rates during verification. This is because, QoS
> enable flag is overridden by sequence number in the data descriptor frame.
> Hence, added the fix for same.
> 
> Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
> Signed-off-by: Sushant Kumar Mishra <sushant.mishra@redpinesignals.com>

4 patches applied to wireless-drivers-next.git, thanks.

92e971238138 rsi: fix for low throughput issue
38709316d1c9 rsi: fix for 40MHZ connection issue.
4c837d8c9b0c rsi: fix for WoWLAN wakeup in security mode.
1d2194562112 rsi: optimize virtual interfaces
diff mbox

Patch

diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c
index 0761e61..533d9e9 100644
--- a/drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/drivers/net/wireless/rsi/rsi_91x_hal.c
@@ -246,7 +246,7 @@  int rsi_prepare_data_desc(struct rsi_common *common, struct sk_buff *skb)
 		}
 	}
 
-	data_desc->mac_flags = cpu_to_le16(seq_num & 0xfff);
+	data_desc->mac_flags |= cpu_to_le16(seq_num & 0xfff);
 	data_desc->qid_tid = ((skb->priority & 0xf) |
 			      ((tx_params->tid & 0xf) << 4));
 	data_desc->sta_id = tx_params->sta_id;