Home
last modified time | relevance | path

Searched refs:NF (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/libertas/
Drx.c111 priv->NF[TYPE_RXPD][TYPE_AVG] / AVG_SCALE); in lbs_compute_rssi()
114 priv->NF[TYPE_RXPD][TYPE_NOAVG] = p_rx_pd->nf; in lbs_compute_rssi()
118 priv->NF[TYPE_RXPD][TYPE_AVG] = lbs_getavgnf(priv) * AVG_SCALE; in lbs_compute_rssi()
121 priv->NF[TYPE_RXPD][TYPE_AVG] / AVG_SCALE); in lbs_compute_rssi()
125 priv->NF[TYPE_RXPD][TYPE_NOAVG]); in lbs_compute_rssi()
129 priv->NF[TYPE_RXPD][TYPE_AVG] / AVG_SCALE); in lbs_compute_rssi()
Dcmdresp.c57 memset(priv->NF, 0x00, sizeof(priv->NF)); in lbs_mac_event_disconnected()
158 priv->NF[TYPE_BEACON][TYPE_NOAVG] = le16_to_cpu(rssirsp->noisefloor); in lbs_ret_802_11_rssi()
161 priv->NF[TYPE_BEACON][TYPE_AVG] = le16_to_cpu(rssirsp->avgnoisefloor); in lbs_ret_802_11_rssi()
165 priv->NF[TYPE_BEACON][TYPE_NOAVG]); in lbs_ret_802_11_rssi()
169 priv->NF[TYPE_BEACON][TYPE_AVG] / AVG_SCALE); in lbs_ret_802_11_rssi()
Ddefs.h284 #define CAL_NF(NF) ((s32)(-(s32)(NF))) argument
285 #define CAL_RSSI(SNR, NF) ((s32)((s32)(SNR) + CAL_NF(NF))) argument
Dscan.c842 if (priv->NF[TYPE_BEACON][TYPE_NOAVG] == 0) { in lbs_translate_scan()
845 iwe.u.qual.noise = CAL_NF(priv->NF[TYPE_BEACON][TYPE_NOAVG]); in lbs_translate_scan()
858 nf = priv->NF[TYPE_RXPD][TYPE_AVG] / AVG_SCALE; in lbs_translate_scan()
Ddev.h292 u16 NF[MAX_TYPE_B][MAX_TYPE_AVG]; member
Dwext.c805 priv->NF[TYPE_BEACON][TYPE_NOAVG]); in lbs_get_wireless_stats()
807 if (priv->NF[TYPE_BEACON][TYPE_NOAVG] == 0) { in lbs_get_wireless_stats()
811 CAL_NF(priv->NF[TYPE_BEACON][TYPE_NOAVG]); in lbs_get_wireless_stats()
Dcmd.c874 priv->NF[TYPE_BEACON][TYPE_NOAVG] = 0; in lbs_cmd_802_11_rssi()
875 priv->NF[TYPE_BEACON][TYPE_AVG] = 0; in lbs_cmd_802_11_rssi()
Dassoc.c1748 priv->NF[TYPE_RXPD][TYPE_AVG] = 0; in lbs_ret_80211_associate()