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 7 and Version 8 of StuckBeacon

Author:
c.blaue @ bmiag.de (IP: 0.0.0.0)
Timestamp:
01/13/06 20:03:38 (14 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StuckBeacon

    v7 v8  
    2525 
    2626more information specific to intel centrino laptops can be found here: http://support.intel.com/support/wireless/wlan/sb/cs-006205.htm 
     27 
     28Here is a little perl script giving you the differences. Usage: store the code in a file, e.g. "madwifi.pl". Call it with  
     29"perl madwifi.pl wifi0" 
     30and watch the number of interrupts every second. Replace "wifi0" with your interface. On my idle system a value between 10 and 50 seems to be normal. 
     31 
     32{{{ 
     33# (setq perl-args (list "wifi0")) 
     34# show information about the number of interrupts 
     35($if) = @ARGV; 
     36$if = "wifi0" unless $if; 
     37print "Interface is $if\n"; 
     38select(STDOUT); 
     39$| = 1; # flush stdout; 
     40while (true){ 
     41  open (IRQ,"/proc/interrupts"); 
     42  while($ifline = <IRQ>){ 
     43    if($ifline =~ /.*: *([0-9]+).*$if/){ 
     44      $count = $1; 
     45    } 
     46  } 
     47  close(IRQ); 
     48  $diff = $count - $oldCount; 
     49  print "\r $diff"; 
     50  $oldCount = $count; 
     51  sleep 1; 
     52} 
     53}}}