Home
last modified time | relevance | path

Searched refs:noisecalc (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/
Dmain.c803 B43legacy_WARN_ON(dev->noisecalc.channel_at_start != in b43legacy_generate_noise_sample()
811 if (dev->noisecalc.calculation_running) in b43legacy_calculate_link_quality()
813 dev->noisecalc.channel_at_start = dev->phy.channel; in b43legacy_calculate_link_quality()
814 dev->noisecalc.calculation_running = true; in b43legacy_calculate_link_quality()
815 dev->noisecalc.nr_samples = 0; in b43legacy_calculate_link_quality()
831 B43legacy_WARN_ON(!dev->noisecalc.calculation_running); in handle_irq_noise()
832 if (dev->noisecalc.channel_at_start != phy->channel) in handle_irq_noise()
840 B43legacy_WARN_ON(dev->noisecalc.nr_samples >= 8); in handle_irq_noise()
841 i = dev->noisecalc.nr_samples; in handle_irq_noise()
846 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]]; in handle_irq_noise()
[all …]
Db43legacy.h718 struct b43legacy_noise_calculation noisecalc; member
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dmain.c1425 if (dev->noisecalc.calculation_running) in b43_calculate_link_quality()
1427 dev->noisecalc.calculation_running = true; in b43_calculate_link_quality()
1428 dev->noisecalc.nr_samples = 0; in b43_calculate_link_quality()
1455 B43_WARN_ON(!dev->noisecalc.calculation_running); in handle_irq_noise()
1462 B43_WARN_ON(dev->noisecalc.nr_samples >= 8); in handle_irq_noise()
1463 i = dev->noisecalc.nr_samples; in handle_irq_noise()
1468 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]]; in handle_irq_noise()
1469 dev->noisecalc.samples[i][1] = phy->nrssi_lt[noise[1]]; in handle_irq_noise()
1470 dev->noisecalc.samples[i][2] = phy->nrssi_lt[noise[2]]; in handle_irq_noise()
1471 dev->noisecalc.samples[i][3] = phy->nrssi_lt[noise[3]]; in handle_irq_noise()
[all …]
Db43.h867 struct b43_noise_calculation noisecalc; member