#948: Wrong interface name returned by ieee80211_ioctl_create_vap()
----------------------------------+-----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |            Owner:        
     Type:  defect                |           Status:  new   
 Priority:  major                 |        Milestone:        
Component:  madwifi: driver       |          Version:  v0.9.2
 Keywords:                        |   Patch_attached:  0     
----------------------------------+-----------------------------------------
 Note: Before you get this far you need the patches for bugs #946 and #947

 ieee80211_ioctl_create_vap() should return the name of the newly created
 device. This does not always work. It seems like when there is no devices
 and it is creating the first device it gets it wrong and return ath0 when
 in fact it returns ath46 or something like that. When creating the second
 device it gets it right and returns the correct interface name:

 {{{
 # wlanconfig ath47 destroy
 # /sbin/wlanconfig ath create wlandev wifi0 wlanmode monitor
 ath0
 # /sbin/wlanconfig ath create wlandev wifi0 wlanmode monitor
 ath49
 }}}
 ath0 should of been ath48, which you can see by using iwconfg:

 {{{
 ath48     IEEE 802.11b  ESSID:""
           Mode:Monitor  Channel:0  Access Point: Not-Associated
           Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 ath49     IEEE 802.11b  ESSID:""
           Mode:Monitor  Channel:0  Access Point: Not-Associated
           Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/948>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to