/drivers/net/wireless/ath/ath9k/ |
H A D | dfs.c | 27 u8 rssi; member in struct:ath_radar_data 55 u8 rssi; local 73 rssi = (ard->ext_rssi >= (ard->rssi + 3)) ? 0 : ard->rssi; 83 rssi = (ard->rssi >= (ard->ext_rssi + 12)) ? 0 : ard->ext_rssi; 100 rssi = (ard->rssi < ard->ext_rssi) ? ard->ext_rssi : ard->rssi; [all...] |
H A D | common.c | 219 int rssi = rx_stats->rs_rssi; local 240 s8 rssi; local 245 rssi = rx_stats->rs_rssi_ctl[i]; 246 if (rssi != ATH9K_RSSI_BAD) { 248 rxs->chain_signal[j] = ah->noise + rssi; 263 rssi = ATH_EP_RND(last_rssi, ATH_RSSI_EP_MULTIPLIER); 264 if (rssi < 0) 265 rssi = 0; 267 ah->stats.avgbrssi = rssi;
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00leds.c | 30 void rt2x00leds_led_quality(struct rt2x00_dev *rt2x00dev, int rssi) argument 39 * Led handling requires a positive value for the rssi, 42 rssi += rt2x00dev->rssi_offset; 45 * Get the rssi level, this is used to convert the rssi 48 if (rssi <= 30) 49 rssi = 0; 50 else if (rssi <= 39) 51 rssi = 1; 52 else if (rssi < [all...] |
H A D | rt2x00lib.h | 422 void rt2x00leds_led_quality(struct rt2x00_dev *rt2x00dev, int rssi); 432 int rssi) 431 rt2x00leds_led_quality(struct rt2x00_dev *rt2x00dev, int rssi) argument
|
H A D | rt2x00link.c | 71 int rssi) 74 ant->rssi_history = rssi; 147 * sample the rssi from the other antenna to make a valid 228 ewma_add(&link->avg_rssi, -rxdesc->rssi); 233 ewma_add(&ant->rssi_ant, -rxdesc->rssi); 345 qual->rssi = DEFAULT_RSSI; 347 qual->rssi = rt2x00link_get_avg_rssi(&link->avg_rssi); 360 rt2x00leds_led_quality(rt2x00dev, qual->rssi); 70 rt2x00link_antenna_update_rssi_history(struct rt2x00_dev *rt2x00dev, int rssi) argument
|
/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.h | 42 * @rssi: rssi of radar event 48 u8 rssi; member in struct:pulse_event
|
H A D | spectral_common.h | 54 s8 rssi; member in struct:fft_sample_ht20 105 u8 rssi; member in struct:fft_sample_ath10k
|
/drivers/net/wireless/prism54/ |
H A D | islpci_eth.c | 261 u8 rssi = hdr->rssi; local 294 avs->ssi_signal = cpu_to_be32(rssi & 0x7f); 385 wstats.level = annex->rfmon.rssi;
|
H A D | islpci_eth.h | 34 u8 rssi; member in struct:rfmon_header
|
/drivers/net/wireless/ti/wl1251/ |
H A D | rx.h | 115 s8 rssi; /* in dB */ member in struct:wl1251_rx_descriptor
|
/drivers/staging/vt6656/ |
H A D | dpc.c | 48 u8 *rsr, *new_rsr, *rssi, *frame; local 137 rssi = skb_data + 8 + pay_load_with_padding + 10; 145 vnt_rf_rssi_to_dbm(priv, *rssi, &rx_dbm);
|
H A D | rf.c | 660 s32 rssi = -priv->current_rssi; local 662 if (!rssi) 666 if (rssi < -70) 668 else if (rssi < -65) 670 else if (rssi < -60) 673 if (rssi < -80) 675 else if (rssi < -75) 677 else if (rssi < -70) 803 /* Convert rssi to dbm */ 804 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, lon argument [all...] |
/drivers/media/tuners/ |
H A D | mxl301rf.c | 84 struct dtv_fe_stats *rssi; local 86 rssi = &fe->dtv_property_cache.strength; 87 rssi->len = 1; 88 rssi->stat[0].scale = FE_SCALE_NOT_AVAILABLE; 111 rssi->stat[0].svalue = level; 112 rssi->stat[0].scale = FE_SCALE_DECIBEL;
|
/drivers/net/wireless/ath/ath5k/ |
H A D | ani.c | 226 int rssi = ewma_read(&ah->ah_beacon_rssi_avg); local 257 if (rssi > ATH5K_ANI_RSSI_THR_HIGH) { 272 } else if (rssi > ATH5K_ANI_RSSI_THR_LOW) { 312 int rssi = ewma_read(&ah->ah_beacon_rssi_avg); local 324 if (rssi > ATH5K_ANI_RSSI_THR_HIGH) { 328 } else if (rssi > ATH5K_ANI_RSSI_THR_LOW) {
|
/drivers/staging/rtl8712/ |
H A D | sta_info.h | 78 s32 rssi; member in struct:sta_info
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | coex_legacy.c | 767 bool enable, int rssi) 771 mvmvif->bf_data.last_bt_coex_event = rssi; 811 /* ... relax constraints and disable rssi events */ 896 /* try to get the avg rssi from fw */ 1017 /* remember this notification for future use: rssi fluctuations */ 1095 * Check if rssi is good enough for reduced Tx power, but not in loose 765 iwl_mvm_bt_coex_enable_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable, int rssi) argument
|
H A D | coex.c | 740 bool enable, int rssi) 744 mvmvif->bf_data.last_bt_coex_event = rssi; 783 /* ... relax constraints and disable rssi events */ 869 /* try to get the avg rssi from fw */ 984 /* remember this notification for future use: rssi fluctuations */ 1067 * Check if rssi is good enough for reduced Tx power, but not in loose 738 iwl_mvm_bt_coex_enable_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable, int rssi) argument
|
/drivers/net/wireless/p54/ |
H A D | fwio.c | 400 struct pda_rssi_cal_entry *rssi; local 408 sizeof(*rate) + 2 * sizeof(*rssi), 506 rssi = (struct pda_rssi_cal_entry *) skb_put(skb, sizeof(*rssi)); 508 rssi->mul = cpu_to_le16(rssi_data->mul); 509 rssi->add = cpu_to_le16(rssi_data->add); 512 rssi = (void *) skb_put(skb, sizeof(*rssi)); 513 rssi->mul = cpu_to_le16(rssi_data->longbow_unkn); 514 rssi [all...] |
H A D | txrx.c | 275 static int p54_rssi_to_dbm(struct p54_common *priv, int rssi) argument 278 return ((rssi * priv->cur_rssi->mul) / 64 + 284 return rssi / 2 - 110; 353 rx_status->signal = p54_rssi_to_dbm(priv, hdr->rssi); 516 unsigned int i, rssi, tx, cca, dtime, dtotal, dcca, dtx, drssi, unit; local 547 rssi = 0; 549 rssi += le32_to_cpu(stats->sample_noise[i]); 552 drssi = rssi - priv->survey_raw.cached_rssi; 575 priv->survey_raw.rssi += drssi * unit; 576 priv->survey_raw.cached_rssi = rssi; [all...] |
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | trx.c | 125 u32 rssi, total_rssi = 0; local 239 rssi = _rtl92c_query_rxpwrpercentage(rx_pwr[i]); 240 total_rssi += rssi; 247 pstats->rx_mimo_signalstrength[i] = (u8) rssi;
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | trx.c | 74 u32 rssi, total_rssi = 0; local 179 rssi = rtl_query_rxpwrpercentage(rx_pwr[i]); 180 total_rssi += rssi; 185 pstats->rx_mimo_signalstrength[i] = (u8) rssi;
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | trx.c | 218 u32 rssi, total_rssi = 0; local 341 rssi = rtl_query_rxpwrpercentage(rx_pwr[i]); 342 total_rssi += rssi; 350 pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
/drivers/net/wireless/ti/wlcore/ |
H A D | rx.h | 136 s8 rssi; member in struct:wl1271_rx_descriptor
|
/drivers/net/wireless/b43legacy/ |
H A D | radio.c | 251 u16 rssi; local 260 rssi = b43legacy_phy_read(dev, 0x048A) & 0x3F; 262 rssi = saved & 0x3F; 264 if (rssi > 32) 265 rssi -= 64; 270 if (temp < rssi)
|
/drivers/net/wireless/iwlegacy/ |
H A D | 3945-rs.c | 100 il3945_get_rate_idx_by_rssi(s32 rssi, enum ieee80211_band band) argument 106 if (rssi < IL_MIN_RSSI_VAL || rssi > IL_MAX_RSSI_VAL) 107 rssi = IL_MIN_RSSI_VAL; 123 while (idx < table_size && rssi < tpt_table[idx].min_rssi) 673 * to rssi value 914 s32 rssi = 0; local 956 rssi = il->_3945.last_rx_rssi; 957 if (rssi == 0) 958 rssi [all...] |