Date: Mon, 4 Mar 2019 06:43:00 +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: r344750 - head/sys/contrib/dev/ath/ath_hal/ar9300 Message-ID: <201903040643.x246h13m080688@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903040643.x246h13m080688>