FreeBSD has the beginnings of a rate control API that was primarily designed for pre-11n networks. It provides a simple API for rate control management and lookups.
The main API code is in sys/net80211/ieee80211_rate.[ch] . The three implemented modules so far:
TODO