Now that the devices with functioning ps-poll hardware support have

been enumerated (merlin and later), flick this on.
This commit is contained in:
Adrian Chadd 2011-05-12 14:03:29 +00:00
parent 76dc2afdc7
commit dce0bcca8a

View File

@ -1946,17 +1946,15 @@ ath_calcrxfilter(struct ath_softc *sc)
IEEE80211_IS_CHAN_ANYG(ic->ic_curchan)) IEEE80211_IS_CHAN_ANYG(ic->ic_curchan))
rfilt |= HAL_RX_FILTER_BEACON; rfilt |= HAL_RX_FILTER_BEACON;
#if 0
/* /*
* Enable hardware PS-POLL RX only for hostap mode; * Enable hardware PS-POLL RX only for hostap mode;
* STA mode sends PS-POLL frames but never * STA mode sends PS-POLL frames but never
* receives them. * receives them.
*/ */
if (ath_hal_getcapability(ah, HAL_CAP_HAS_PSPOLL, if (ath_hal_getcapability(sc->sc_ah, HAL_CAP_PSPOLL,
0, NULL) == HAL_OK && 0, NULL) == HAL_OK &&
ic->ic_opmode == IEEE80211_M_HOSTAP) ic->ic_opmode == IEEE80211_M_HOSTAP)
rfilt |= HAL_RX_FILTER_PSPOLL; rfilt |= HAL_RX_FILTER_PSPOLL;
#endif
if (sc->sc_nmeshvaps) { if (sc->sc_nmeshvaps) {
rfilt |= HAL_RX_FILTER_BEACON; rfilt |= HAL_RX_FILTER_BEACON;