Date: Tue, 31 Jan 2012 21:00:58 -0500 From: Shant Kassardjian <shant@skylab.ca> To: <adrian@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: RE: SR71-A (AR9160) no longer detected in FreeBSD 9 Message-ID: <SNT128-W49D0A34C832C7E41EEB15ADC730@phx.gbl> In-Reply-To: <SNT128-W62ADCF51E271B04A4CA1E0DC720@phx.gbl> References: <SNT128-W597CCDA08508FF395508F1DC720@phx.gbl>, <CAJ-VmokRH9YyGftfGj-eC=yQaAZ2sZ8sC=U4NgwD3%2B%2BWnZ_FLg@mail.gmail.com>, <SNT128-W99EE0AA99E4BEE8AB3683DC720@phx.gbl>, <CAJ-Vmo==4EVcbzHm_eZYafRAP1EdFk-ub%2BY4DGn4OBJ_b5yGDQ@mail.gmail.com>, <SNT128-W14C978FA4833CE3F0B1552DC720@phx.gbl>, <CAJ-Vmo=yLdcOD-h%2Bxrgd6V3cT8gaQDCscLi%2B-KmHi=Yz268i6Q@mail.gmail.com>, <SNT128-W62ADCF51E271B04A4CA1E0DC720@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Adrian=2C After recompiling the kernel with device ath_pci=2C atheros got redetected= =2C 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=3B hal status 14 =20 core# ifconfig wlan0 channel 6:ht/40 = =20 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=3B resetting (bmiss count 4) I tried adding the following in /etc/rc.conf: wlans_ath0=3D"wlan0" create_args_wlan0=3D"wlanmode hostap" ifconfig_wlan0=3D"inet 172.25.2.1 netmask 255.255.255.224 ssid test mode 11= na channel 6:ht/40 txpower 5 -ampdutx mac:allow" ifconfig shows the following=2C still can't force it to do N. wlan0: flags=3D8843<UP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAST> metric = 0 mtu 1500 ether 00:15:6d:84:70:d5 nd6 options=3D1<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 pci= 1 ath0: [HT] enabling HT modes ath0: [HT] 2 RX streams=3B 2 TX streams ath0: AR9160 mac 64.0 RF5133 phy 11.0 wlan0: flags=3D8843<UP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAST> metric = 0 mtu 1500 ether 00:15:6d:84:70:d5 nd6 options=3D1<PERFORMNUD> media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselec= t <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=3B resetting (bmiss count 4) = ~ ath0: stuck beacon=3B resetting (bmiss count 0) If you need more information just let me know=2C I'd be glad to help out. Regards=2C Shant K. From: shant@skylab.ca To: adrian@freebsd.org CC: freebsd-wireless@freebsd.org Subject: RE: SR71-A (AR9160) no longer detected in FreeBSD 9 Date: Mon=2C 30 Jan 2012 21:28:43 -0500 Just to make sure I got everything right: ifconfig_wlan0=3D"inet 172.25.2.1 netmask 255.255.255.224 ssid test mode 11= na 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=2C 30 Jan 2012 18:19:50 -0800 Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9 From: adrian@freebsd.org To: shant@skylab.ca CC: freebsd-wireless@freebsd.org ifconfig wlanX -ampdutx Adrian On 30 January 2012 18:17=2C Shant Kassardjian <shant@skylab.ca> wrote: I can not find any documentation on how to disable ampdutx=2C is it a comma= nd or a patch that I need to apply? I would be willing to test out. Date: Mon=2C 30 Jan 2012 18:12:40 -0800 Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9 From: adrian@freebsd.org To: shant@skylab.ca CC: freebsd-wireless@freebsd.org Yes=2C 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=2C Shant Kassardjian <shant@skylab.ca> wrote: Hi Adrian=2C 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 r= ecompiling! :) btw=2C do you know if AR9160 can support multiple SSIDs in hostap mode? Exa= mple=2C I would like to create one 802.11a SSID network and another 802.11n= or 802.11g network... Shant K. Date: Mon=2C 30 Jan 2012 17:51:05 -0800 Subject: Re: SR71-A (AR9160) no longer detected in FreeBSD 9 From: adrian@freebsd.org To: shant@skylab.ca CC: freebsd-wireless@freebsd.org Hi=2C Try including the ath_pci device in your kernel config file. Sorry about that! :) Adrian =20 =20 =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT128-W49D0A34C832C7E41EEB15ADC730>