Searched refs:NF (Results 1 – 8 of 8) sorted by relevance
111 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()
57 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()
284 #define CAL_NF(NF) ((s32)(-(s32)(NF))) argument285 #define CAL_RSSI(SNR, NF) ((s32)((s32)(SNR) + CAL_NF(NF))) argument
842 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()
292 u16 NF[MAX_TYPE_B][MAX_TYPE_AVG]; member
805 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()
874 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()
1748 priv->NF[TYPE_RXPD][TYPE_AVG] = 0; in lbs_ret_80211_associate()