TX packets, which can be either Ethernet or control packets, must be
authorpatrick <patrick@openbsd.org>
Tue, 17 Jul 2018 19:44:38 +0000 (19:44 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 17 Jul 2018 19:44:38 +0000 (19:44 +0000)
commit2802c1786dcf2dffd4d14c32296bd81bfcdaf95e
tree5fc6be1fbb863675330659e97fccc2d16121b1e8
parent2ab016bd7e0fbdec5f67fd6940e78e320de96469
TX packets, which can be either Ethernet or control packets, must be
sent in order.  Otherwise it is possible that the key is set before
we send out the EAPOL packet, or that packets are sent out before
the key is set.  Thus modify the SDIO backend to put both types into
the same internal TX queue, which will be sent asynchronously.

Discussed with bluhm@
sys/dev/ic/bwfm.c
sys/dev/ic/bwfmvar.h
sys/dev/sdmmc/if_bwfm_sdio.c
sys/dev/usb/if_bwfm_usb.c