summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-r3776/307-maxrate.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
commit16731f482f4d3f3e94c90beb70c9cbba9c8dd631 (patch)
tree59850f98e47a5e8165d1a1084b7e78d45db77b64 /package/madwifi/patches-r3776/307-maxrate.patch
parent4d144eee67a94959f1a5d875678e466775782c14 (diff)
downloadmtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.zip
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.gz
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.bz2
refresh madwifi-testing patches
SVN-Revision: 11866
Diffstat (limited to 'package/madwifi/patches-r3776/307-maxrate.patch')
-rw-r--r--package/madwifi/patches-r3776/307-maxrate.patch36
1 files changed, 12 insertions, 24 deletions
diff --git a/package/madwifi/patches-r3776/307-maxrate.patch b/package/madwifi/patches-r3776/307-maxrate.patch
index fc3363d..a5a1db0 100644
--- a/package/madwifi/patches-r3776/307-maxrate.patch
+++ b/package/madwifi/patches-r3776/307-maxrate.patch
@@ -1,7 +1,5 @@
-Index: madwifi-trunk-r3776/ath/if_ath.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 02:20:52.000000000 +0200
-+++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 02:20:53.000000000 +0200
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
@@ -1299,6 +1299,7 @@
vap->iv_key_set = ath_key_set;
vap->iv_key_update_begin = ath_key_update_begin;
@@ -10,10 +8,8 @@ Index: madwifi-trunk-r3776/ath/if_ath.c
if (sc->sc_default_ieee80211_debug) {
/* User specified defaults for new VAPs were provided, so
* use those (only). */
-Index: madwifi-trunk-r3776/ath_rate/sample/sample.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath_rate/sample/sample.c 2008-07-17 02:20:26.000000000 +0200
-+++ madwifi-trunk-r3776/ath_rate/sample/sample.c 2008-07-17 02:20:53.000000000 +0200
+--- a/ath_rate/sample/sample.c
++++ b/ath_rate/sample/sample.c
@@ -838,7 +838,12 @@
}
sn->static_rate_ndx = -1;
@@ -28,10 +24,8 @@ Index: madwifi-trunk-r3776/ath_rate/sample/sample.c
for (x = 0; x < ni->ni_rates.rs_nrates; x++) {
sn->rates[x].rate = ni->ni_rates.rs_rates[x] & IEEE80211_RATE_VAL;
sn->rates[x].rix = sc->sc_rixmap[sn->rates[x].rate];
-Index: madwifi-trunk-r3776/net80211/ieee80211_var.h
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_var.h 2008-07-17 02:20:51.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_var.h 2008-07-17 02:20:53.000000000 +0200
+--- a/net80211/ieee80211_var.h
++++ b/net80211/ieee80211_var.h
@@ -291,6 +291,7 @@
struct ieee80211_spy iv_spy; /* IWSPY support */
struct ieee80211_app_ie app_ie[IEEE80211_APPIE_NUM_OF_FRAME]; /* app-specified IEs by frame type */
@@ -40,10 +34,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_var.h
};
/* Debug functions need the defintion of struct ieee80211vap because iv_debug
-Index: madwifi-trunk-r3776/net80211/ieee80211_wireless.c
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_wireless.c 2008-07-17 02:20:51.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_wireless.c 2008-07-17 02:20:53.000000000 +0200
+--- a/net80211/ieee80211_wireless.c
++++ b/net80211/ieee80211_wireless.c
@@ -2873,6 +2873,12 @@
else
ic->ic_flags_ext &= ~IEEE80211_FEXT_MARKDFS;
@@ -78,10 +70,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_wireless.c
#ifdef ATH_REVERSE_ENGINEERING
/*
-Index: madwifi-trunk-r3776/net80211/ieee80211_ioctl.h
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_ioctl.h 2008-07-17 02:20:51.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_ioctl.h 2008-07-17 02:20:53.000000000 +0200
+--- a/net80211/ieee80211_ioctl.h
++++ b/net80211/ieee80211_ioctl.h
@@ -650,6 +650,7 @@
IEEE80211_PARAM_RESETTXBUFS = 80, /* Reset transmit DMA */
IEEE80211_PARAM_SCANBUFS = 81, /* Heap analysis for TX DMA */
@@ -90,10 +80,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_ioctl.h
};
#define SIOCG80211STATS (SIOCDEVPRIVATE+2)
-Index: madwifi-trunk-r3776/ath_rate/minstrel/minstrel.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath_rate/minstrel/minstrel.c 2008-07-17 02:22:27.000000000 +0200
-+++ madwifi-trunk-r3776/ath_rate/minstrel/minstrel.c 2008-07-17 02:22:33.000000000 +0200
+--- a/ath_rate/minstrel/minstrel.c
++++ b/ath_rate/minstrel/minstrel.c
@@ -644,6 +644,11 @@
return;
}