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
This commit is contained in:
Adrian Chadd 2011-05-07 06:47:09 +00:00
parent de1334e8d7
commit b810285f24

View File

@ -109,6 +109,8 @@ typedef enum {
HAL_CAP_TPC_ACK = 26, /* ack txpower with per-packet tpc */ HAL_CAP_TPC_ACK = 26, /* ack txpower with per-packet tpc */
HAL_CAP_TPC_CTS = 27, /* cts 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 */ 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_INTMIT = 29, /* interference mitigation */
HAL_CAP_RXORN_FATAL = 30, /* HAL_INT_RXORN treated as fatal */ HAL_CAP_RXORN_FATAL = 30, /* HAL_INT_RXORN treated as fatal */
HAL_CAP_HT = 31, /* hardware can support HT */ 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_HAS_PSPOLL = 41, /* hardware has ps-poll support */
HAL_CAP_RXDESC_SELFLINK = 42, /* support a self-linked tail RX descriptor */ HAL_CAP_RXDESC_SELFLINK = 42, /* support a self-linked tail RX descriptor */
HAL_CAP_GTXTO = 43, /* hardware supports global tx timeout */ 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; } HAL_CAPABILITY_TYPE;
/* /*