From owner-freebsd-wireless@FreeBSD.ORG Wed Feb 1 02:01:00 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30B3F106566B; Wed, 1 Feb 2012 02:01:00 +0000 (UTC) (envelope-from pookme@hotmail.com) Received: from snt0-omc4-s41.snt0.hotmail.com (snt0-omc4-s41.snt0.hotmail.com [65.54.51.92]) by mx1.freebsd.org (Postfix) with ESMTP id 0271E8FC1C; Wed, 1 Feb 2012 02:00:59 +0000 (UTC) Received: from SNT128-W49 ([65.55.90.199]) by snt0-omc4-s41.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 31 Jan 2012 18:00:59 -0800 Message-ID: X-Originating-IP: [184.163.168.71] From: Shant Kassardjian Sender: To: Date: Tue, 31 Jan 2012 21:00:58 -0500 Importance: Normal In-Reply-To: References: , , , , , , MIME-Version: 1.0 X-OriginalArrivalTime: 01 Feb 2012 02:00:59.0005 (UTC) FILETIME=[577E02D0:01CCE085] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: RE: SR71-A (AR9160) no longer detected in FreeBSD 9 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 02:01:00 -0000 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 metric = 0 mtu 1500 ether 00:15:6d:84:70:d5 nd6 options=3D1 media: IEEE 802.11 Wireless Ethernet autoselect mode 11na 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: 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 metric = 0 mtu 1500 ether 00:15:6d:84:70:d5 nd6 options=3D1 media: IEEE 802.11 Wireless Ethernet autoselect (autoselec= t ) 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 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 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 =