freebsd-dev/sys/dev/rtwn
Andriy Voskoboinyk f631357540 net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters
directly from the node.

- Use ni_txparms directly instead of calculating them manually every time
- Move M_EAPOL flag check upper; otherwise it may be skipped due to
'ucastrate' / 'mcastrate' check
- Use 'mgtrate' for control frames too (see ifconfig(8), mgtrate parameter)
- Add few more M_EAPOL checks where it was missing (zyd(4), ural(4),
urtw(4))
- Few unrelated cleanups

Tested with:
 - Intel 6205 (iwn(4)), STA mode;
 - WUSB54GC (rum(4)), HOSTAP mode + RTL8188EU (rtwn(4)), STA mode.

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D9811
2017-02-26 20:49:35 +00:00
..
pci
rtl8188e
rtl8192c
rtl8192e
rtl8812a
rtl8821a
usb
if_rtwn_beacon.c
if_rtwn_beacon.h
if_rtwn_calib.c
if_rtwn_calib.h
if_rtwn_cam.c
if_rtwn_cam.h
if_rtwn_debug.h
if_rtwn_efuse.c
if_rtwn_efuse.h
if_rtwn_fw.c
if_rtwn_fw.h
if_rtwn_nop.h
if_rtwn_ridx.h
if_rtwn_rx.c
if_rtwn_rx.h
if_rtwn_task.c
if_rtwn_task.h
if_rtwn_tx.c
if_rtwn_tx.h
if_rtwn.c
if_rtwnreg.h
if_rtwnvar.h