Lines Matching refs:noise
2507 int noise; in bwi_rf_calc_noise_bcm2050() local
2510 noise = (int)val; /* XXX check bounds? */ in bwi_rf_calc_noise_bcm2050()
2515 if (noise >= BWI_NRSSI_TBLSZ) in bwi_rf_calc_noise_bcm2050()
2516 noise = BWI_NRSSI_TBLSZ - 1; in bwi_rf_calc_noise_bcm2050()
2518 noise = ((31 - (int)rf->rf_nrssi_table[noise]) * -131) / 128; in bwi_rf_calc_noise_bcm2050()
2519 noise -= 67; in bwi_rf_calc_noise_bcm2050()
2521 noise = ((31 - noise) * -149) / 128; in bwi_rf_calc_noise_bcm2050()
2522 noise -= 68; in bwi_rf_calc_noise_bcm2050()
2524 return noise; in bwi_rf_calc_noise_bcm2050()
2531 int noise; in bwi_rf_calc_noise_bcm2053() local
2534 noise = (int)val; /* XXX check bounds? */ in bwi_rf_calc_noise_bcm2053()
2536 noise = ((noise - 11) * 103) / 64; in bwi_rf_calc_noise_bcm2053()
2537 noise -= 109; in bwi_rf_calc_noise_bcm2053()
2538 return noise; in bwi_rf_calc_noise_bcm2053()