ath9k: add a few aggregation reliability fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24949 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
47ecd476d5
commit
aa5471daa8
|
@ -0,0 +1,11 @@
|
|||
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
@@ -169,7 +169,7 @@ static void ath_tx_flush_tid(struct ath_
|
||||
ath_tx_update_baw(sc, tid, fi->seqno);
|
||||
ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0, 0);
|
||||
} else {
|
||||
- ath_tx_send_normal(sc, txq, tid, &bf_head);
|
||||
+ ath_tx_send_normal(sc, txq, NULL, &bf_head);
|
||||
}
|
||||
spin_lock_bh(&txq->axq_lock);
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
@@ -856,7 +856,7 @@ int ath_tx_aggr_start(struct ath_softc *
|
||||
|
||||
txtid->state |= AGGR_ADDBA_PROGRESS;
|
||||
txtid->paused = true;
|
||||
- *ssn = txtid->seq_start;
|
||||
+ *ssn = txtid->seq_start = txtid->seq_next;
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
||||
@@ -858,6 +858,9 @@ int ath_tx_aggr_start(struct ath_softc *
|
||||
txtid->paused = true;
|
||||
*ssn = txtid->seq_start = txtid->seq_next;
|
||||
|
||||
+ memset(txtid->tx_buf, 0, sizeof(txtid->tx_buf));
|
||||
+ txtid->baw_head = txtid->baw_tail = 0;
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue