diff options
author | adrian <adrian@FreeBSD.org> | 2012-08-24 00:33:25 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-08-24 00:33:25 +0000 |
commit | 6b7bb57cfbc27d7d70ade6f8183a3be5f9d2f75e (patch) | |
tree | a2165e26afc6bb414f20ce1ec4d7a78e0bdf2f1b /sys/dev | |
parent | 4709a31eb6a346214fc414c36d8156d282302220 (diff) | |
download | FreeBSD-src-6b7bb57cfbc27d7d70ade6f8183a3be5f9d2f75e.zip FreeBSD-src-6b7bb57cfbc27d7d70ade6f8183a3be5f9d2f75e.tar.gz |
Add the MFP capability to ath_hal_getcapability().
Obtained from: Qualcomm Atheros
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/ath_hal/ah.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ah.c b/sys/dev/ath/ath_hal/ah.c index a84dac7..f10c2a0 100644 --- a/sys/dev/ath/ath_hal/ah.c +++ b/sys/dev/ath/ath_hal/ah.c @@ -718,7 +718,9 @@ ath_hal_getcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, 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; } |