Page MenuHomeFreeBSD

net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters directly from the node
ClosedPublic

Authored by avos on Feb 26 2017, 7:48 PM.

Details

Summary
  • Use ni_txparms directly instead of calculating them manually every time;
  • Move M_EAPOL flag check upper; otherwise it may be overridden by '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.
Test Plan

Tested with:

  • Intel 6205 (iwn(4)), STA mode;
  • WUSB54GC (rum(4)), HOSTAP mode + RTL8188EU (rtwn(4)), STA mode.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

avos retitled this revision from to net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters directly from the node.
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
adrian edited edge metadata.

woo thanks!

This revision is now accepted and ready to land.Feb 26 2017, 8:27 PM
This revision was automatically updated to reflect the committed changes.