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.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 6:21 PM
Unknown Object (File)
Oct 14 2024, 3:38 AM
Unknown Object (File)
Oct 4 2024, 9:47 AM
Unknown Object (File)
Oct 3 2024, 11:51 PM
Unknown Object (File)
Oct 3 2024, 9:33 PM
Unknown Object (File)
Oct 3 2024, 7:51 PM
Unknown Object (File)
Oct 3 2024, 6:22 PM
Unknown Object (File)
Oct 3 2024, 1:59 AM
Subscribers

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
Lint Skipped
Unit
Tests Skipped

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.