At this risk of boring you, here is another test. I've embedded the
channel check inot the wlan script so it lists the available channels
immediately after the driver has loaded. See once we got 13 channels
twice in a row!


Code:
--------------------
    /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      13 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Channel 12 : 2.467 GHz
  Channel 13 : 2.472 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      13 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Channel 12 : 2.467 GHz
  Channel 13 : 2.472 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      11 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      13 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Channel 12 : 2.467 GHz
  Channel 13 : 2.472 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      11 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      11 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      11 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  root: wlan started
  /etc/init.d$ /etc/init.d/wlan stop
  root: wlan: stopping
  ..unloading all
  killall: recEvent: no process killed
  root: wlan stopped
  /etc/init.d$ /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:26:70:EB
  Load Board Data from /lib/atheros/calData_ar6102_15dBm.bin
  Updating MAC address
  BMI Write Memory (address: 0x502400, filename: /lib/atheros/athwlan.bin)
  BMI Write Memory (address: 0x52d8bc, filename: 
/lib/atheros/data.patch.hw2_0.bin)
  BMI Write Memory (address: 0x500418, value: 0x52d8bc)
  BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1,  
mask:0x1)
  BMI Done
  eth1      13 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Channel 12 : 2.467 GHz
  Channel 13 : 2.472 GHz
  root: wlan started
--------------------


-- 
Davidg1
------------------------------------------------------------------------
Davidg1's Profile: http://forums.slimdevices.com/member.php?userid=35004
View this thread: http://forums.slimdevices.com/showthread.php?t=86368

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to