bin/163455: [ath] "bssid" in wlanN create_args does not change wlan MAC address

John Nielsen john at jnielsen.net
Mon Dec 19 18:40:06 UTC 2011


>Number:         163455
>Category:       bin
>Synopsis:       [ath] "bssid" in wlanN create_args does not change wlan MAC address
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 19 18:40:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     John Nielsen
>Release:        FreeBSD 9.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD stealth.jnielsen.net 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r228148M: Thu Dec 1 08:59:24 EST 2011 john at stealth.jnielsen.net:/usr/obj/usr/src/sys/STEALTH amd64


	
>Description:
	
The "bssid" parameter to ifconfig does notwork as advertised with ath
hardware: all wlan devices have the same MAC address(es) as their parent(s),
whether or not the "bssid" keyword is used when they are created. I know I
have used it successfully in the past but it may have been with a different
(ath) card and I don't know what FreeBSD version it was so I can't be much
help in determining when it stopped working (if indeed it ever did for this
hardware). The machine in question currently has an AR9220 card:

ath0: <Atheros 9220> mem 0xfebf0000-0xfebfffff irq 20 at device 5.0 on pci4
[ath] enabling AN_TOP2_FIXUP
ath0: [HT] enabling HT modes
ath0: [HT] 2 RX streams; 2 TX streams
ath0: Enabling register serialisation
ath0: AR9220 mac 128.2 RF5133 phy 13.0

ath0 at pci0:4:5:0:	class=0x028000 card=0x2096168c chip=0x0029168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR922X Wireless Network Adapter'

>How-To-Repeat:
ifconfig wlan0 create wlandev ath0 wlanmode hostap bssid
ifconfig wlan1 create wlandev ath0 wlanmode hostap bssid
ifconfig ath0
ifconfig wlan0
ifconfig wlan1
notice that the MAC addresses of both vap's are identical to the parent device.
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list