aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-10 22:43:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-10 22:43:44 +0000
commit82f3878ab7ce677b41f29d1c43f5cda1b9d8400a (patch)
treec3da774965177190296634c1ad924d0a663e7254 /package/madwifi/patches
parent0335b8b1becf5fe0a251dccbc476458d02a86464 (diff)
downloadupstream-82f3878ab7ce677b41f29d1c43f5cda1b9d8400a.tar.gz
upstream-82f3878ab7ce677b41f29d1c43f5cda1b9d8400a.tar.bz2
upstream-82f3878ab7ce677b41f29d1c43f5cda1b9d8400a.zip
madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/427-ignore_eeprom_ff.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/427-ignore_eeprom_ff.patch b/package/madwifi/patches/427-ignore_eeprom_ff.patch
new file mode 100644
index 0000000000..eead70c992
--- /dev/null
+++ b/package/madwifi/patches/427-ignore_eeprom_ff.patch
@@ -0,0 +1,11 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -915,7 +915,7 @@ ath_attach(u_int16_t devid, struct net_d
+ ic->ic_ath_cap = 0;
+ sc->sc_fftxqmin = ATH_FF_TXQMIN;
+ #ifdef ATH_SUPERG_FF
+- ic->ic_ath_cap |= (ath_hal_fastframesupported(ah) ?
++ ic->ic_ath_cap |= (ah->ah_macType >= 5212 ?
+ IEEE80211_ATHC_FF : 0);
+ #endif
+ ic->ic_ath_cap |= (ath_hal_burstsupported(ah) ?