#1766: wlanconfig ath0 list doesn't display the correct mac address after an
address change
----------------------------------+-----------------------------------------
      Reporter:  dyqith           |       Owner:        
          Type:  defect           |      Status:  closed
      Priority:  minor            |   Milestone:        
     Component:  madwifi: driver  |     Version:  trunk 
    Resolution:  invalid          |    Keywords:        
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Changes (by mtaylor):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is not supported.  The VAPs must all be based upon the same MAC of
 the base radio (whatever that is).  The HAL has a single BSSID mask used
 for all the VAP macs and it doesn't really know or care about VAPs.  VAPs
 are a driver construct.

 Here's how the mask is calculated:

 #define ATH_SET_VAP_BSSID_MASK(bssid_mask)                              \
         ((bssid_mask)[0] &= ~(((ath_maxvaps-1) << 2) | 0x02))

 Here's where we set the mask for the VAPs and install it into the HAL.
 For exactly how the HAL does it's thing you'll have to look at ath5k.
 Suffice it to say that what you are trying to do is not going to be
 possible.

         /* get mac address from hardware */
         ath_hal_getmac(ah, ic->ic_myaddr);
         if (sc->sc_hasbmask) {
                 ath_hal_getbssidmask(ah, sc->sc_bssidmask);
                 ATH_SET_VAP_BSSID_MASK(sc->sc_bssidmask);
                 ath_hal_setbssidmask(ah, sc->sc_bssidmask);
         }

-- 
Ticket URL: <http://madwifi.org/ticket/1766#comment:1>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to