Lines Matching defs:noise
3068 (ic->ic_flags & IEEE80211_F_SCAN) == 0) ? sc->noise : -95;
3433 sc->noise = iwn_get_noise(&lstats->rx.general);
3434 DPRINTF(sc, IWN_DEBUG_CALIBRATE, "%s: noise %d\n", __func__, sc->noise);
3436 /* Test that RSSI and noise are present in stats report. */
5713 * Retrieve the average noise (in dBm) among receivers.
5718 int i, total, nbant, noise;
5722 if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
5724 total += noise;
5822 * Collect noise and RSSI statistics for the first 20 beacons received
5838 /* Accumulate RSSI and noise for all 3 antennas. */
5841 calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
5921 int i, delta, noise;
5925 /* Get minimal noise among connected antennas. */
5926 noise = INT_MAX; /* NB: There's at least one antenna. */
5929 noise = MIN(calib->noise[i], noise);
5937 delta = (noise - (int32_t)calib->noise[i]) / 30;
5973 delta = ((int32_t)calib->noise[ant] -
5974 (int32_t)calib->noise[i]) / div;
6015 uint8_t noise[3], noise_ref;
6050 /* Compute maximum noise among 3 receivers. */
6052 noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
6053 val = MAX(noise[0], noise[1]);
6054 val = MAX(noise[2], val);
6059 /* Compute maximum noise among last 20 samples. */