Re: [rft] ar9300 HAL updated
Adrian Chadd adrian.ch...@gmail.com writes: Look in ath/makefile .. At the bottom. There's clang warning overrides there. Uncomment them! Thanks, that did the trick. ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: [rft] ar9300 HAL updated
64 bit kernel? 4 gig RAM? Adrian On 1 April 2013 08:07, Raphael Kubo da Costa rak...@freebsd.org wrote: Adrian Chadd adr...@freebsd.org writes: I've just updated the AR9300 HAL to the March 13 snapshot from QCA. This includes calibration and TX power calibration changes that may improve stability. As always, it's possible I broke something! I'd appreciate it if people would test this in STA and AP mode. Alright, I've finally managed to get everything built and loaded. As I mentioned before, this is HEAD at r248944. I have a Sony Vaio SVT1312 Ultrabook with an Atheros AR9485 wireless card (I _think_ it is also responsible for providing the Bluetooth stuff as well, but I'm not sure). I use this laptop at home to connect to a WPA2 ADSL router. Connecting to it using wpa_supplicant did work, but most of the packages are lost and the ones which actually get through do so with a very high latency. Meanwhile, my terminal gets spammed with the following: ath0: ath_edma_recv_proc_queue: handled npkts 0 ar9300_reset[4366]: ar9300_stop_dma_receive failed Please let me know what other additional information you may need. ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: [rft] ar9300 HAL updated
On 1 April 2013 08:44, Raphael Kubo da Costa rak...@freebsd.org wrote: Adrian Chadd adr...@freebsd.org writes: Please reboot with 4GB of RAM configured. See if that fixes it. Indeed, booting with hw.physmem=4G makes the connection much more reliable -- I do see some of those warnings in the beginning, but they go away after the connection is established. Yup. Those warnings are fine. I need to trace that down and fix it but it's fine if it happens only whilst scanning. My gut feeling is that the average connection speed is still below the one I get when I use my WLAN-Ethernet adapter, but I haven't done any precise measurements to back that up. It's still a work in progress! WHat's the signal strength? (ifconfig wlan0 list sta gives that to you.) On a side note: this card is also supposed to provide Bluetooth support, right? Is any of your work going to help with that as well? Well, bluetooth support will work: * when ath3kfw is patched to include the ability to select an arbitrary USB device id; * when we include the updated ath3k firmware images in the base system. I have the relevant NICs here (AR9462+BT, AR9485+BT) but I haven't yet sat down and tested the bluetooth side. Mostly because I want to focus on wifi, not bluetooth. I haven't yet sat down and figured out the bluetooth coexistence thing yet either. The code is in there, it's just not enabled. So if you load the firmware it'll bring up bluetooth but it and 2GHz wifi will interfere. Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: ath not working after a motherboard and ram upgrade
On 31 March 2013 15:24, Adrian Chadd adrian.ch...@gmail.com wrote: The problem isn't contigmalloc, it's making sure that it gets bounced via the local 32 bits of address space right. I'll talk with other developers and see what the deal is with 64 bit address space for 32 bit nics. Please do an svn update in sys/dev/ath/ and rebuild. I've fixed something in the RX side. I haven't yet gone and fully reviewed all the descriptor / buffer gymnastics on the TX side so it's very possible things will stay broken until I do that. Thanks, Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: ath not working after a motherboard and ram upgrade
update again again; I just did some TX related changes. adrian On 1 April 2013 14:04, Joshua Isom jri...@gmail.com wrote: I just tested it, the network problem's the same. On 4/1/2013 3:22 PM, Adrian Chadd wrote: On 31 March 2013 15:24, Adrian Chadd adrian.ch...@gmail.com wrote: The problem isn't contigmalloc, it's making sure that it gets bounced via the local 32 bits of address space right. I'll talk with other developers and see what the deal is with 64 bit address space for 32 bit nics. Please do an svn update in sys/dev/ath/ and rebuild. I've fixed something in the RX side. I haven't yet gone and fully reviewed all the descriptor / buffer gymnastics on the TX side so it's very possible things will stay broken until I do that. Thanks, Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: ath not working after a motherboard and ram upgrade
I was the same. I got these two messages, but I'm only assuming it's related because the val makes me think of the pci id. These were while using 16GB, and trying an ifconfig scan. Apr 1 16:32:51 jri kernel: Memory modified after free 0xfe003ce3a000(4096) val=168c000c @ 0xfe003ce3a000 Apr 1 16:32:58 jri kernel: Memory modified after free 0xfe003ce36000(4096) val=168c000c @ 0xfe003ce36000 On 4/1/2013 4:11 PM, Adrian Chadd wrote: update again again; I just did some TX related changes. adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
802.11n performance for AR9280
Hello, I have a question about 802.11n performance for AR9280 ( my card is Ubiquiti SR71E ) in hostap mode. To measure performance, I'm looking at the download speeds from my file server (Samba) through a FreeBSD AP to a laptop with Centrino 6300 (agn 3x3:3). I see 3-4 MBytes/s on the 2.4 GHz band (using ht/20 or ht/40 - doesn't matter) and around 5-6 MB/s on the 5 GHz band (ht/40). The laptop is running Win 7 and can do 8-9 MB/s with a commercial AP (2.4 GHz ht/20 2x2:2) I run 9.1-RELEASE GENERIC and the question is this is the expected performance (from 9.1 RELEASE ) or I'm just doing something wrong? May be bad antennas or wires? If it is expected and I need to switch to HEAD to do better, can I only update the ATH_module_releated_stuff and leave the rest of the base untouched? Any comments would be helpful! Gleb --- Here is some info about the system: Right now it is configured for 2.4 GHz simply because of the range. With 5 GHz I need to in the same room with the AP to get the speeds I mentioned. uname -a FreeBSD fwall 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 pciconf -lv ath0@pci0:3:0:0:class=0x028000 card=0x4e050777 chip=0x002a168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR928X Wireless Network Adapter (PCI-Express)' class = network /etc/rc.conf wlans_ath0=wlan0 create_args_wlan0=wlanmode hostap ifconfig_wlan0=apbridge mode 11ng ht channel 3:ht/40 hostapd_enable=YES#for wlan0 hostapd_program=/usr/local/sbin/hostapd #run from port instead of base ifconfig wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:6d:85:25:13 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng hostap status: running ssid badaboom-n channel 3 (2422 MHz 11g ht/40+) bssid 00:15:6d:85:25:13 country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 27 scanvalid 60 protmode CTS -htcompat -ampdu ampdulimit 64k ampdudensity 8 -amsdu smps wme burst dtimperiod 1 -dfs /etc/hostapd.conf: ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC12][DELAYED-BA][MAX-AMSDU-7935][DSSS_CCK-40][LDPC][GF][SMPS-DYNAMIC][PSMP][LSIG-TXOP-PROT] (Here I used all available options. I don't see any difference between using the line and commenting it out. Huh?) ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: 802.11n performance for AR9280
Hi, 9.x doesn't implement 11n aggregation transmission. It only supports 11n MCS rate transmission (with no aggregation) and 11n RX with MCS and aggregation. If you update to -HEAD you should see the performance increase. Adrian On 1 April 2013 15:10, Gleb Romanov groma...@hellok.org wrote: Hello, I have a question about 802.11n performance for AR9280 ( my card is Ubiquiti SR71E ) in hostap mode. To measure performance, I'm looking at the download speeds from my file server (Samba) through a FreeBSD AP to a laptop with Centrino 6300 (agn 3x3:3). I see 3-4 MBytes/s on the 2.4 GHz band (using ht/20 or ht/40 - doesn't matter) and around 5-6 MB/s on the 5 GHz band (ht/40). The laptop is running Win 7 and can do 8-9 MB/s with a commercial AP (2.4 GHz ht/20 2x2:2) I run 9.1-RELEASE GENERIC and the question is this is the expected performance (from 9.1 RELEASE ) or I'm just doing something wrong? May be bad antennas or wires? If it is expected and I need to switch to HEAD to do better, can I only update the ATH_module_releated_stuff and leave the rest of the base untouched? Any comments would be helpful! Gleb --- Here is some info about the system: Right now it is configured for 2.4 GHz simply because of the range. With 5 GHz I need to in the same room with the AP to get the speeds I mentioned. uname -a FreeBSD fwall 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 pciconf -lv ath0@pci0:3:0:0:class=0x028000 card=0x4e050777 chip=0x002a168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR928X Wireless Network Adapter (PCI-Express)' class = network /etc/rc.conf wlans_ath0=wlan0 create_args_wlan0=wlanmode hostap ifconfig_wlan0=apbridge mode 11ng ht channel 3:ht/40 hostapd_enable=YES#for wlan0 hostapd_program=/usr/local/sbin/hostapd #run from port instead of base ifconfig wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:6d:85:25:13 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng hostap status: running ssid badaboom-n channel 3 (2422 MHz 11g ht/40+) bssid 00:15:6d:85:25:13 country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 27 scanvalid 60 protmode CTS -htcompat -ampdu ampdulimit 64k ampdudensity 8 -amsdu smps wme burst dtimperiod 1 -dfs /etc/hostapd.conf: ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC12][DELAYED-BA][MAX-AMSDU-7935][DSSS_CCK-40][LDPC][GF][SMPS-DYNAMIC][PSMP][LSIG-TXOP-PROT] (Here I used all available options. I don't see any difference between using the line and commenting it out. Huh?) ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
RE: 802.11n performance for AR9280
Thanks! Do you recommend to update everything or only ATH module will be enough? IE get all the sources and follow https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Or Download the ATH sources and make all install ? Gleb -Original Message- From: adrian.ch...@gmail.com [mailto:adrian.ch...@gmail.com] On Behalf Of Adrian Chadd Sent: Monday, April 01, 2013 6:22 PM To: Gleb Romanov Cc: freebsd-wireless@freebsd.org Subject: Re: 802.11n performance for AR9280 Hi, 9.x doesn't implement 11n aggregation transmission. It only supports 11n MCS rate transmission (with no aggregation) and 11n RX with MCS and aggregation. If you update to -HEAD you should see the performance increase. Adrian On 1 April 2013 15:10, Gleb Romanov groma...@hellok.org wrote: Hello, I have a question about 802.11n performance for AR9280 ( my card is Ubiquiti SR71E ) in hostap mode. To measure performance, I'm looking at the download speeds from my file server (Samba) through a FreeBSD AP to a laptop with Centrino 6300 (agn 3x3:3). I see 3-4 MBytes/s on the 2.4 GHz band (using ht/20 or ht/40 - doesn't matter) and around 5-6 MB/s on the 5 GHz band (ht/40). The laptop is running Win 7 and can do 8-9 MB/s with a commercial AP (2.4 GHz ht/20 2x2:2) I run 9.1-RELEASE GENERIC and the question is this is the expected performance (from 9.1 RELEASE ) or I'm just doing something wrong? May be bad antennas or wires? If it is expected and I need to switch to HEAD to do better, can I only update the ATH_module_releated_stuff and leave the rest of the base untouched? Any comments would be helpful! Gleb --- Here is some info about the system: Right now it is configured for 2.4 GHz simply because of the range. With 5 GHz I need to in the same room with the AP to get the speeds I mentioned. uname -a FreeBSD fwall 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 pciconf -lv ath0@pci0:3:0:0:class=0x028000 card=0x4e050777 chip=0x002a168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR928X Wireless Network Adapter (PCI-Express)' class = network /etc/rc.conf wlans_ath0=wlan0 create_args_wlan0=wlanmode hostap ifconfig_wlan0=apbridge mode 11ng ht channel 3:ht/40 hostapd_enable=YES#for wlan0 hostapd_program=/usr/local/sbin/hostapd #run from port instead of base ifconfig wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:6d:85:25:13 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng hostap status: running ssid badaboom-n channel 3 (2422 MHz 11g ht/40+) bssid 00:15:6d:85:25:13 country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 27 scanvalid 60 protmode CTS -htcompat -ampdu ampdulimit 64k ampdudensity 8 - amsdu smps wme burst dtimperiod 1 -dfs /etc/hostapd.conf: ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX- STBC12][DELAYED -BA][MAX-AMSDU-7935][DSSS_CCK-40][LDPC][GF][SMPS- DYNAMIC][PSMP][LSIG-T XOP-PROT] (Here I used all available options. I don't see any difference between using the line and commenting it out. Huh?) ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless- unsubscr...@freebsd.org ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org