projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: rt305x: add dwc_otg driver
[openwrt.git]
/
package
/
mac80211
/
patches
/
542-ath9k_limit_qlen.patch
diff --git
a/package/mac80211/patches/542-ath9k_limit_qlen.patch
b/package/mac80211/patches/542-ath9k_limit_qlen.patch
index
e774186
..
f05db0a
100644
(file)
--- a/
package/mac80211/patches/542-ath9k_limit_qlen.patch
+++ b/
package/mac80211/patches/542-ath9k_limit_qlen.patch
@@
-20,7
+20,7
@@
spinlock_t txbuflock;
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
spinlock_t txbuflock;
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1
288,6 +1288
,10 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1
341,6 +1341
,10 @@ int ath9k_init_debug(struct ath_hw *ah)
sc, &fops_wiphy);
debugfs_create_file("xmit", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_xmit);
sc, &fops_wiphy);
debugfs_create_file("xmit", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_xmit);
@@
-57,7
+57,7
@@
while (bf) {
txfail = txpending = sendbar = 0;
bf_next = bf->bf_next;
while (bf) {
txfail = txpending = sendbar = 0;
bf_next = bf->bf_next;
-@@ -7
89,6 +79
9,7 @@ static enum ATH_AGGR_STATUS ath_tx_form_
+@@ -7
99,6 +80
9,7 @@ static enum ATH_AGGR_STATUS ath_tx_form_
ath_tx_addto_baw(sc, tid, fi->seqno);
ath9k_hw_set11n_aggr_middle(sc->sc_ah, bf->bf_desc, ndelim);
ath_tx_addto_baw(sc, tid, fi->seqno);
ath9k_hw_set11n_aggr_middle(sc->sc_ah, bf->bf_desc, ndelim);
@@
-65,7
+65,7
@@
__skb_unlink(skb, &tid->buf_q);
list_add_tail(&bf->list, bf_q);
if (bf_prev) {
__skb_unlink(skb, &tid->buf_q);
list_add_tail(&bf->list, bf_q);
if (bf_prev) {
-@@ -14
41,6 +145
2,8 @@ static void ath_tx_send_ampdu(struct ath
+@@ -14
51,6 +146
2,8 @@ static void ath_tx_send_ampdu(struct ath
if (!fi->retries)
ath_tx_addto_baw(sc, tid, fi->seqno);
if (!fi->retries)
ath_tx_addto_baw(sc, tid, fi->seqno);
@@
-74,7
+74,7
@@
/* Queue to h/w without aggregation */
TX_STAT_INC(txctl->txq->axq_qnum, a_queued_hw);
bf->bf_lastbf = bf;
/* Queue to h/w without aggregation */
TX_STAT_INC(txctl->txq->axq_qnum, a_queued_hw);
bf->bf_lastbf = bf;
-@@ -15
05,7 +151
8,6 @@ static void setup_frame_info(struct ieee
+@@ -15
15,7 +152
8,6 @@ static void setup_frame_info(struct ieee
struct ath_atx_tid *tid;
enum ath9k_key_type keytype;
u16 seqno = 0;
struct ath_atx_tid *tid;
enum ath9k_key_type keytype;
u16 seqno = 0;
@@
-82,7
+82,7
@@
keytype = ath9k_cmn_get_hw_crypto_keytype(skb);
keytype = ath9k_cmn_get_hw_crypto_keytype(skb);
-@@ -15
16,13 +152
8,11 @@ static void setup_frame_info(struct ieee
+@@ -15
26,13 +153
8,11 @@ static void setup_frame_info(struct ieee
if (an && ieee80211_is_data_qos(hdr->frame_control) &&
conf_is_ht(&hw->conf) && (sc->sc_flags & SC_OP_TXAGGR)) {
if (an && ieee80211_is_data_qos(hdr->frame_control) &&
conf_is_ht(&hw->conf) && (sc->sc_flags & SC_OP_TXAGGR)) {
@@
-97,7
+97,7
@@
seqno = tid->seq_next;
hdr->seq_ctrl = cpu_to_le16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
INCR(tid->seq_next, IEEE80211_SEQ_MAX);
seqno = tid->seq_next;
hdr->seq_ctrl = cpu_to_le16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
INCR(tid->seq_next, IEEE80211_SEQ_MAX);
-@@ -17
66,24 +177
6,14 @@ static struct ath_buf *ath_tx_setup_buff
+@@ -17
76,24 +178
6,14 @@ static struct ath_buf *ath_tx_setup_buff
/* FIXME: tx power */
static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
/* FIXME: tx power */
static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
@@
-124,7
+124,7
@@
if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && tid) {
/*
if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && tid) {
/*
-@@ -18
23,6 +182
3,7 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -18
33,6 +183
3,7 @@ int ath_tx_start(struct ieee80211_hw *hw
struct ieee80211_vif *vif = info->control.vif;
struct ath_softc *sc = hw->priv;
struct ath_txq *txq = txctl->txq;
struct ieee80211_vif *vif = info->control.vif;
struct ath_softc *sc = hw->priv;
struct ath_txq *txq = txctl->txq;
@@
-132,7
+132,7
@@
struct ath_buf *bf;
int padpos, padsize;
int frmlen = skb->len + FCS_LEN;
struct ath_buf *bf;
int padpos, padsize;
int frmlen = skb->len + FCS_LEN;
-@@ -18
56,6 +185
7,7 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -18
66,6 +186
7,7 @@ int ath_tx_start(struct ieee80211_hw *hw
skb_push(skb, padsize);
memmove(skb->data, skb->data + padsize, padpos);
skb_push(skb, padsize);
memmove(skb->data, skb->data + padsize, padpos);
@@
-140,7
+140,7
@@
}
if ((vif && vif->type != NL80211_IFTYPE_AP &&
}
if ((vif && vif->type != NL80211_IFTYPE_AP &&
-@@ -18
65,6 +186
7,24 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -18
75,6 +187
7,24 @@ int ath_tx_start(struct ieee80211_hw *hw
setup_frame_info(hw, skb, frmlen);
setup_frame_info(hw, skb, frmlen);
@@
-165,7
+165,7
@@
/*
* At this point, the vif, hw_key and sta pointers in the tx control
* info are no longer valid (overwritten by the ath_frame_info data.
/*
* At this point, the vif, hw_key and sta pointers in the tx control
* info are no longer valid (overwritten by the ath_frame_info data.
-@@ -18
83,7 +190
3,7 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -18
93,7 +191
3,7 @@ int ath_tx_start(struct ieee80211_hw *hw
}
spin_unlock_bh(&txq->axq_lock);
}
spin_unlock_bh(&txq->axq_lock);
This page took
0.036396 seconds
and
4
git commands to generate.