summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/352-ani_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
commit0fb8aa363f2972009439cee7351d1e2289652cdb (patch)
tree1bb03ad2ecc44f24459076e115630a010ca7c65a /package/madwifi/patches/352-ani_fix.patch
parent7ac73f836285ad39ea7831ef8c04dcf645b4a8cd (diff)
downloadmtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.zip
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.gz
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.bz2
add some madwifi fixes and enhancements by Sven-Ola, refresh patches
SVN-Revision: 11848
Diffstat (limited to 'package/madwifi/patches/352-ani_fix.patch')
-rw-r--r--package/madwifi/patches/352-ani_fix.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/package/madwifi/patches/352-ani_fix.patch b/package/madwifi/patches/352-ani_fix.patch
index 0129665..aff0d4a 100644
--- a/package/madwifi/patches/352-ani_fix.patch
+++ b/package/madwifi/patches/352-ani_fix.patch
@@ -23,7 +23,7 @@
return 0;
bad3:
ieee80211_ifdetach(ic);
-@@ -2347,16 +2350,6 @@
+@@ -2351,16 +2354,6 @@
}
if (status & HAL_INT_MIB) {
sc->sc_stats.ast_mib++;
@@ -40,7 +40,7 @@
/* Let the HAL handle the event. */
ath_hal_mibevent(ah, &sc->sc_halstats);
}
-@@ -2426,6 +2419,43 @@
+@@ -2430,6 +2423,43 @@
return flags;
}
@@ -84,7 +84,7 @@
/*
* Context: process context
*/
-@@ -2491,8 +2521,7 @@
+@@ -2495,8 +2525,7 @@
if (sc->sc_softled)
ath_hal_gpioCfgOutput(ah, sc->sc_ledpin);
@@ -94,7 +94,7 @@
/*
* This is needed only to setup initial state
-@@ -2528,7 +2557,7 @@
+@@ -2532,7 +2561,7 @@
* Enable MIB interrupts when there are hardware phy counters.
* Note we only do this (at the moment) for station mode.
*/
@@ -103,7 +103,7 @@
sc->sc_imask |= HAL_INT_MIB;
ath_hal_intrset(ah, sc->sc_imask);
-@@ -2785,9 +2814,7 @@
+@@ -2789,9 +2818,7 @@
EPRINTF(sc, "Unable to reset hardware: '%s' (HAL status %u)\n",
ath_get_hal_status_desc(status), status);
@@ -114,7 +114,7 @@
ath_update_txpow(sc); /* update tx power state */
ath_radar_update(sc);
ath_setdefantenna(sc, sc->sc_defant);
-@@ -4165,6 +4192,8 @@
+@@ -4173,6 +4200,8 @@
if (sc->sc_nmonvaps > 0)
rfilt |= (HAL_RX_FILTER_CONTROL | HAL_RX_FILTER_BEACON |
HAL_RX_FILTER_PROBEREQ | HAL_RX_FILTER_PROM);
@@ -123,7 +123,7 @@
if (sc->sc_curchan.privFlags & CHANNEL_DFS)
rfilt |= (HAL_RX_FILTER_PHYERR | HAL_RX_FILTER_PHYRADAR);
return rfilt;
-@@ -6513,9 +6542,6 @@
+@@ -6523,9 +6552,6 @@
rs->rs_rssi = 0;
len = rs->rs_datalen;
@@ -133,7 +133,7 @@
if (rs->rs_more) {
/*
-@@ -8865,9 +8891,7 @@
+@@ -8877,9 +8903,7 @@
if (sc->sc_softled)
ath_hal_gpioCfgOutput(ah, sc->sc_ledpin);
@@ -144,7 +144,7 @@
sc->sc_curchan = hchan;
ath_update_txpow(sc); /* update tx power state */
ath_radar_update(sc);
-@@ -10644,9 +10668,54 @@
+@@ -10656,9 +10680,54 @@
ATH_RP_IGNORED = 24,
ATH_RADAR_IGNORED = 25,
ATH_MAXVAPS = 26,
@@ -199,7 +199,7 @@
ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl, write, filp, buffer, lenp, ppos)
{
struct ath_softc *sc = ctl->extra1;
-@@ -10832,6 +10901,11 @@
+@@ -10844,6 +10913,11 @@
case ATH_RADAR_IGNORED:
sc->sc_radar_ignored = val;
break;
@@ -211,7 +211,7 @@
default:
ret = -EINVAL;
break;
-@@ -10898,6 +10972,11 @@
+@@ -10910,6 +10984,11 @@
case ATH_RADAR_IGNORED:
val = sc->sc_radar_ignored;
break;
@@ -223,7 +223,7 @@
default:
ret = -EINVAL;
break;
-@@ -11075,6 +11154,24 @@
+@@ -11087,6 +11166,24 @@
.proc_handler = ath_sysctl_halparam,
.extra2 = (void *)ATH_RADAR_IGNORED,
},