Lines Matching defs:noise
2232 tap->wr_dbm_antnoise = (int8_t)sc->noise;
2401 sc->noise = iwn_get_noise(&stats->rx.general);
2403 /* Test that RSSI and noise are present in stats report. */
3891 * Retrieve the average noise (in dBm) among receivers.
3896 int i, total, nbant, noise;
3900 if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
3902 total += noise;
3993 * Collect noise and RSSI statistics for the first 20 beacons received
4006 /* Accumulate RSSI and noise for all 3 antennas. */
4009 calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
4075 int i, delta, noise;
4077 /* Get minimal noise among connected antennas. */
4078 noise = INT_MAX; /* NB: There's at least one antenna. */
4081 noise = MIN(calib->noise[i], noise);
4089 delta = (noise - (int32_t)calib->noise[i]) / 30;
4122 delta = ((int32_t)calib->noise[ant] -
4123 (int32_t)calib->noise[i]) / div;
4163 uint8_t noise[3], noise_ref;
4196 /* Compute maximum noise among 3 receivers. */
4198 noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
4199 val = MAX(noise[0], noise[1]);
4200 val = MAX(noise[2], val);
4205 /* Compute maximum noise among last 20 samples. */