Date: Mon, 30 May 2011 15:06:57 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_ath_tx_ht.c Message-ID: <201105301507.p4UF7CLM099787@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2011-05-30 15:06:57 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath_tx_ht.c Log: SVN rev 222498 on 2011-05-30 15:06:57Z by adrian Enable setting the short-GI bit when TX'ing HT rates but only if the hardware supports it. Since ni->ni_htcap in hostap mode is what the remote end has advertised, not what has been negotiated/decided, we need to check ourselves what the current channel width is and what the hardware supports before enabling short-GI. It's important that short-GI isn't enabled when it isn't negotiated and when the hardware doesn't support it (ie, short-gi for 20mhz channels on any chip < AR9287.) I've quickly verified this on the AR9285 in 11n mode. Revision Changes Path 1.16 +14 -6 src/sys/dev/ath/if_ath_tx_ht.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105301507.p4UF7CLM099787>