diff options
author | adrian <adrian@FreeBSD.org> | 2011-02-22 00:37:53 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-02-22 00:37:53 +0000 |
commit | a186021311f64b0401dcfe1485d103a556f01655 (patch) | |
tree | 9790a627250d1c0522060a831701e600aa9832c6 /share/mk | |
parent | 66c3d76f69e25a5e997a0262d906406ccd1116bf (diff) | |
download | FreeBSD-src-a186021311f64b0401dcfe1485d103a556f01655.zip FreeBSD-src-a186021311f64b0401dcfe1485d103a556f01655.tar.gz |
Shuffle around the RTS/CTS rate/duration logic.
* Turn ath_tx_calc_ctsduration() into a function that
returns the ctsduration, or -1 for HT rates;
* add a printf() to ath_tx_calc_ctsduration() which will be
very loud if somehow that function is called with an MCS
rate;
* Add ath_tx_get_rtscts_rate() which returns the RTS/CTS
rate to use for the given data rate, incl. the short
preamble flag;
* Only call ath_tx_calc_ctsduration() for non-11n chipsets;
11n chipsets don't require the rtscts duration to be
calculated.
Diffstat (limited to 'share/mk')
0 files changed, 0 insertions, 0 deletions