From owner-svn-src-all@FreeBSD.ORG Sat May 7 06:47:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8448B106566B; Sat, 7 May 2011 06:47:09 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 616B58FC0A; Sat, 7 May 2011 06:47:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p476l9Tn085721; Sat, 7 May 2011 06:47:09 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p476l9RD085719; Sat, 7 May 2011 06:47:09 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201105070647.p476l9RD085719@svn.freebsd.org> From: Adrian Chadd Date: Sat, 7 May 2011 06:47:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221581 - head/sys/dev/ath/ath_hal X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 06:47:09 -0000 Author: adrian Date: Sat May 7 06:47:09 2011 New Revision: 221581 URL: http://svn.freebsd.org/changeset/base/221581 Log: Add some comments about which HAL capabilities are currently FreeBSD specific. The Atheros HAL and FreeBSD HAL share the same capabilities up until HAL_CAP_11D, where things begin to diverge. I'll look at tidying these up soon. Obtained from: Atheros Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h ============================================================================== --- head/sys/dev/ath/ath_hal/ah.h Sat May 7 06:45:35 2011 (r221580) +++ head/sys/dev/ath/ath_hal/ah.h Sat May 7 06:47:09 2011 (r221581) @@ -109,6 +109,8 @@ typedef enum { HAL_CAP_TPC_ACK = 26, /* ack txpower with per-packet tpc */ HAL_CAP_TPC_CTS = 27, /* cts txpower with per-packet tpc */ HAL_CAP_11D = 28, /* 11d beacon support for changing cc */ + + /* The following are currently different IDs to the Atheros HAL */ HAL_CAP_INTMIT = 29, /* interference mitigation */ HAL_CAP_RXORN_FATAL = 30, /* HAL_INT_RXORN treated as fatal */ HAL_CAP_HT = 31, /* hardware can support HT */ @@ -124,6 +126,11 @@ typedef enum { HAL_CAP_HAS_PSPOLL = 41, /* hardware has ps-poll support */ HAL_CAP_RXDESC_SELFLINK = 42, /* support a self-linked tail RX descriptor */ HAL_CAP_GTXTO = 43, /* hardware supports global tx timeout */ + + /* The following are back to normal, shared with the Atheros HAL */ + + /* The following are private to the FreeBSD HAL (224 onward) */ + } HAL_CAPABILITY_TYPE; /*