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 .

Ticket #2184 (new defect)

Opened 13 years ago

Last modified 13 years ago

Cannot swith channel 4 after boot on CM9

Reported by: JaFojtik@seznam.cz Assigned to:
Priority: major Milestone:
Component: madwifi: other Version: v0.9.4
Keywords: Cc:
Patch is attached: 0 Pending: 0

Description

Please note that channel switching will start to work after 5 minutes after boot. Till this time 'a' mode is frozen and I cannot switch into 'b/g' band channels. I could select channels only from a band.

Example 1:

root@dvouramenna:~# iwconfig ath1 channel 4 essid "CZFree.Net.Dvouramenna" nick "JaFojtik@seznam.cz"
txpower 16 root@dvouramenna:~# iwconfig ath1 ath1      IEEE 802.11a  ESSID:"CZFree.Net.Dvouramenna" 
Nickname:"JaFojtik@seznam.cz"
          Mode:Managed  Frequency:2.427 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power=16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=161/162  Noise level=161/161
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
root@dvouramenna:~# ifconfig ath1 up
root@dvouramenna:~# iwconfig ath1
ath1      IEEE 802.11a  ESSID:"CZFree.Net.Dvouramenna"  Nickname:"JaFojtik@seznam.cz"
          Mode:Managed  Frequency:5.765 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power=16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-92 dBm  Noise level=-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

And example 2:

root@dvouramenna:~# ifconfig ath1 down
root@dvouramenna:~# iwconfig ath1 channel 4
root@dvouramenna:~# ifconfig ath1 up
root@dvouramenna:~# iwconfig ath1
ath1      IEEE 802.11a  ESSID:"CZFree.Net.Dvouramenna"  Nickname:"JaFojtik@sezna          
                  m.cz"
          Mode:Managed  Frequency:5.745 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power=16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-93 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Change History

11/15/08 23:48:50 changed by JaFojtik@seznam.cz

I have found an workaround:

iwconfig ath1 channel 4 essid "CZFree.Net.Dvouramenna" nick "JaFojtik@seznam.cz" txpower 16
ifconfig ath1 up
ifconfig ath1 down
iwpriv ath1 mode 3
iwconfig ath1 channel 4
ifconfig ath1 up
iwconfig ath1 txpower 18

Basically iwpriv ath1 mode should be 0 i.e. a/b/g. It is still a bug when I cannot switch 'b' mode after reboot without fiddling with iwpriv.

12/01/08 22:54:48 changed by JaFojtik@seznam.cz

I understand that device could search for AP and change recommended channel when ESSID has been found on another channel even in another band "b/g" or "a". But if ESSID is not found the device should not unexpectedly change channel.