summaryrefslogtreecommitdiff
path: root/package
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
commit37211157f6a68cace04ab28c1adfbd60a8144b0b (patch)
treef5fcf552dbfeca0327808ae3a142d4ed612a4cb1 /package
parent7f8cc3e7af164cd015cf9780acfb1d9aca5053e0 (diff)
downloadmtk-20170518-37211157f6a68cace04ab28c1adfbd60a8144b0b.zip
mtk-20170518-37211157f6a68cace04ab28c1adfbd60a8144b0b.tar.gz
mtk-20170518-37211157f6a68cace04ab28c1adfbd60a8144b0b.tar.bz2
madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability
SVN-Revision: 15763
Diffstat (limited to 'package')
-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 0000000..eead70c
--- /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) ?