Lines Matching defs:nf_ext
2030 ar9003_read_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
2043 nf_ext[i] = MS(reg, AR_PHY_EXT_MINCCA_PWR);
2044 nf_ext[i] = SIGN_EXT(nf_ext[i]);
2052 ar9003_write_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
2063 reg = RW(reg, AR_PHY_EXT_MAXCCA_PWR, nf_ext[i]);
2074 int16_t nf[AR_MAX_CHAINS], nf_ext[AR_MAX_CHAINS];
2083 ar9003_read_noisefloor(sc, nf, nf_ext);
2099 if (nf_ext[i] < cca_min)
2100 nf_ext[i] = cca_min;
2101 else if (nf_ext[i] > cca_max)
2102 nf_ext[i] = cca_max;
2105 sc->sc_nf_hist[sc->sc_nf_hist_cur].nf_ext[i] = nf_ext[i];
2116 int16_t nf[AR_MAX_CHAINS], nf_ext[AR_MAX_CHAINS];
2122 nf_ext[i] = sc->sc_nf_ext_priv[i] * 2;
2124 ar9003_write_noisefloor(sc, nf, nf_ext);
2143 nf[i] = nf_ext[i] = -50 * 2;
2144 ar9003_write_noisefloor(sc, nf, nf_ext);