svn commit: r239630 - head/sys/dev/ath/ath_hal
Adrian Chadd
adrian at FreeBSD.org
Fri Aug 24 00:33:26 UTC 2012
Author: adrian
Date: Fri Aug 24 00:33:25 2012
New Revision: 239630
URL: http://svn.freebsd.org/changeset/base/239630
Log:
Add the MFP capability to ath_hal_getcapability().
Obtained from: Qualcomm Atheros
Modified:
head/sys/dev/ath/ath_hal/ah.c
Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c Fri Aug 24 00:17:39 2012 (r239629)
+++ head/sys/dev/ath/ath_hal/ah.c Fri Aug 24 00:33:25 2012 (r239630)
@@ -718,7 +718,9 @@ ath_hal_getcapability(struct ath_hal *ah
return pCap->halHasBBReadWar? HAL_OK : HAL_ENOTSUPP;
case HAL_CAP_SERIALISE_WAR: /* PCI register serialisation */
return pCap->halSerialiseRegWar ? HAL_OK : HAL_ENOTSUPP;
-
+ case HAL_CAP_MFP: /* Management frame protection setting */
+ *result = pCap->halMfpSupport;
+ return HAL_OK;
default:
return HAL_EINVAL;
}
More information about the svn-src-all
mailing list