Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-Index: madwifi-trunk-r3776/ath/if_ath.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 03:53:09.000000000 +0200
-+++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 04:00:42.000000000 +0200
-@@ -8272,6 +8272,18 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -8273,6 +8273,18 @@
#endif
if (ts->ts_status & HAL_TXERR_XRETRY) {
sc->sc_stats.ast_tx_xretries++;
if (ni->ni_flags & IEEE80211_NODE_UAPSD_TRIG) {
ni->ni_stats.ns_tx_eosplost++;
DPRINTF(sc, ATH_DEBUG_UAPSD,
-Index: madwifi-trunk-r3776/net80211/ieee80211_linux.c
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_linux.c 2008-07-17 00:49:54.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_linux.c 2008-07-17 04:01:27.000000000 +0200
+--- a/net80211/ieee80211_linux.c
++++ b/net80211/ieee80211_linux.c
@@ -158,6 +158,7 @@
SKB_NI(skb) = NULL;
skb_reserve(skb, sizeof(struct ieee80211_frame));
*frm = skb_put(skb, pktlen);
-Index: madwifi-trunk-r3776/net80211/ieee80211_linux.h
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_linux.h 2008-07-17 00:53:20.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_linux.h 2008-07-17 04:02:15.000000000 +0200
+--- a/net80211/ieee80211_linux.h
++++ b/net80211/ieee80211_linux.h
@@ -411,6 +411,7 @@
#define M_SKB_TRACKED 0x20
void (*next_destructor)(struct sk_buff *skb);
};
struct __assert {
-Index: madwifi-trunk-r3776/net80211/ieee80211_output.c
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_output.c 2008-07-17 02:35:10.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_output.c 2008-07-17 04:00:42.000000000 +0200
+--- a/net80211/ieee80211_output.c
++++ b/net80211/ieee80211_output.c
@@ -773,6 +773,8 @@
else
hdrsize = sizeof(struct ieee80211_frame);