Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136121
b: refs/heads/master
c: 95e4acb
h: refs/heads/master
i:
  136119: 50954f4
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Mar 28, 2009
1 parent f5798cd commit 489e3f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e71cef37f1f4cb7e9c919cbaabe23438f10a7080
refs/heads/master: 95e4acb7331722236b9f11492ae2e96473210ebc
8 changes: 6 additions & 2 deletions trunk/drivers/net/wireless/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,13 +1852,17 @@ static int ath_tx_num_badfrms(struct ath_softc *sc, struct ath_buf *bf,
return nbad;
}

static void ath_tx_rc_status(struct ath_buf *bf, struct ath_desc *ds, int nbad)
static void ath_tx_rc_status(struct ath_buf *bf, struct ath_desc *ds,
int nbad, int txok)
{
struct sk_buff *skb = (struct sk_buff *)bf->bf_mpdu;
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
struct ath_tx_info_priv *tx_info_priv = ATH_TX_INFO_PRIV(tx_info);

if (txok)
tx_info->status.ack_signal = ds->ds_txstat.ts_rssi;

tx_info_priv->update_rc = false;
if (ds->ds_txstat.ts_status & ATH9K_TXERR_FILT)
tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED;
Expand Down Expand Up @@ -1996,7 +2000,7 @@ static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
nbad = ath_tx_num_badfrms(sc, bf, txok);
}

ath_tx_rc_status(bf, ds, nbad);
ath_tx_rc_status(bf, ds, nbad, txok);

if (bf_isampdu(bf))
ath_tx_complete_aggr(sc, txq, bf, &bf_head, txok);
Expand Down

0 comments on commit 489e3f3

Please sign in to comment.