Lines Matching refs:noisecalc
1410 if (dev->noisecalc.calculation_running) in b43_calculate_link_quality()
1412 dev->noisecalc.calculation_running = true; in b43_calculate_link_quality()
1413 dev->noisecalc.nr_samples = 0; in b43_calculate_link_quality()
1440 B43_WARN_ON(!dev->noisecalc.calculation_running); in handle_irq_noise()
1447 B43_WARN_ON(dev->noisecalc.nr_samples >= 8); in handle_irq_noise()
1448 i = dev->noisecalc.nr_samples; in handle_irq_noise()
1453 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]]; in handle_irq_noise()
1454 dev->noisecalc.samples[i][1] = phy->nrssi_lt[noise[1]]; in handle_irq_noise()
1455 dev->noisecalc.samples[i][2] = phy->nrssi_lt[noise[2]]; in handle_irq_noise()
1456 dev->noisecalc.samples[i][3] = phy->nrssi_lt[noise[3]]; in handle_irq_noise()
1457 dev->noisecalc.nr_samples++; in handle_irq_noise()
1458 if (dev->noisecalc.nr_samples == 8) { in handle_irq_noise()
1463 average += dev->noisecalc.samples[i][j]; in handle_irq_noise()
1481 dev->noisecalc.calculation_running = false; in handle_irq_noise()
4688 memset(&dev->noisecalc, 0, sizeof(dev->noisecalc)); in setup_struct_wldev_for_init()