Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 00:33:26 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239630 - head/sys/dev/ath/ath_hal
Message-ID:  <201208240033.q7O0XQFu025380@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208240033.q7O0XQFu025380>