#572: madwifi-ng mode changes modification (iwpriv XX mode YY) and (iwconfig XX
channel YY) / (iwconfig XX freq YY)
----------------------------------+-----------------------------------------
      Reporter:  dyqith           |       Owner:  dyqith                        
                     
          Type:  defect           |      Status:  assigned                      
                     
      Priority:  major            |   Milestone:  version 0.9.x - progressive 
release candidate phase
     Component:  madwifi: driver  |     Version:  trunk                         
                     
    Resolution:                   |    Keywords:  mode channel freq             
                     
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by dyqith):

 The code is very inconsistent between how different  VAPs (AP, sta, wds,
 monitor) handle the mode (802.11a/b/g) changes.

 AP uses ieee80211_create_ibss(), but it won't create anything unless both
 mode and channel are set.

 STA uses ieee80211_check_scan(), using the mode as its limitation, it
 scans on the channels of the given mode. (limited by athchans, but not by
 the channel given by the user)

 WDS and MONITOR is just put into RUN state without any modification, even
 if mode and channels are set.

 -----

 Proposed changes:
 1) The abg mode takes precedence over the channel choices.
 2) STA should limit its scanning range to the current set channel, (bgscan
 should take care of hopping otherwise)
 3) WDS and MONITOR needs to be allowed to got into SCANNING state, thus
 allowing them to change channel and modes
 4) Scanning modules need to be created for WDS and MONITOR mode in order
 for 3) to happen.


 IMHO, any state should allow for a manual scan.

-- 
Ticket URL: <http://madwifi.org/ticket/572>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to