Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Changes between Version 17 and Version 18 of StuckBeacon

Author:
mrenzmann (IP: 0.0.0.0)
Timestamp:
06/29/08 11:11:22 (11 years ago)
Comment:

Improve use of wiki syntax.

Legend:

Unmodified
Added
Removed
Modified
  • StuckBeacon

    v17 v18  
    88 
    99To enable debug messages to help sort out the stuck beacon problem:  
    10  athdebug +beacon +beacon_proc +fatal  
    11  
    12  80211debug +assoc +elemid 
     10{{{ 
     11athdebug +beacon +beacon_proc +fatal  
     1280211debug +assoc +elemid 
     13}}} 
    1314 
    1415The SBP is strictly an issue on APs, stations don't have the Problem. The SBP is generally associated with a reduction in performance.  Data transfer rates drop.  Data may stop moving all together.  You may get a 'Stuck Beacon' message.  
    1819One of the measures that can indicate the problem is an ''acceleration'' in the card's hardware interrupt rate.  To watch the accumulation of interrupts on '''wifi0''', key in the following line from a console.  Substitute your interface name for '''wifi0''':  in the 'old' code, typically that is '''ath0''', and in the 'NG' code, the name of the base device, typically '''wifi0'''.  If the accumulation rate accelerates significantly, you may be heading towards a stuck beacon.  NB:  the count shown below will increase, and that is normal.  Accelerated rates are the issue. 
    1920 
    20  watch -n 1 'cat /proc/interrupts | grep wifi0' 
     21{{{ 
     22watch -n 1 'cat /proc/interrupts | grep wifi0' 
     23}}} 
    2124 
    2225Stuck Beacons can often be the result of a incorrect installation or misconfiguration. It's been reported that changing settings stopped the stuck beacon (which settings you ask:  the reporter said "I don't remember which setting stopped that").   
    5760After suffering repeat kernel panics on my SMC WPCIT-G, I have done the following:  
    5861 
    59 1) reduced the beacon interval time: iwpriv ath0 bintval 500 
    60  
    61 2) locked to 802.11g: iwpriv ath0 mode 3 
    62  
    63 3) manually set channel: iwconfig ath0 channel 9 
    64  
    65 4) disabled turbo mode: iwpriv ath0 turbo 0 
     62 1. reduced the beacon interval time: iwpriv ath0 bintval 500 
     63 2. locked to 802.11g: iwpriv ath0 mode 3 
     64 3. manually set channel: iwconfig ath0 channel 9 
     65 4. disabled turbo mode: iwpriv ath0 turbo 0 
    6666 
    6767I now have no more kernel panics, but network throughput is poor. SBPs still occur, but very infrequently (sometimes none in a day, other times every few minutes - log reveals none in last five days). Certain wireless cards now have difficulty maintaining a connection (especially Intel Centrino-based devices). Clients with identical SMC cards have no problem and network uptime is over 30days. Thus, not an ideal solution, but a working system in the interim. 
    7272 
    7373I stopped getting those "stuck beacon" messages after setting the following commands: 
    74  iwpriv ath0 bgscan 0 
     74{{{ 
     75iwpriv ath0 bgscan 0 
     76iwpriv ath0 protmode 0 
     77iwpriv ath0 rssi11a 11 
     78iwpriv ath0 rssi11b 11 
     79iwpriv ath0 rssi11g 11 
     80iwpriv ath0 bintval 500 
     81sysctl -w dev.wifi0.diversity=0 
     82sysctl -w dev.wifi0.txantenna=1 
     83sysctl -w dev.wifi0.rxantenna=1 
     84}}} 
    7585 
    76  iwpriv ath0 protmode 0 
    77  
    78  iwpriv ath0 rssi11a 11 
    79  
    80  iwpriv ath0 rssi11b 11 
    81  
    82  iwpriv ath0 rssi11g 11 
    83  
    84  iwpriv ath0 bintval 500 
    85  
    86  sysctl -w dev.wifi0.diversity=0 
    87  
    88  sysctl -w dev.wifi0.txantenna=1 
    89  
    90  sysctl -w dev.wifi0.rxantenna=1 
    91 Changing the channel to 8 increased the speed. I've set mode to auto (iwpriv ath0 mode 0). HostAP is running in "G" mode. Turbo mode is enabled. 
     86Changing the channel to 8 increased the speed. I've set mode to auto ({{{iwpriv ath0 mode 0}}}). HostAP is running in "G" mode. Turbo mode is enabled.