From owner-cvs-src-old@FreeBSD.ORG Mon May 30 15:07:12 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6103E106568C for ; Mon, 30 May 2011 15:07:12 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 502508FC1D for ; Mon, 30 May 2011 15:07:12 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4UF7CCf099788 for ; Mon, 30 May 2011 15:07:12 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4UF7CLM099787 for cvs-src-old@freebsd.org; Mon, 30 May 2011 15:07:12 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201105301507.p4UF7CLM099787@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Mon, 30 May 2011 15:06:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath_tx_ht.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 15:07:12 -0000 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