On Tue, 10 Jan 2017 00:27:47 +0100 Stefan Sperling <s...@stsp.name> wrote:
> On Mon, Jan 09, 2017 at 01:54:55PM +0100, Stefan Sperling wrote: > > This diff adds 11n support to the athn(4) driver. > > Requires -current net80211 code from today. > > A better diff which fixes several bugs. > > Most notably this should fix a crash in hostap mode triggered by > clients joining and leaving in a loop. This is fixed by making sure > timeout handlers managed by mira aren't overwritten when a client > rejoins, and by cancelling these timeouts properly. I'd like to > rename some mira API functions for better clarity but that's left for > later. > > This also restores USB device firmware rate scaling in client mode > which was disabled by commits I made in 2015. I found a missing > 'usc->nnodes--;' in the code from before those commits, and I hope > adding that is a proper fix for the problems we were hunting back > then. > > Known issues (not blocking issues IMO): > > - The athn(4) driver selects low transmit rates relative to what > iwn(4) and iwm(4) clients select. > > - USB client in 11n mode only sends with legacy rates (up to > 54Mbit/s). Technically this is legal behaviour, and receiving MCS > sent by the AP works. Rate selection is done in firmware so this > isn't straightforward to debug. > I just rebuilt a bsd.mp with your diff on my home router, so far so good, works with my -current laptop iwn(4) card and the BCM4339 from my android phone. I REALLY wonder where can I find lots of heavy content on the internet to stress this diff ... or not. [snip]