Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 06:47:09 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221581 - head/sys/dev/ath/ath_hal
Message-ID:  <201105070647.p476l9RD085719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 
 /* 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105070647.p476l9RD085719>