Lines Matching defs:noise
2252 tap->wr_dbm_antnoise = (int8_t)sc->noise;
2421 sc->noise = iwn_get_noise(&stats->rx.general);
2423 /* Test that RSSI and noise are present in stats report. */
3913 * Retrieve the average noise (in dBm) among receivers.
3918 int i, total, nbant, noise;
3922 if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
3924 total += noise;
4015 * Collect noise and RSSI statistics for the first 20 beacons received
4028 /* Accumulate RSSI and noise for all 3 antennas. */
4031 calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
4097 int i, delta, noise;
4099 /* Get minimal noise among connected antennas. */
4100 noise = INT_MAX; /* NB: There's at least one antenna. */
4103 noise = MIN(calib->noise[i], noise);
4111 delta = (noise - (int32_t)calib->noise[i]) / 30;
4144 delta = ((int32_t)calib->noise[ant] -
4145 (int32_t)calib->noise[i]) / div;
4185 uint8_t noise[3], noise_ref;
4218 /* Compute maximum noise among 3 receivers. */
4220 noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
4221 val = MAX(noise[0], noise[1]);
4222 val = MAX(noise[2], val);
4227 /* Compute maximum noise among last 20 samples. */