HAL_CAP_DIAG
if (ath_hal_getcapability(ah, HAL_CAP_DIAG, 0, &diag) != HAL_OK)
case HAL_CAP_DIAG: /* hardware diagnostic support */
case HAL_CAP_DIAG: /* hardware diagnostic support */
case HAL_CAP_DIAG: /* hardware diagnostic support */
case HAL_CAP_DIAG:
case HAL_CAP_DIAG: /* hardware diagnostic support */
(ath_hal_getcapability(_ah, HAL_CAP_DIAG, 0, _pv) == HAL_OK)
ath_hal_setcapability(_ah, HAL_CAP_DIAG, 0, _v, NULL)