Page MenuHomeFreeBSD

Wrap protection frame allocation into ieee80211_alloc_prot()
ClosedPublic

Authored by s3erios_gmail.com on Mar 9 2018, 1:01 AM.

Details

Summary

Move copy-pasted code for RTS/CTS frame allocation into net80211.

While here, add stat / debug message for allocation failures (copied from run(4)) + return error here in bwn(4).

Test Plan

Untested; should be (mostly) no-op.

Diff Detail

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

Event Timeline

adrian accepted this revision.Mar 9 2018, 2:41 AM

It looks good! It'd be fun to try and RTS/CTS protect longer bursts, but that can always come later!

This revision is now accepted and ready to land.Mar 9 2018, 2:41 AM
This revision was automatically updated to reflect the committed changes.