Date: Tue, 22 Feb 2011 00:37:53 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_ath_tx.c Message-ID: <201102220038.p1M0c8w1030375@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2011-02-22 00:37:53 UTC
FreeBSD src repository
Modified files:
sys/dev/ath if_ath_tx.c
Log:
SVN rev 218932 on 2011-02-22 00:37:53Z by adrian
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.
Revision Changes Path
1.6 +52 -17 src/sys/dev/ath/if_ath_tx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102220038.p1M0c8w1030375>
