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;
 
 /* 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to