Lines Matching refs:noisecalc
1230 if (dev->noisecalc.calculation_running)
1232 dev->noisecalc.calculation_running = 1;
1233 dev->noisecalc.nr_samples = 0;
1260 B43_WARN_ON(!dev->noisecalc.calculation_running);
1267 B43_WARN_ON(dev->noisecalc.nr_samples >= 8);
1268 i = dev->noisecalc.nr_samples;
1273 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]];
1274 dev->noisecalc.samples[i][1] = phy->nrssi_lt[noise[1]];
1275 dev->noisecalc.samples[i][2] = phy->nrssi_lt[noise[2]];
1276 dev->noisecalc.samples[i][3] = phy->nrssi_lt[noise[3]];
1277 dev->noisecalc.nr_samples++;
1278 if (dev->noisecalc.nr_samples == 8) {
1283 average += dev->noisecalc.samples[i][j];
1301 dev->noisecalc.calculation_running = 0;
4130 memset(&dev->noisecalc, 0, sizeof(dev->noisecalc));