Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2015 19:03:13 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Those at BSDCan 2015: please test: iwn(4) patch to buffer 5ghz frames before transmitting
Message-ID:  <20150609020313.GA12665@albert.catwhisker.org>
In-Reply-To: <CAJ-VmomgJUSdozFZd4teJxVDgdwtFovude8jBfMfP5or0DW0tQ@mail.gmail.com>
References:  <CAJ-VmomgJUSdozFZd4teJxVDgdwtFovude8jBfMfP5or0DW0tQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 08, 2015 at 08:29:17AM -0700, Adrian Chadd wrote:
> Sigh.
>=20
> This patch:
>=20
> https://people.freebsd.org/~adrian/net80211/20150524-iwn-delay-xmit-passi=
ve-1.diff
>=20
> 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  r28414=
9M/284150:1100076: Mon Jun  8 04:54:51 PDT 2015     root@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  r28414=
9M/284150:1100076: Mon Jun  8 18:47:07 PDT 2015     root@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=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
        ether 34:e6:d7:3c:4a:93
        nd6 options=3D29<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=20
g1-254(11.0-C)[6]=20

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
--=20
David H. Wolfskill				david@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.

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVdklhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk75QAP/3WJcbQBcz8FRmFma8/jeQYd
cgMqjoP8sYk4m2fxKVB/d5faPZgN/ddu5B/Rz9oAitNSf+ZmN9bnRFivROj+a1Zg
H+9USZCp7qisnfBPZgY7P0zOm4H8ORJ+YhGpxz2rcDbCRKxvsiMjgkXoZRO/mWkj
Hn6tel5Q2qb4CS2xx2QjTR9Iz6/SvmWp+LN3cQ6lDXAYwO/CIwKxNlwpPLOdDqLG
IqMl1V4pw/ZeJEYr7qGmyxPQ2kQCDrLODPuQM75Q3Ug65qNDEtyGQLdfb+DZI+7O
QbvwLF5HGd8xhT8XFWF40LtH32cygMVawSxoCXN9yyipkIGh5x02H6BKfmJuDibG
aSlvAZN5IlWUZg6RrzL2GQmdq+pwEPrSGSk14uHOJEzJTfXa1u/IArMqDbTN/dPk
HWEPIKEvxnj3QUGHiwTIXjTLx4I61N0tc1z9YI6xQL33cy+nA2Fibb529aRsjHCZ
MVuGCpx86kINlXluTt0KEHgV+aNhZn9ArEGzkYl7xdFOVugfvbjTsi2C2vdcqxWF
q6PfUxLKdTSPtyXa9yEbCtpi3p6RvLBoqVG8JlWdEce3FlZoji9TVEYw6pyEKSUy
1bZEFF8aP8/DAKVlCi/p2k7pN+t6lTZ9KXM/OOYIlza1Yp1VeEKi8a+Sn95zOfto
vijRONkjhMfywNAviVg+
=HSHx
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150609020313.GA12665>