Commit 1e3e6e8f authored by Nick Kossifidis's avatar Nick Kossifidis Committed by John W. Linville

ath5k: Disable BMISS interrupts

 * Don't enable BMISS interrupts as we don't handle them yet
Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e8f055f0
...@@ -2209,10 +2209,6 @@ ath5k_beacon_update_timers(struct ath5k_softc *sc, u64 bc_tsf) ...@@ -2209,10 +2209,6 @@ ath5k_beacon_update_timers(struct ath5k_softc *sc, u64 bc_tsf)
* *
* @sc: struct ath5k_softc pointer we are operating on * @sc: struct ath5k_softc pointer we are operating on
* *
* When operating in station mode we want to receive a BMISS interrupt when we
* stop seeing beacons from the AP we've associated with so we can look for
* another AP to associate with.
*
* In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA * In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA
* interrupts to detect TSF updates only. * interrupts to detect TSF updates only.
*/ */
...@@ -2225,9 +2221,7 @@ ath5k_beacon_config(struct ath5k_softc *sc) ...@@ -2225,9 +2221,7 @@ ath5k_beacon_config(struct ath5k_softc *sc)
sc->bmisscount = 0; sc->bmisscount = 0;
sc->imask &= ~(AR5K_INT_BMISS | AR5K_INT_SWBA); sc->imask &= ~(AR5K_INT_BMISS | AR5K_INT_SWBA);
if (sc->opmode == NL80211_IFTYPE_STATION) { if (sc->opmode == NL80211_IFTYPE_ADHOC ||
sc->imask |= AR5K_INT_BMISS;
} else if (sc->opmode == NL80211_IFTYPE_ADHOC ||
sc->opmode == NL80211_IFTYPE_MESH_POINT || sc->opmode == NL80211_IFTYPE_MESH_POINT ||
sc->opmode == NL80211_IFTYPE_AP) { sc->opmode == NL80211_IFTYPE_AP) {
/* /*
...@@ -2479,6 +2473,7 @@ ath5k_intr(int irq, void *dev_id) ...@@ -2479,6 +2473,7 @@ ath5k_intr(int irq, void *dev_id)
| AR5K_INT_TXERR | AR5K_INT_TXEOL)) | AR5K_INT_TXERR | AR5K_INT_TXEOL))
tasklet_schedule(&sc->txtq); tasklet_schedule(&sc->txtq);
if (status & AR5K_INT_BMISS) { if (status & AR5K_INT_BMISS) {
/* TODO */
} }
if (status & AR5K_INT_MIB) { if (status & AR5K_INT_MIB) {
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment