Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for CCE IEs in Probe Response / Beacon Mgmt Frames #60

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

tuckerpo-cl
Copy link

@tuckerpo-cl tuckerpo-cl commented Dec 17, 2024

Necessary for DPP in the context of EasyMesh so that Enrollee APs can know which channel(s) to send a DPP Presence Announcement Frame on such that the Proxy Agent will hear it.

Note: may also need to do something equivalent for Beacon frames containing CCE IEs, but we've heard that there would be bus limitations if consuming and processing too many management frames, especially something as frequent as beacons. Could anyone elaborate on this potential restriction? Canonically the EasyMesh spec claims that CCE IEs should be embedded into both probes and beacons but this PR only addresses probe responses due to the aforementioned "bus restrictions"

Note: parsing of beacon mgmt frames for CCE IEs ought to work once beacon management frames are registered to be sniffed when OneWifi is in STA mode (see: https://github.com/rdkcentral/rdk-wifi-hal/blob/develop/src/wifi_hal_nl80211.c#L6797)

The implementation of beacon frame sniffing for now remains TBD.

Signed-off-by: Tucker Polomik <[email protected]>
Generic way to check if a frame contains an information element ID,
given OUI, and OUI subtype.

Signed-off-by: Tucker Polomik <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Dec 17, 2024

CLA assistant check
All committers have signed the CLA.

@tuckerpo-cl tuckerpo-cl marked this pull request as draft December 17, 2024 22:50
@tuckerpo-cl
Copy link
Author

Got the OK to add CCE IE checking for Beacons as well, so moving to Draft state temporarily while that's implemented.

Hoist frame_contains_cce_ie as a forward from frame_contains_ie for code
re-use

Pumps event if a beacon frame contains a CCE IE to a DM path

Signed-off-by: Tucker Polomik <[email protected]>
@tuckerpo-cl tuckerpo-cl marked this pull request as ready for review December 18, 2024 18:00
@tuckerpo-cl tuckerpo-cl changed the title Check for CCE IEs in Probe Response Mgmt Frames Check for CCE IEs in Probe Response / Beacon Mgmt Frames Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants