Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2012 11:30:37 +0200
From:      Johann Hugo <jhugo@meraka.csir.co.za>
To:        freebsd-wireless@freebsd.org
Subject:   9-stable with -head ath/net80211 stacks
Message-ID:  <201206071130.37411.jhugo@meraka.csir.co.za>

next in thread | raw e-mail | index | archive | help
Hi

Got 11n up and running in hostap mode on 9-stable with -head ath/net80211 
stacks. Unfortunately I only have one 802.11n adapter to play with. 

The only 11n client I could find was my Samsung Galaxy S2 and it works very 
well.

The only problem that I got so far is that 11n only works if I don't set the 
country or regdomain.

AP-vlan:~ # ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500
        ether 00:80:48:66:54:b4
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11na <hostap>
        status: running
        ssid my-n channel 52 (5260 MHz 11a ht/20) bssid 00:80:48:66:54:b4
        country US ecm authmode OPEN privacy OFF txpower 23 mcastrate 6
        mgmtrate 6 scanvalid 60 -ht -htcompat -ampdu ampdulimit 64k
        ampdudensity 8 -amsdu smps wme burst dtimperiod 1 -dfs

-----------------------------------------------------------------------
If I change the country to ZA then it defaults to 11a
-----------------------------------------------------------------------
AP-vlan:~ # ifconfig wlan0 down
AP-vlan:~ # ifconfig wlan0 country ZA
AP-vlan:~ # ifconfig wlan0 up
AP-vlan:~ # ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500
        ether 00:80:48:66:54:b4
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <hostap>
        status: running
        ssid my-n channel 52 (5260 MHz 11a) bssid 00:80:48:66:54:b4
        regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 24
        mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1 -dfs

-----------------------------------------------------------------------
If I change it back to country US then it also defaults to 11a, but the 
regdomain also changes to FCC
-----------------------------------------------------------------------
AP-vlan:~ # ifconfig wlan0 down
AP-vlan:~ # ifconfig wlan0 country US
AP-vlan:~ # ifconfig wlan0 up
AP-vlan:~ # ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500
        ether 00:80:48:66:54:b4
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <hostap>
        status: running
        ssid my-n channel 36 (5180 MHz 11a) bssid 00:80:48:66:54:b4
        regdomain FCC country US ecm authmode OPEN privacy OFF txpower 17
        mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1 -dfs

Johann



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206071130.37411.jhugo>