(no subject)
Hello,
I have a TrendNet 652-BRP running OpenWRT + ath9k very well. The only problem is that the beacon gets stuck maybe once a day. After Vasanthakumar Thiagarajan's "ath9k: cleanup beacon parameters configuration" patch, ath9k would nearly re-configure the beacons after it detected the stuck beacon, and did a reset. But it would fail the SC_OP_TSF_RESET check in ath_beacon_config_ap. This patch gets the beacon fully reconfigured after the reset.
-Jeff
---------------------------------------------------
"If someone's gotta do it, it might as well be me."
x at jeffhansen.com
-------------- next part --------------
drivers/net/wireless/ath/ath9k/beacon.c renamed from drivers/net/wireless/ath/ath9k/beacon.c.orig +1 -0
@@ -411,6 +411,7 @@ }else if (sc->beacon.bmisscnt >=BSTUCK_THRESH ) {DPRINTF (sc,ATH_DBG_BEACON ,"beacon is officially stuck\n" ); + sc->sc_flags |=SC_OP_TSF_RESET ;ath_reset (sc, false); }
Quoted 9 lines · Jeff Hansen
Hello,
I have a TrendNet 652-BRP running OpenWRT + ath9k very well. ?The only problem is that the beacon gets stuck maybe once a day. ?After Vasanthakumar Thiagarajan's "ath9k: cleanup beacon parameters configuration" patch, ath9k would nearly re-configure the beacons after it detected the stuck beacon, and did a reset. ?But it would fail the
SC_OP_TSF_RESETcheck inath_beacon_config_ap. ?This patch gets the beacon fully reconfigured after the reset.
Thanks Jeff, can you please submit to linux-wireless with a Signed-off-by, you can read what that implies in Documentation/SubmittingPatches, specifically refer to the "Developer's Certificate of Origin 1.1". Also please refer to:
http://wireless.kernel.org/en/developers/Documentation/SubmittingPatches
Luis
Quoted 9 lines · Jeff Hansen
Hello,
I have a TrendNet 652-BRP running OpenWRT + ath9k very well. ?The only problem is that the beacon gets stuck maybe once a day. ?After Vasanthakumar Thiagarajan's "ath9k: cleanup beacon parameters configuration" patch, ath9k would nearly re-configure the beacons after it detected the stuck beacon, and did a reset. ?But it would fail the
SC_OP_TSF_RESETcheck inath_beacon_config_ap. ?This patch gets the beacon fully reconfigured after the reset.
I too have been seeing the problem where beacons stop with ath9k on an ar71xx-based router.
I've been running with this patch for about 48 hours, and the beacons are still going. Previously, they would stop after 6-12 hours. Looks good!
Signature · 1 line
Will Dyson