#1674: problem with setting channel in AP mode
-----------------------------------+----------------------------------------
 Reporter:  [EMAIL PROTECTED]    |             Type:  defect
   Status:  new                    |         Priority:  major 
Component:  madwifi: 802.11 stack  |          Version:  trunk 
 Keywords:                         |   Patch_attached:  0     
-----------------------------------+----------------------------------------
 During tests of latest version of madwifi - trunk r2992 - i have noticed
 problem with setting channel. All tests i made on several kernel versions
 - mostly on 2.6.22.12 and 2.6.22.14, but also on 2.6.19.7 and several
 others. Machines i have tested have been one dual core Intel machine, one
 AMD Sempron 64  and one AMD Athlon XP machine, all  32bit. Distro is
 customized Slackware, tested various versions of wireless tools. All tests
 have been done only in 802.11a range.

 Problem :

 I have machine with 2 - tested also with 4,6,1 etc. - atheros cards -
 tested on CM10 and CM9 too.  When i set for example channel 100 on AP mode
 card, put it up, let second card associate to it and then issue iwconfig
 ath0 channel 104, the AP mode card switch channel immidiately, without
 problem. Then, if i set back channel 100, or use any other channel, it is
 not set, device just stay on the channel 104. Only way to force card to be
 set to desired channel is to put if down and up again by ifconfig. I did
 bidirectional search and it seems, that changes in 2831 started this
 behavior, before that revision channel switching worked without putting
 device down and up again. I also tried to turn off doth, to turn off
 bgscan, tried iwpriv ath0 doth_chanswitch instead of iwconfig ath0 channel
 etc., all to no avail.

 I did some more research, and it seems, that before r2831 all iwconfig
 ath0 channel X
 commands were followed by reset of card. From r2831 on only first channel
 change is followed by HAL reset, next ones are probably handled by higher
 layers - and handled wrong? - again, till ifconfig ath0 down and ifconfig
 ath0 up is done, after that HAL reset happens and channel is set to
 desired value. More info to come soon.

-- 
Ticket URL: <http://madwifi.org/ticket/1674>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to