Re: Those at BSDCan 2015: please test: iwn(4) patch to buffer 5ghz frames before transmitting

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 8 Jun 2015 19:03:13 -0700
On Mon, Jun 08, 2015 at 08:29:17AM -0700, Adrian Chadd wrote:
> Sigh.
> 
> This patch:
> 
> https://people.freebsd.org/~adrian/net80211/20150524-iwn-delay-xmit-passive-1.diff
> 
> along with the latest net80211 tree in -HEAD will buffer frames until
> the first beacon is received after association. It doesn't (yet!)
> purge frames in all the right places, but it should be enough to at
> least get you associated to the 5GHz networks at bsdcan.
> ...

Seems to work so far for me....

I started with:

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #87  r284149M/284150:1100076: Mon Jun  8 04:54:51 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64

Then:

Script started on Mon Jun  8 18:43:54 2015
command: svn patch /home/david/tmp/20150524-iwn-delay-xmit-passive-1.diff
U         sys/dev/iwn/if_iwn.c
U         sys/dev/iwn/if_iwnvar.h

Script done on Mon Jun  8 18:43:54 2015

Rebuilt/installed the kernel, rebooted:

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #88  r284149M/284150:1100076: Mon Jun  8 18:47:07 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64

And laptop associated on channel 1.  Then I remembered that I had set
the priority of the 2.4 & 5 GHz radios the same, so I bumped the 5 GHz
one up, tolkd it to "reconnect," now it's on channel 149:

g1-254(11.0-C)[5] ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 34:e6:d7:3c:4a:93
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet MCS mode 11na
        status: associated
        ssid lmdhw-net channel 149 (5745 MHz 11a ht/40+) bssid 0a:18:d6:21:22:1f
        country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
        AES-CCM 2:128-bit txpower 15 bmiss 10 mcastrate 6 mgmtrate 6
        scanvalid 60 ampdulimit 64k -amsdutx amsdurx shortgi wme
        roaming MANUAL
        groups: wlan 
g1-254(11.0-C)[6] 

If I get a chance, I'll see if I can try it at work tomorrow -- we have a
bit higher bandwidth to the Internet there.... :-}

Thanks!

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Tue Jun 09 2015 - 00:03:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC