Page MenuHomeFreeBSD

Wrap protection frame allocation into ieee80211_alloc_prot()

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



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

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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.