Skip to contentSkip to conversation

p54: update ACK failure statistic counter in real-time

PATCH New Christian Lamparter 1 participant 1 message Dec 13, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 p54: update ACK failure statistic counter in real-time

---

drivers/net/wireless/p54/p54common.c +1 -0
diff -Nurp a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
@@ -721,6 +721,7 @@ static void p54_rx_frame_sent(struct iee
 		entry_hdr = (struct p54_hdr *) entry->data;
 		entry_data = (struct p54_tx_data *) entry_hdr->data;
 		priv->tx_stats[entry_data->hw_queue].len--;
+		priv->stats.dot11ACKFailureCount += payload->tries - 1;
 
 		if (unlikely(entry == priv->cached_beacon)) {
 			kfree_skb(entry);