SR71-A (AR9160) no longer detected in FreeBSD 9
Shant Kassardjian
shant at skylab.ca
Wed Feb 1 02:01:00 UTC 2012
Hi Adrian,
After recompiling the kernel with device ath_pci, atheros got redetected, however 802.11n seems to not be working with the following errors:
ifconfig wlan0 destroy
ifconfig wlan0 create wlandev ath0 wlanmode hostap
wlan0: Ethernet address: 00:15:6d:84:70:d5
core# ath0: unable to reset hardware; hal status 14
core# ifconfig wlan0 channel 6:ht/40
ifconfig: SIOCS80211: Invalid argument
core# ifconfig wlan0 172.25.2.1 ssid test mode 11n channel 6:ht/40 -ampdutx ~
ifconfig: SIOCS80211: Invalid argument
core# ath0: stuck beacon; resetting (bmiss count 4)
I tried adding the following in /etc/rc.conf:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="inet 172.25.2.1 netmask 255.255.255.224 ssid test mode 11na channel 6:ht/40 txpower 5 -ampdutx mac:allow"
ifconfig shows the following, still can't force it to do N.
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:6d:84:70:d5
nd6 options=1<PERFORMNUD>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11na <hostap>
status: running
ssid test channel 52 (5260 MHz 11a ht/40+) bssid 00:15:6d:84:70:d5
country US ecm authmode OPEN privacy OFF txpower 23 mcastrate 6
mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme
burst dtimperiod 1 -dfs
here is my dmesg for atheros:
ath0: <Atheros 9160> mem 0xfe6f0000-0xfe6fffff irq 19 at device 15.0 on pci1
ath0: [HT] enabling HT modes
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9160 mac 64.0 RF5133 phy 11.0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:6d:84:70:d5
nd6 options=1<PERFORMNUD>
media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
status: no carrier
ssid test channel 161 (5805 MHz 11a)
country US ecm authmode OPEN privacy OFF txpower 30 mcastrate 6
mgmtrate 6 scanvalid 60 wme burst dtimperiod 1 -dfs
core# ifconfig wlan0 inet 172.25.2.1 netmask 255.255.255.248 mode 11n ssid test channel 6:ht/40
ifconfig: SIOCSIFMEDIA (media): Device not configured
core# ath0: stuck beacon; resetting (bmiss count 4) ~
ath0: stuck beacon; resetting (bmiss count 0)
If you need more information just let me know, I'd be glad to help out.
Regards,
Shant K.
From: shant at skylab.ca
To: adrian at freebsd.org
CC: freebsd-wireless at freebsd.org
Subject: RE: SR71-A (AR9160) no longer detected in FreeBSD 9
Date: Mon, 30 Jan 2012 21:28:43 -0500
Just to make sure I got everything right:
ifconfig_wlan0="inet 172.25.2.1 netmask 255.255.255.224 ssid test mode 11na channel 64:ht/40 txpower 5 -ampdutx mac:allow"
does this look right to you?
I would like to run 802.11n only @ 5ghz frequencies...
Date: Mon, 30 Jan 2012 18:19:50 -0800
Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9
From: adrian at freebsd.org
To: shant at skylab.ca
CC: freebsd-wireless at freebsd.org
ifconfig wlanX -ampdutx
Adrian
On 30 January 2012 18:17, Shant Kassardjian <shant at skylab.ca> wrote:
I can not find any documentation on how to disable ampdutx, is it a command or a patch that I need to apply? I would be willing to test out.
Date: Mon, 30 Jan 2012 18:12:40 -0800
Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9
From: adrian at freebsd.org
To: shant at skylab.ca
CC: freebsd-wireless at freebsd.org
Yes, it will support that.
Please note - 802.11n TX is not gonig to work in 9.0 - you have to disable ampdutx.
Adrian
On 30 January 2012 18:03, Shant Kassardjian <shant at skylab.ca> wrote:
Hi Adrian,
I can't believe I forgot to include that! weird that it was working without it in 8.2!
I added back: options ATH_ENABLE_11N and device ath_pci and recompiling! :)
btw, do you know if AR9160 can support multiple SSIDs in hostap mode? Example, I would like to create one 802.11a SSID network and another 802.11n or 802.11g network...
Shant K.
Date: Mon, 30 Jan 2012 17:51:05 -0800
Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9
From: adrian at freebsd.org
To: shant at skylab.ca
CC: freebsd-wireless at freebsd.org
Hi,
Try including the ath_pci device in your kernel config file.
Sorry about that! :)
Adrian
More information about the freebsd-wireless
mailing list