aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/383-ibss_hostap.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-28 20:46:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-28 20:46:52 +0000
commitc81a5c00ca564c05c235f81f45fa92748bea3ce1 (patch)
tree24419a2543e3cd0126e87327e3185a60b76149bd /package/madwifi/patches/383-ibss_hostap.patch
parent953f9a6489ee0f8853df5a384fa820ec9617c8a3 (diff)
downloadupstream-c81a5c00ca564c05c235f81f45fa92748bea3ce1.tar.gz
upstream-c81a5c00ca564c05c235f81f45fa92748bea3ce1.tar.bz2
upstream-c81a5c00ca564c05c235f81f45fa92748bea3ce1.zip
madwifi: improve reliability of the wds modes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13416 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/383-ibss_hostap.patch')
-rw-r--r--package/madwifi/patches/383-ibss_hostap.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/patches/383-ibss_hostap.patch b/package/madwifi/patches/383-ibss_hostap.patch
index 7ededce80c..445f537373 100644
--- a/package/madwifi/patches/383-ibss_hostap.patch
+++ b/package/madwifi/patches/383-ibss_hostap.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -1452,6 +1452,23 @@ ath_vap_create(struct ieee80211com *ic,
+@@ -1451,6 +1451,23 @@ ath_vap_create(struct ieee80211com *ic,
sc->sc_nstavaps++;
else if (opmode == IEEE80211_M_MONITOR)
sc->sc_nmonvaps++;
@@ -24,7 +24,7 @@
/*
* Adhoc demo mode is a pseudo mode; to the HAL it's
* just IBSS mode and the driver doesn't use management
-@@ -4279,7 +4296,8 @@ ath_calcrxfilter(struct ath_softc *sc)
+@@ -4278,7 +4295,8 @@ ath_calcrxfilter(struct ath_softc *sc)
if (ic->ic_opmode != IEEE80211_M_HOSTAP && (dev->flags & IFF_PROMISC))
rfilt |= HAL_RX_FILTER_PROM;
if (ic->ic_opmode == IEEE80211_M_STA ||
@@ -34,7 +34,7 @@
(sc->sc_nostabeacons) || sc->sc_scanning ||
(ic->ic_opmode == IEEE80211_M_HOSTAP))
rfilt |= HAL_RX_FILTER_BEACON;
-@@ -6433,6 +6451,33 @@ ath_capture(struct net_device *dev, cons
+@@ -6432,6 +6450,33 @@ ath_capture(struct net_device *dev, cons
}
/*
@@ -68,7 +68,7 @@
* Intercept management frames to collect beacon RSSI data and to do
* ibss merges. This function is called for all management frames,
* including those belonging to other BSS.
-@@ -6485,10 +6530,19 @@ ath_recv_mgmt(struct ieee80211vap * vap,
+@@ -6484,10 +6529,19 @@ ath_recv_mgmt(struct ieee80211vap * vap,
DPRINTF(sc, ATH_DEBUG_BEACON,
"Updated beacon timers\n");
}
@@ -92,7 +92,7 @@
}
/* NB: Fall Through */
case IEEE80211_FC0_SUBTYPE_PROBE_RESP:
-@@ -6561,6 +6615,10 @@ ath_recv_mgmt(struct ieee80211vap * vap,
+@@ -6560,6 +6614,10 @@ ath_recv_mgmt(struct ieee80211vap * vap,
#endif
if (do_merge)
ieee80211_ibss_merge(ni);