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)
Jan 12 2024, 1:27 PM
Unknown Object (File)
Jan 12 2024, 5:37 AM
Unknown Object (File)
Dec 20 2023, 2:20 AM
Unknown Object (File)
Dec 13 2023, 5:38 AM
Unknown Object (File)
Oct 29 2023, 11:09 PM
Unknown Object (File)
Aug 29 2023, 10:12 PM
Unknown Object (File)
Aug 27 2023, 8:52 PM
Unknown Object (File)
Aug 10 2023, 8:50 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 Not Applicable
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.