]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mwifiex: update amsdu tx packet time stamp
authorZhaoyang Liu <liuzy@marvell.com>
Fri, 18 Sep 2015 13:32:04 +0000 (06:32 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:47:28 +0000 (10:47 +0300)
This patch fixes the issue of delay time in A-MSDU tx packet.
In generated new A-MSDU packet, the time stamp is initialized to zero.
Choose the time of first MSDU packet as aggregated packet's time.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/11n_aggr.c

index f7c717253a664aaa7170b3216890ebd1b22ad295..6cb0d33b06366c411516e299eefec5829efe268e 100644 (file)
@@ -202,6 +202,7 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
                tx_info_aggr->flags |= MWIFIEX_BUF_FLAG_TDLS_PKT;
        tx_info_aggr->flags |= MWIFIEX_BUF_FLAG_AGGR_PKT;
        skb_aggr->priority = skb_src->priority;
+       skb_aggr->tstamp = skb_src->tstamp;
 
        do_gettimeofday(&tv);
        skb_aggr->tstamp = timeval_to_ktime(tv);