Lines Matching refs:noise
3141 (ic->ic_flags & IEEE80211_F_SCAN) == 0) ? sc->noise : -95;
3512 sc->noise = iwn_get_noise(&lstats->rx.general);
3513 DPRINTF(sc, IWN_DEBUG_CALIBRATE, "%s: noise %d\n", __func__, sc->noise);
3515 /* Test that RSSI and noise are present in stats report. */
5916 * Retrieve the average noise (in dBm) among receivers.
5921 int i, total, nbant, noise;
5925 if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
5927 total += noise;
6025 * Collect noise and RSSI statistics for the first 20 beacons received
6041 /* Accumulate RSSI and noise for all 3 antennas. */
6044 calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
6124 int i, delta, noise;
6128 /* Get minimal noise among connected antennas. */
6129 noise = INT_MAX; /* NB: There's at least one antenna. */
6132 noise = MIN(calib->noise[i], noise);
6140 delta = (noise - (int32_t)calib->noise[i]) / 30;
6176 delta = ((int32_t)calib->noise[ant] -
6177 (int32_t)calib->noise[i]) / div;
6218 uint8_t noise[3], noise_ref;
6253 /* Compute maximum noise among 3 receivers. */
6255 noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
6256 val = MAX(noise[0], noise[1]);
6257 val = MAX(noise[2], val);
6262 /* Compute maximum noise among last 20 samples. */