Re: initial 11n support for iwn (n, not m)

2015-12-22 Thread Timo Myyrä
Stefan Sperling writes: > On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote: >> On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: >> > With sthen@'s patch I can associate, dhcp, and use net. >> >> Here's an updated iwn diff with a better approach for

Re: initial 11n support for iwn (n, not m)

2015-12-21 Thread Holger Mikolon
hw.product hw.product=Studio 1555 Thanks! Holger > Date: Sun, 20 Dec 2015 19:59:19 > From: Stefan Sperling <s...@stsp.name> > To: tech@openbsd.org > Subject: Re: initial 11n support for iwn (n, not m) > > On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote:

Re: initial 11n support for iwn (n, not m)

2015-12-21 Thread Marcus MERIGHI
s...@stsp.name (Stefan Sperling), 2015.12.20 (Sun) 19:59 (CET): > On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote: > > On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: > > > With sthen@'s patch I can associate, dhcp, and use net. > > > > Here's an updated iwn diff with

Re: initial 11n support for iwn (n, not m)

2015-12-21 Thread Gregor Best
Hi Stefan, On Sun, Dec 20, 2015 at 07:59:19PM +0100, Stefan Sperling wrote: > On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote: > > On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: > > > With sthen@'s patch I can associate, dhcp, and use net. > > > > Here's an updated

Re: initial 11n support for iwn (n, not m)

2015-12-20 Thread Stefan Sperling
On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote: > On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: > > With sthen@'s patch I can associate, dhcp, and use net. > > Here's an updated iwn diff with a better approach for Stuart's fix. > > Thanks for helping, Stuart, and

Re: initial 11n support for iwn (n, not m)

2015-12-20 Thread Frank Groeneveld
On 12/19/15 13:08, Stefan Sperling wrote: On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: Here's an updated iwn diff with a better approach for Stuart's fix. Thanks for helping, Stuart, and to everyone who sent beacons which allowed us to narrow this problem down to protection

Re: initial 11n support for iwn (n, not m)

2015-12-19 Thread Mike
On 12/19/2015 7:08 AM, Stefan Sperling wrote: > On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: >> With sthen@'s patch I can associate, dhcp, and use net. > > Here's an updated iwn diff with a better approach for Stuart's fix. > > [snip] I was able to do some limited testing with

Re: initial 11n support for iwn (n, not m)

2015-12-19 Thread Raf Czlonka
On Fri, Dec 18, 2015 at 12:13:49PM GMT, Raf Czlonka wrote: > On Thu, Dec 17, 2015 at 12:38:59PM GMT, Stuart Henderson wrote: > > > So the only new issue I have with this diff is with manual scans > > (as I mentioned before, but now with logs) - the scan runs and > > ifconfig displays the expected

Re: initial 11n support for iwn (n, not m)

2015-12-19 Thread Stefan Sperling
On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: > With sthen@'s patch I can associate, dhcp, and use net. Here's an updated iwn diff with a better approach for Stuart's fix. Thanks for helping, Stuart, and to everyone who sent beacons which allowed us to narrow this problem down to

Re: initial 11n support for iwn (n, not m)

2015-12-19 Thread Dimitris Papastamos
On Sat, Dec 19, 2015 at 01:08:26PM +0100, Stefan Sperling wrote: > On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: > > With sthen@'s patch I can associate, dhcp, and use net. > > Here's an updated iwn diff with a better approach for Stuart's fix. > > Thanks for helping, Stuart, and

Re: initial 11n support for iwn (n, not m)

2015-12-18 Thread Raf Czlonka
On Thu, Dec 17, 2015 at 12:38:59PM GMT, Stuart Henderson wrote: > So the only new issue I have with this diff is with manual scans > (as I mentioned before, but now with logs) - the scan runs and > ifconfig displays the expected output (at the point around where 'scan > finished' is logged,

Re: initial 11n support for iwn (n, not m)

2015-12-18 Thread David Hill
On Fri, Dec 18, 2015 at 08:52:07PM +, Stuart Henderson wrote: > On 2015/12/17 19:43, Frank Groeneveld wrote: > > iwn0: fatal firmware error > > So this firmware crash... > > > firmware error log: > > error type = "UNKNOWN" (0x14E2) > > program counter = 0x00018100 > > source

Re: initial 11n support for iwn (n, not m)

2015-12-18 Thread Stuart Henderson
On 2015/12/17 19:43, Frank Groeneveld wrote: > iwn0: fatal firmware error So this firmware crash... > firmware error log: > error type = "UNKNOWN" (0x14E2) > program counter = 0x00018100 > source line = 0x0216 > error data = 0x0028 > branch link =

Re: initial 11n support for iwn (n, not m)

2015-12-17 Thread Frank Groeneveld
On 12/16/15 15:35, Stefan Sperling wrote: This diff adds 11n MCS 0-7 with A-MPDU and A-MSDU Rx to the iwn(4) driver. It also tweaks replay detection for CCMP encrypted frames, which needed tweaking for A-MPDU anyway (see comments in code). Even in non-11n modes this driver was discarding some

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread Stefan Sperling
On Wed, Dec 16, 2015 at 03:35:22PM +0100, Stefan Sperling wrote: > This diff adds 11n MCS 0-7 with A-MPDU and A-MSDU Rx to the iwn(4) driver. I went through my pile of wlan cards and found a few more iwn devices in there. Current test stats are: Tested by myself, working: iwn0 at pci3 dev 0

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread Stefan Sperling
On Wed, Dec 16, 2015 at 04:46:19PM +0100, Gregor Best wrote: > I have done some speed testing, but with inconclusive results. I used a > Macbook Pro with OS X as the other side, testing was done with iperf, > both machines connected to the same WiFi: > > $ iperf -i 2 -c 192.168.178.54 >

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread David Hill
On Wed, Dec 16, 2015 at 05:15:27PM +0100, Stefan Sperling wrote: > On Wed, Dec 16, 2015 at 10:14:49AM -0500, David Hill wrote: > > Hi Stefan - > > > > Thanks for the 11n work! > > > > Unfortunately, your diff breaks iwn on my machine. > > > > iwn0 at pci2 dev 0 function 0 "Intel Centrino

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread David Hill
Hi Stefan - Thanks for the 11n work! Unfortunately, your diff breaks iwn on my machine. iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi, MIMO 3T3R, MoW, It spews over and over: iwn0: fatal firmware error firmware error log: error type = "SYSASSERT"

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread Stefan Sperling
On Wed, Dec 16, 2015 at 10:14:49AM -0500, David Hill wrote: > Hi Stefan - > > Thanks for the 11n work! > > Unfortunately, your diff breaks iwn on my machine. > > iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: > msi, MIMO 3T3R, MoW, > > It spews over and over: > >

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread Gregor Best
Hi Stefan, On Wed, Dec 16, 2015 at 03:35:22PM +0100, Stefan Sperling wrote: > This diff adds 11n MCS 0-7 with A-MPDU and A-MSDU Rx to the iwn(4) > driver. > [...] Whoo! Thanks a lot for your hard work :) > [...] > Please post here or let me know in private which hardware you're. >

Re: initial 11n support for iwn (n, not m)

2015-12-16 Thread Christian Weisgerber
On 2015-12-16, David Hill wrote: > Thanks for the 11n work! > Unfortunately, your diff breaks iwn on my machine. > > iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: > msi, MIMO 3T3R, MoW, That is odd, because it works for me: iwn0 at pci2 dev 0