svn commit: r191859 - projects/mesh11s/sys/dev/ath

Rui Paulo rpaulo at FreeBSD.org
Wed May 6 20:48:46 UTC 2009


Author: rpaulo
Date: Wed May  6 20:48:45 2009
New Revision: 191859
URL: http://svn.freebsd.org/changeset/base/191859

Log:
  Prepare beacons in MBSS mode too.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sys/dev/ath/if_ath.c

Modified: projects/mesh11s/sys/dev/ath/if_ath.c
==============================================================================
--- projects/mesh11s/sys/dev/ath/if_ath.c	Wed May  6 20:24:17 2009	(r191858)
+++ projects/mesh11s/sys/dev/ath/if_ath.c	Wed May  6 20:48:45 2009	(r191859)
@@ -3213,10 +3213,12 @@ ath_beacon_config(struct ath_softc *sc, 
 				} while (nexttbtt < tsftu);
 			}
 			ath_beaconq_config(sc);
-		} else if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
+		} else if (ic->ic_opmode == IEEE80211_M_HOSTAP ||
+		    ic->ic_opmode == IEEE80211_M_MBSS) {
 			/*
-			 * In AP mode we enable the beacon timers and
-			 * SWBA interrupts to prepare beacon frames.
+			 * In AP mode and mesh mode we enable the beacon
+			 * timers and * SWBA interrupts to prepare beacon
+			 * frames.
 			 */
 			intval |= HAL_BEACON_ENA;
 			sc->sc_imask |= HAL_INT_SWBA;	/* beacon prepare */


More information about the svn-src-projects mailing list