/drivers/staging/rtl8723bs/hal/ |
D | odm_NoiseMonitor.c | 124 pDM_Odm->noise_level.noise[ODM_RF_PATH_A] = -110 + reg_c50 + noise_data.sum[ODM_RF_PATH_A]; in odm_InbandNoise_Monitor_NSeries() 125 pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_A]; in odm_InbandNoise_Monitor_NSeries() 131 pDM_Odm->noise_level.noise[ODM_RF_PATH_B] = -110 + reg_c58 + noise_data.sum[ODM_RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries() 132 pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries() 142 pDM_Odm->noise_level.noise[ODM_RF_PATH_A], in odm_InbandNoise_Monitor_NSeries() 143 pDM_Odm->noise_level.noise[ODM_RF_PATH_B] in odm_InbandNoise_Monitor_NSeries()
|
D | odm_NoiseMonitor.h | 28 s8 noise[MAX_RF_PATH]; member
|
D | hal_com.c | 1267 *(s16 *)pValue2 = pHalData->noise[chan]; in GetHalODMVar() 1270 chan, pHalData->noise[chan]); in GetHalODMVar() 1323 …pHalData->noise[pinfo->chan] = ODM_InbandNoise_Monitor(podmpriv, pinfo->bPauseDIG, pinfo->IGIValue… in SetHalODMVar() 1324 DBG_871X("chan_%d, noise = %d (dBm)\n", pinfo->chan, pHalData->noise[pinfo->chan]); in SetHalODMVar() 1327 podmpriv->noise_level.noise[ODM_RF_PATH_A], in SetHalODMVar() 1328 podmpriv->noise_level.noise[ODM_RF_PATH_B], in SetHalODMVar()
|
/drivers/media/dvb-frontends/ |
D | lgdt330x.c | 496 u32 noise; /* noise value */ in lgdt3302_read_snr() local 505 noise = ((buf[0] & 7) << 16) | (buf[1] << 8) | buf[2]; in lgdt3302_read_snr() 510 noise = ((buf[0] & 7 << 3) << 13) | (buf[3] << 8) | buf[4]; in lgdt3302_read_snr() 517 noise = ((buf[0] & 3) << 8) | buf[1]; in lgdt3302_read_snr() 531 state->snr = calculate_snr(noise, c); in lgdt3302_read_snr() 533 dprintk(state, "noise = 0x%08x, snr = %d.%02d dB\n", noise, in lgdt3302_read_snr() 543 u32 noise; /* noise value */ in lgdt3303_read_snr() local 552 noise = ((buf[0] & 0x78) << 13) | (buf[1] << 8) | buf[2]; in lgdt3303_read_snr() 557 noise = ((buf[0] & 7) << 16) | (buf[3] << 8) | buf[4]; in lgdt3303_read_snr() 564 noise = (buf[0] << 8) | buf[1]; in lgdt3303_read_snr() [all …]
|
D | or51132.c | 461 int noise, reg; in or51132_read_snr() local 467 noise = or51132_readreg(state, 0x02); in or51132_read_snr() 468 if (noise < 0) { in or51132_read_snr() 472 dprintk("read_snr noise (%d)\n", noise); in or51132_read_snr() 501 state->snr = calculate_snr(noise, c) - usK; in or51132_read_snr() 504 dprintk("%s: noise = 0x%08x, snr = %d.%02d dB\n", __func__, noise, in or51132_read_snr()
|
D | lgdt3305.c | 986 u32 noise; /* noise value */ in lgdt3305_read_snr() local 994 noise = ((read_reg(state, LGDT3305_PT_MSE_1) & 0x07) << 16) | in lgdt3305_read_snr() 1001 noise = ((read_reg(state, LGDT3305_EQ_MSE_1) & 0x0f) << 16) | in lgdt3305_read_snr() 1009 noise = (read_reg(state, LGDT3305_CR_MSE_1) << 8) | in lgdt3305_read_snr() 1019 state->snr = calculate_snr(noise, c); in lgdt3305_read_snr() 1022 lg_dbg("noise = 0x%08x, snr = %d.%02d dB\n", noise, in lgdt3305_read_snr()
|
D | m88ds3103.c | 218 unsigned int cnr, noise, signal, noise_tot, signal_tot; in m88ds3103_read_status() local 251 noise = buf[1] << 6; /* [13:6] */ in m88ds3103_read_status() 252 noise |= buf[0] & 0x3f; /* [5:0] */ in m88ds3103_read_status() 253 noise >>= 2; in m88ds3103_read_status() 257 noise_tot += noise; in m88ds3103_read_status() 261 noise = noise_tot / M88DS3103_SNR_ITERATIONS; in m88ds3103_read_status() 265 if (signal > noise) { in m88ds3103_read_status() 266 itmp = signal / noise; in m88ds3103_read_status()
|
/drivers/net/wireless/ath/ |
D | spectral_common.h | 57 s8 noise; member 101 __be16 noise; member 125 __be32 noise; member
|
/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 159 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local 189 noise = noise_magnitude(x, N, FREQ_NOISE_START, FREQ_NOISE_END); in detect_a2_a2m_eiaj() 193 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj() 216 (noise < 10) && in detect_a2_a2m_eiaj()
|
/drivers/net/wireless/intersil/orinoco/ |
D | hermes.h | 263 __le16 noise; /* Noise level */ member 279 __le16 noise; /* Noise level */ member 293 __le16 noise; /* Noise level */ member 320 u8 noise; member
|
/drivers/net/wireless/ath/ath9k/ |
D | calib.c | 75 s8 noise = ATH_DEFAULT_NOISE_FLOOR; in ath9k_hw_getchan_noise() local 81 noise += delta; in ath9k_hw_getchan_noise() 83 return noise; in ath9k_hw_getchan_noise() 438 ah->noise = ath9k_hw_getchan_noise(ah, chan, chan->noisefloor); in ath9k_hw_getnf()
|
D | common.c | 249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi() 271 rxs->signal = ah->noise + rx_stats->rs_rssi; in ath9k_cmn_process_rssi()
|
/drivers/staging/wlan-ng/ |
D | p80211conv.c | 245 wlandev->spy_stat[i].noise = rxmeta->noise; in orinoco_spy_gather() 248 rxmeta->noise) ? (rxmeta->signal - in orinoco_spy_gather() 249 rxmeta->noise) : 0; in orinoco_spy_gather()
|
D | p80211metastruct.h | 93 struct p80211item_uint32 noise; member 212 struct p80211item_uint32 noise; member
|
D | p80211conv.h | 75 int noise; /* An SSI, see p80211netdev.h */ member
|
/drivers/net/wireless/intersil/prism54/ |
D | islpci_eth.c | 280 …avs->ssi_noise = cpu_to_be32(priv->local_iwstatistics.qual.noise); /*better than 'undefined', I as… in islpci_monitor_rx() 372 wstats.noise = priv->local_iwstatistics.qual.noise; in islpci_eth_receive() 373 wstats.qual = wstats.level - wstats.noise; in islpci_eth_receive()
|
D | isl_ioctl.c | 176 priv->local_iwstatistics.qual.noise = r.u; in prism54_update_stats() 196 bss2->rssi - priv->iwstatistics.qual.noise; in prism54_update_stats() 447 range->max_qual.noise = 0; in prism54_get_range() 451 range->avg_qual.noise = 0; /* don't know what to put here */ in prism54_get_range() 575 char noise) in prism54_translate_bss() argument 635 iwe.u.qual.noise = noise; in prism54_translate_bss() 637 iwe.u.qual.qual = bss->rssi - noise; in prism54_translate_bss() 686 u32 noise = 0; in prism54_get_scan() local 698 noise = r.u; in prism54_get_scan() 716 noise); in prism54_get_scan()
|
/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | rtl8187.h | 46 u8 noise; member 136 u8 noise; member
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 31 name, rx_stats->signal, rx_stats->noise, rx_stats->rate, in hostap_dump_rx_80211() 149 LWNG_SETVAL(noise, 7, 0, 4, rx_stats->noise); in prism2_rx_80211() 169 hdr->ssi_noise = htonl(rx_stats->noise); in prism2_rx_80211() 189 hdr->dbm_antnoise = rx_stats->noise; in prism2_rx_80211() 766 wstats.noise = rx_stats->noise; in hostap_80211_rx()
|
D | hostap_80211.h | 72 u8 noise; member
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 796 u8 noise[4]; in handle_irq_noise() local 806 *((__le32 *)noise) = cpu_to_le32(b43legacy_jssi_read(dev)); in handle_irq_noise() 807 if (noise[0] == 0x7F || noise[1] == 0x7F || in handle_irq_noise() 808 noise[2] == 0x7F || noise[3] == 0x7F) in handle_irq_noise() 814 noise[0] = clamp_val(noise[0], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise() 815 noise[1] = clamp_val(noise[1], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise() 816 noise[2] = clamp_val(noise[2], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise() 817 noise[3] = clamp_val(noise[3], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise() 818 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]]; in handle_irq_noise() 819 dev->noisecalc.samples[i][1] = phy->nrssi_lt[noise[1]]; in handle_irq_noise() [all …]
|
/drivers/net/wireguard/ |
D | Makefile | 4 wireguard-y += noise.o
|
/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 259 range->max_qual.noise = 0x100 - 98; in rtl8180_wx_get_range() 265 range->avg_qual.noise = 0; in rtl8180_wx_get_range() 924 wstats->qual.noise = 0; in r8192_get_wireless_stats() 931 tmp_noise = (&ieee->current_network)->stats.noise; in r8192_get_wireless_stats() 935 wstats->qual.noise = tmp_noise; in r8192_get_wireless_stats()
|
/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 1535 BUILD_BUG_ON(ARRAY_SIZE(phy_regs) != ARRAY_SIZE(ar->noise)); in carl9170_get_noisefloor() 1542 ar->noise[i] = sign_extend32(GET_VAL( in carl9170_get_noisefloor() 1545 ar->noise[i + 2] = sign_extend32(GET_VAL( in carl9170_get_noisefloor() 1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
|
/drivers/media/tuners/ |
D | xc4000.c | 478 static int xc_get_noise_level(struct xc4000_priv *priv, u16 *noise) in xc_get_noise_level() argument 480 return xc4000_readreg(priv, XREG_NOISE_LEVEL, noise); in xc_get_noise_level() 1099 u16 noise = 0; in xc_debug_dump() local 1134 xc_get_noise_level(priv, &noise); in xc_debug_dump() 1135 dprintk(1, "*** Noise level = %ddB (%d)\n", noise >> 8, noise); in xc_debug_dump()
|