Re: CFT: wpa_supplicant/hostapd import patch

2013-07-03 Thread Lev Serebryakov
Hello, Rui. You wrote 30 июня 2013 г., 20:27:51: RP Actually, I just need to use svn diff --show-copies-as-adds. I've updated the patch: RP http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz And I have some strange problems with 802.11n clients... Traffic stalls for 1-2 minutes every

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 01:44:55PM -0700, Adrian Chadd wrote: Hi! I don't quite know what's going on there. I know the latest ipad works fine. But I don't have an ipad 1 to test with. Does the ipad 1 get an IP address? No, I don't see DHCP DISCOVER and ipad don't get DHCP OFFER. How I

Re: ath and ipad

2013-07-03 Thread Adrian Chadd
On 3 July 2013 15:04, Slawa Olhovchenkov s...@zxy.spb.ru wrote: How I can test ipad don't send any packets or packets from ipad droped in the ath hardware or in the ath driver? You could try turning on wlan debugging: wlandebug +input +output +crypto See if it logs anything crypto drop

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 03:04:20PM -0700, Adrian Chadd wrote: On 3 July 2013 15:04, Slawa Olhovchenkov s...@zxy.spb.ru wrote: How I can test ipad don't send any packets or packets from ipad droped in the ath hardware or in the ath driver? You could try turning on wlan debugging:

Re: ath and ipad

2013-07-03 Thread Adrian Chadd
Ok, well. Try disconnecting everything, then run 'athstats 1' and see if any crypto errors occur. -adrian On 3 July 2013 15:24, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Wed, Jul 03, 2013 at 03:04:20PM -0700, Adrian Chadd wrote: On 3 July 2013 15:04, Slawa Olhovchenkov s...@zxy.spb.ru

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 03:25:58PM -0700, Adrian Chadd wrote: Ok, well. Try disconnecting everything, then run 'athstats 1' and see if any crypto errors occur. I don't see any crypto errors occur in 'athstats 1' (but I don't disconnecting everything). If I do 'athdebug +recv +recv_proc' I see

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 03:39:07PM -0700, Adrian Chadd wrote: On 3 July 2013 15:38, Slawa Olhovchenkov s...@zxy.spb.ru wrote: I don't see any crypto errors occur in 'athstats 1' (but I don't disconnecting everything). ok, good starting point. If I do 'athdebug +recv +recv_proc' I

Re: ath and ipad

2013-07-03 Thread Adrian Chadd
On 3 July 2013 15:45, Slawa Olhovchenkov s...@zxy.spb.ru wrote: ok, good starting point. If I do 'athdebug +recv +recv_proc' I see in log Jul 4 02:33:04 notebook kernel: [341079] TODS d8:a2:5e:01:58:55-f4:ec:38:a3:10:dc(f4:ec:38:a3:10:dc) data 67M +65 Jul 4 02:33:04 notebook

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 03:46:55PM -0700, Adrian Chadd wrote: On 3 July 2013 15:45, Slawa Olhovchenkov s...@zxy.spb.ru wrote: ok, good starting point. If I do 'athdebug +recv +recv_proc' I see in log Jul 4 02:33:04 notebook kernel: [341079] TODS

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 04:02:13PM -0700, Adrian Chadd wrote: Ok, can you set the network up (briefly!) as a totally open (no encryption) network, and verify that the ipad works? Not now, i can try this after some hours. Also, what's your hostapd.conf file look like? interface=ap0

Re: ath and ipad

2013-07-03 Thread Adrian Chadd
.. grr. So I've been meaning to add in some framework to the net80211/ath code to provide per-node statistics, rather than just per-vap and per-ath statistics. But I've not yet done it. Boy would that make this problem easy to solve. :( -adrian ___

Re: CFT: wpa_supplicant/hostapd import patch

2013-07-03 Thread Rui Paulo
: 5 ports with 5 removable, self powered Jul 3 08:46:25 laptop acpi: resumed at 20130703 08:46:25 Jul 3 08:46:26 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Device not configured Jul 3 08:46:26 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP scan