Add the combined (mixed) diversity support capability bit for the

AR9285/AR9485.
This commit is contained in:
Adrian Chadd 2013-06-04 02:56:56 +00:00
parent e23b0a193e
commit bc1af55754
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251360
2 changed files with 4 additions and 0 deletions

View File

@ -748,6 +748,9 @@ ath_hal_getcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type,
case HAL_CAP_RXTSTAMP_PREC: /* rx desc tstamp precision (bits) */
*result = pCap->halTstampPrecision;
return HAL_OK;
case HAL_CAP_ANT_DIV_COMB: /* AR9285/AR9485 LNA diversity */
return pCap->halAntDivCombSupport ? HAL_OK : HAL_ENOTSUPP;
case HAL_CAP_ENHANCED_DFS_SUPPORT:
return pCap->halEnhancedDfsSupport ? HAL_OK : HAL_ENOTSUPP;

View File

@ -169,6 +169,7 @@ typedef enum {
HAL_CAP_RXTSTAMP_PREC = 100, /* rx desc tstamp precision (bits) */
HAL_CAP_ANT_DIV_COMB = 105, /* Enable antenna diversity/combining */
HAL_CAP_PHYRESTART_CLR_WAR = 106, /* in some cases, clear phy restart to fix bb hang */
HAL_CAP_ENTERPRISE_MODE = 107, /* Enterprise mode features */
HAL_CAP_LDPCWAR = 108,