Re: ath and ipad

2013-07-04 Thread Slawa Olhovchenkov
On Thu, Jul 04, 2013 at 01:25:20AM -0700, Adrian Chadd wrote: > Ok! CAn you go and tinker with this? See what seems to break it? > I can then go debug why it's breaking. I can play with this setup some hours. After this I restore previos setup and can play again next day, 06-11 GMT. _

Re: ath and ipad

2013-07-04 Thread Slawa Olhovchenkov
On Thu, Jul 04, 2013 at 01:17:14AM -0700, Adrian Chadd wrote: > Sorry, try: > > interface=wlan0 > driver=bsd > ssid=CACHEBOY_11N_1 > wpa=3 > wpa_key_mgmt=WPA-PSK > wpa_passphrase=PASSPHRASE > wpa_pairwise=CCMP > ctrl_interface=/var/run/hostapd working

Re: ath and ipad

2013-07-04 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 04:59:52PM -0700, Adrian Chadd wrote: > Right, but the other system is not running 11n, neither is it running > on the newer chip. > > I think it's worty trying to simplify things down as much as you can. In open mode ipad don't work while wme enabled (witch disabled wme

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
On Wed, Jul 03, 2013 at 04:11:57PM -0700, Adrian Chadd wrote: > Oh, try 'athregs -k' root@notebook:/usr/src/tools/tools/ath/athregs # athregs -k KEY[004] MAC 40:b3:95:12:dc:bf AES-CCM 8c58-0e6e-5c16-da55-d928-4611-5c74-4f65 KEY[005] MAC 04:a8:2a:1f:a9:f1 AES-CCM b2f4-d8b2-e178-db40-5877-2c8f-303

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 driver=

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 wrote: > > >> ok, good starting point. > >> > >> > If I do 'athdebug +recv +recv_proc' I see in log > >> > > >> > Jul 4

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 wrote: > > > I don't see any crypto errors occur in 'athstats 1' (but I don't > > disconnecting everything). > > ok, good starting point. > &

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
53 Jul 4 02:33:04 notebook kernel: [341080] ath0: ath_legacy_rx_tasklet: pending 1 Jul 4 02:33:04 notebook kernel: [341080] ath0: ath_rx_proc: called and don't see this in tcpdump. > On 3 July 2013 15:24, Slawa Olhovchenkov wrote: > > On Wed, Jul 03, 2013 at 03:04:20PM -0700, Adrian Chadd

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 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 w

Re: ath and ipad

2013-07-03 Thread Slawa Olhovchenkov
DISCOVER and ipad don't get DHCP OFFER. How I can test ipad don't send any packets or packets from ipad droped in the ath hardware or in the ath driver? > -adrian > > > On 3 July 2013 13:17, Slawa Olhovchenkov wrote: > > I am try to connect iPad (iPad 1) to FreeBSD AP

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
ind difference between 'boot' and 'resume'. > Adrian > > Adrian > > > > Sent from my Palm Pre on AT&T > On Jan 13, 2013 4:25 PM, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: > > On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: &g

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Mon, Jan 14, 2013 at 01:29:39AM +0400, Slawa Olhovchenkov wrote: > On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: > > > On 13 January 2013 12:07, Slawa Olhovchenkov wrote: > > > On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Chadd wrote: > > >

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: > On 13 January 2013 12:07, Slawa Olhovchenkov wrote: > > On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Chadd wrote: > > > >> Right. That should be a good indication. > > > > After 10 min card s

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Chadd wrote: > Right. That should be a good indication. After 10 min card still hot. > It's a shame you can't just get a multimeter and measure the relevant pins. :) I am can get multimeter but I can't get so thin probe :) __

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Sun, Jan 13, 2013 at 11:25:37AM -0800, Adrian Chadd wrote: > The problem here is I can't easily test this. We detach and re-attach > cardbus devices during suspend/resume, so although I have AR9220 > mini-PCI NICs, they don't stay connected the normal way. The slot gets > fully powered down and

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
ome back on from suspend. So we > > need to do something _before_ it suspends. We can't do anything to the > > card after it resumes; we can only do stuff to the PCI bus. > > > > > > > > Adrian > > > > On 12 January 2013 09:0

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
spends. We can't do anything to the > card after it resumes; we can only do stuff to the PCI bus. No, patch before suspend. If card don't report support D3 state -- on sleep card not lost power? Or after resume got full reset? > Adrian > > On 12 January 2013 09:07, Slawa Olhovche

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
tion). > Perhaps ask on the freebsd acpi list? > > > > Adrian > > On 12 January 2013 08:52, Slawa Olhovchenkov wrote: > > On Sat, Jan 12, 2013 at 08:38:49AM -0800, Adrian Chadd wrote: > > > >> On 12 January 2013 08:37, Slawa Olhovchenkov wrot

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
On Sat, Jan 12, 2013 at 08:38:49AM -0800, Adrian Chadd wrote: > On 12 January 2013 08:37, Slawa Olhovchenkov wrote: > > On Sat, Jan 12, 2013 at 08:25:22AM -0800, Adrian Chadd wrote: > > > >> .. right, try flipping the rf kill switch off/on after suspend, dump &

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
On Sat, Jan 12, 2013 at 08:25:22AM -0800, Adrian Chadd wrote: > .. right, try flipping the rf kill switch off/on after suspend, dump > the config registers. don't react -- 255 times 'ff' > Adrian > > > On 12 January 2013 08:28, Slawa Olhovchenkov wrote: >

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > Adrian > > > > On 12 January 2013 07:44,

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
On Sat, Jan 12, 2013 at 07:27:02AM -0800, Adrian Chadd wrote: > Hi, > > There's no firmware for the AR9220 .. it's all in the driver/HAL. > > If XP restore isn't working; maybe there's something in the ACPI/BIOS > that's screwing things up? I am use last available BIOS. After restore don't work

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Slawa Olhovchenkov
On Fri, Jan 11, 2013 at 02:19:38PM -0800, Adrian Chadd wrote: > .. so there's no _specific_ code being run when it goes to sleep or > comes back from sleep for the 11n PCI NICs (AR5416, AR9160, AR9220, > AR9227..) .. there's some code to tinker with the internal reset > line(s) that force the hard

Re: Atheros 9220 don't return from S3 state

2013-01-10 Thread Slawa Olhovchenkov
t; me at the moment. > > > > Adrian > > > On 10 January 2013 00:07, Slawa Olhovchenkov wrote: > > On Wed, Jan 09, 2013 at 06:00:21PM -0500, Adrian Chadd wrote: > > > > > >> Does it happen every time? > > > > Yes. > > > >> Which

Re: Atheros 9220 don't return from S3 state

2013-01-10 Thread Slawa Olhovchenkov
On Wed, Jan 09, 2013 at 06:00:21PM -0500, Adrian Chadd wrote: > Does it happen every time? Yes. > Which version of freebsd is it? Last -current > > > Adrian > > > Sent from my Palm Pre on AT&T > On Jan 9, 2013 7:11 AM, Slawa Olhovchenkov <s...@zxy.spb.r