Lines Matching defs:noise
3128 (ic->ic_flags & IEEE80211_F_SCAN) == 0) ? sc->noise : -95;
3499 sc->noise = iwn_get_noise(&lstats->rx.general);
3500 DPRINTF(sc, IWN_DEBUG_CALIBRATE, "%s: noise %d\n", __func__, sc->noise);
3502 /* Test that RSSI and noise are present in stats report. */
5894 * Retrieve the average noise (in dBm) among receivers.
5899 int i, total, nbant, noise;
5903 if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
5905 total += noise;
6003 * Collect noise and RSSI statistics for the first 20 beacons received
6019 /* Accumulate RSSI and noise for all 3 antennas. */
6022 calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
6102 int i, delta, noise;
6106 /* Get minimal noise among connected antennas. */
6107 noise = INT_MAX; /* NB: There's at least one antenna. */
6110 noise = MIN(calib->noise[i], noise);
6118 delta = (noise - (int32_t)calib->noise[i]) / 30;
6154 delta = ((int32_t)calib->noise[ant] -
6155 (int32_t)calib->noise[i]) / div;
6196 uint8_t noise[3], noise_ref;
6231 /* Compute maximum noise among 3 receivers. */
6233 noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
6234 val = MAX(noise[0], noise[1]);
6235 val = MAX(noise[2], val);
6240 /* Compute maximum noise among last 20 samples. */