Page MenuHomeFreeBSD

net80211: hide subtype mask & shift in function call
ClosedPublic

Authored by avos on Feb 20 2016, 8:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 11, 10:03 PM
Unknown Object (File)
Tue, Aug 6, 11:08 AM
Unknown Object (File)
Sun, Jul 28, 2:52 PM
Unknown Object (File)
Jun 29 2024, 1:11 PM
Unknown Object (File)
May 22 2024, 7:53 AM
Unknown Object (File)
May 22 2024, 7:51 AM
Unknown Object (File)
May 21 2024, 10:44 PM
Unknown Object (File)
May 21 2024, 10:44 PM
Subscribers

Details

Summary

Hide subtype mask/shift (which is used for index calculation in ieee80211_mgt_subtype_name[] array) in function call.

Test Plan

Tested with RTL8188CUS, 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: hide subtype shift in function call.
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.

let's make the two subtype functions also do the mask, and reduce code duplication there. Then yeah, commit away!

sys/net80211/ieee80211_input.c
931 ↗(On Diff #13554)

may as well have the function also do the mask, right?

This revision is now accepted and ready to land.Feb 24 2016, 6:24 AM
avos retitled this revision from net80211: hide subtype shift in function call to net80211: hide subtype mask & shift in function call.
avos updated this object.
avos edited edge metadata.

Mask subtype before shifting.

This revision now requires review to proceed.Feb 24 2016, 10:02 PM
adrian edited edge metadata.

yay!

This revision is now accepted and ready to land.Feb 24 2016, 10:26 PM
This revision was automatically updated to reflect the committed changes.