svn commit: r344750 - head/sys/contrib/dev/ath/ath_hal/ar9300
Adrian Chadd
adrian at FreeBSD.org
Mon Mar 4 06:43:01 UTC 2019
Author: adrian
Date: Mon Mar 4 06:43:00 2019
New Revision: 344750
URL: https://svnweb.freebsd.org/changeset/base/344750
Log:
[ath_hal_ar9300] Add the extra ANI configuration fields for the AR93xx HAL.
Tested:
* Carambola2 (Ar9331), STA/AP modes
Modified:
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c Mon Mar 4 06:42:06 2019 (r344749)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c Mon Mar 4 06:43:00 2019 (r344750)
@@ -1263,15 +1263,13 @@ ar9300_get_diag_state(struct ath_hal *ah, int request,
if (ani == AH_NULL)
return AH_FALSE;
/* Convert ar9300 HAL to FreeBSD HAL ANI state */
- /* XXX TODO: add all of these to the HAL ANI state structure */
bzero(&ahp->ext_ani_state, sizeof(ahp->ext_ani_state));
- /* XXX should this be OFDM or CCK noise immunity level? */
ahp->ext_ani_state.noiseImmunityLevel = ani->ofdm_noise_immunity_level;
ahp->ext_ani_state.spurImmunityLevel = ani->spur_immunity_level;
ahp->ext_ani_state.firstepLevel = ani->firstep_level;
ahp->ext_ani_state.ofdmWeakSigDetectOff = ani->ofdm_weak_sig_detect_off;
- /* mrc_cck_off */
- /* cck_noise_immunity_level */
+ ahp->ext_ani_state.mrcCckOff = ani->mrc_cck_off;
+ ahp->ext_ani_state.cckNoiseImmunityLevel = ani->cck_noise_immunity_level;
ahp->ext_ani_state.listenTime = ani->listen_time;
More information about the svn-src-all
mailing list