[802.11] Add high-level support for CTS protection
authorJoshua Oreman <oremanj@xenon.get-linux.org>
Sat, 13 Jun 2009 02:01:23 +0000 (19:01 -0700)
committerJoshua Oreman <oremanj@xenon.get-linux.org>
Sat, 13 Jun 2009 02:01:23 +0000 (19:01 -0700)
commit59c8947b443c5059efafdb23d7bb1ecb32d10e27
treea5969eb1be52aaf74b7029d198cf8811718c3cb4
parent680b0cff44e991f59fd1691128ee242886af896c
[802.11] Add high-level support for CTS protection

This involves calculating the rate to use for RTS/CTS packets
whenever we change the basic data rate. From there it's up to
the driver to program the card to use the CTS if phy_flags
has the NET80211_PHY_USE_PROTECTION bit set.
src/include/gpxe/net80211.h
src/net/net80211.c