Searched refs:rssi (Results 1 - 25 of 97) sorted by path

1234

/freebsd-11-stable/lib/libbluetooth/
H A Dbluetooth.h161 int8_t rssi; member in struct:bt_devinquiry
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300.h54 #define INIT_RSSI_BEACON_WEIGHT 8 /* ave beacon rssi weight (0-16) */
185 int32_t rssi; /* The current RSSI */ member in struct:ar9300_ani_state
227 HAL_NODE_STATS ast_nodestats; /* Latest rssi stats from driver */
245 u_int8_t re_rssi; /* rssi of radar event */
452 u_int32_t ah_beacon_rssi_threshold; /* cache beacon rssi threshold */
1567 extern void ar9300_chk_rssi_update_tx_pwr(struct ath_hal *ah, int rssi);
H A Dar9300_ani.c117 { 7, 0 }, /* lvl 7 (only for high rssi) */
118 { 8, 0 } /* lvl 8 (only for high rssi) */
362 ani_state->rssi = BEACON_RSSI(ahp);
364 "**** %s: ofdmlevel %d=>%d, rssi=%d[lo=%d hi=%d]\n", __func__,
366 ani_state->rssi, ani_state->rssi_thr_low, ani_state->rssi_thr_high);
389 ani_state->rssi <= ani_state->rssi_thr_high))
417 ani_state->rssi = BEACON_RSSI(ahp);
419 "**** %s: ccklevel %d=>%d, rssi=%d[lo=%d hi=%d]\n",
421 ani_state->rssi, ani_state->rssi_thr_low, ani_state->rssi_thr_high);
424 ani_state->rssi <
[all...]
H A Dar9300_misc.c484 * Get the rssi of frame curently being received.
496 * Get the rssi value from BB on ctl chain0.
2863 void ar9300_chk_rssi_update_tx_pwr(struct ath_hal *ah, int rssi) argument
2889 && (rssi > tmp_rss1_thr1))
2895 && (rssi > tmp_rss1_thr2))
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_ani.c45 * rssi value (e.g. beacon frames from an ap in station mode)
51 * ANI_ENA_RSSI indicates whether rssi-based processing should
421 int32_t rssi = BEACON_RSSI(ahp); local
422 if (rssi > params->rssiThrHigh) {
424 * Beacon rssi is high, can turn off ofdm
429 "%s: rssi %d OWSD off\n", __func__, rssi);
443 "%s: rssi %d raise ST %u\n", __func__, rssi,
449 } else if (rssi > param
523 int32_t rssi = BEACON_RSSI(ahp); local
791 int32_t rssi = BEACON_RSSI(ahp); local
[all...]
H A Dar5212_misc.c400 * Get the rssi of frame curently being received.
1354 uint8_t rssi; local
1372 rssi = (uint8_t) rxs->rs_rssi;
1374 /* 0 duration/rssi is not a valid radar event */
1375 if (dur == 0 && rssi == 0)
1378 HALDEBUG(ah, HAL_DEBUG_DFS, "%s: rssi=%d, dur=%d\n",
1379 __func__, rssi, dur);
1384 event->re_rssi = rssi;
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c49 * rssi value (e.g. beacon frames from an ap in station mode)
55 * ANI_ENA_RSSI indicates whether rssi-based processing should
407 int32_t rssi = BEACON_RSSI(ahp); local
408 if (rssi > params->rssiThrHigh) {
410 * Beacon rssi is high, can turn off ofdm
430 } else if (rssi > params->rssiThrLow) {
432 * Beacon rssi in mid range, need ofdm weak signal
445 * Beacon rssi is low, if in 11b/g mode, turn off ofdm
487 int32_t rssi = BEACON_RSSI(ahp); local
488 if (rssi > param
747 int32_t rssi = BEACON_RSSI(ahp); local
[all...]
H A Dar5416_radar.c240 uint8_t rssi = 0, ext_rssi = 0; local
263 rssi = (uint8_t) rxs->rs_rssi;
265 rssi = (uint8_t) rxs->rs_rssi_ctl[0];
271 if (rssi & 0x80)
272 rssi = 0;
288 HALDEBUG(ah, HAL_DEBUG_DFS, "%s: rssi=%d, ext_rssi=%d, pulse_length_pri=%d,"
290 __func__, rssi, ext_rssi, pulse_length_pri, pulse_length_ext,
299 if (dur == 0 && rssi == 0) {
300 HALDEBUG(ah, HAL_DEBUG_DFS, "%s: dur and rssi are 0\n", __func__);
304 HALDEBUG(ah, HAL_DEBUG_DFS, "%s: rssi
[all...]
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath.c3801 ath_node_getsignal(const struct ieee80211_node *ni, int8_t *rssi, int8_t *noise) argument
3807 *rssi = ic->ic_node_getrssi(ni);
5717 * Reset rssi stats; maybe not the best place...
H A Dif_ath_rx.c142 * - when operating in station mode for collecting rssi data when
330 * Intercept management frames to collect beacon rssi data
335 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf)
361 ATH_VAP(vap)->av_recv_mgmt(ni, m, subtype, rxs, rssi, nf);
376 /* update rssi statistics for use by the hal */
378 ATH_RSSI_LPF(sc->sc_halstats.ns_avgbrssi, rssi);
509 /* rssi */
942 * Track rx rssi and do any rx antenna management.
334 ath_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument
H A Dif_ath_rx.h37 int rssi, int nf);
/freebsd-11-stable/sys/dev/bwi/
H A Dbwirf.c2410 int rssi, lna_gain; local
2412 rssi = hdr->rxh_rssi;
2417 if (rssi > 127)
2418 rssi -= 256;
2420 rssi += 17;
2422 rssi -= 4;
2423 return rssi;
2429 if (rssi >= BWI_NRSSI_TBLSZ)
2430 rssi = BWI_NRSSI_TBLSZ - 1;
2432 rssi
2480 int rssi; local
2495 int rssi; local
[all...]
/freebsd-11-stable/sys/dev/ipw/
H A Dif_ipwreg.h157 uint8_t rssi; /* received signal strength indicator */ member in struct:ipw_status
301 uint8_t rssi; member in struct:ipw_node
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwireg.h311 uint8_t rssi; member in struct:iwi_frame
546 uint16_t rssi; /* beacon rssi in dBm */ member in struct:iwi_sensitivity
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwnreg.h1409 uint8_t rssi[6]; member in struct:iwn4965_rx_phystat
1415 uint16_t rssi[3]; member in struct:iwn5000_rx_phystat
1582 uint32_t rssi[3]; member in struct:iwn_rx_general_stats
/freebsd-11-stable/sys/dev/ral/
H A Drt2560reg.h252 uint8_t rssi; member in struct:rt2560_rx_desc
H A Drt2661reg.h272 uint8_t rssi; member in struct:rt2661_rx_desc
H A Drt2860reg.h894 uint8_t rssi[3]; member in struct:rt2860_rxwi
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_rumreg.h286 uint8_t rssi; member in struct:rum_rx_desc
H A Dif_uathreg.h162 int32_t rssi; member in struct:uath_rx_desc
H A Dif_uralreg.h191 uint8_t rssi; member in struct:ural_rx_desc
H A Dif_urtwreg.h337 uint8_t rssi; member in struct:urtw_8187b_rxhdr
415 uint8_t rssi; member in struct:urtw_8187l_rxhdr
/freebsd-11-stable/sys/dev/vnic/
H A Dnic_main.c688 uint64_t cpi_base, cpi, rssi_base, rssi; local
716 rssi = rssi_base;
717 for (; rssi < (rssi_base + cfg->rq_cnt); rssi++) {
718 nic_reg_write(nic, NIC_PF_RSSI_0_4097_RQ | (rssi << 3),
723 rssi = 0;
735 (vnic << 24) | (padd << 16) | (rssi_base + rssi));
742 (vnic << 24) | (rssi_base + rssi));
745 if ((rssi + 1) >= cfg->rq_cnt)
749 rssi
784 uint64_t cpi_cfg, cpi_base, rssi_base, rssi; local
[all...]
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi.c130 int rssi, int nf);
765 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf)
776 WI_VAP(vap)->wv_recv_mgmt(ni, m, subtype, rxs, rssi, nf);
1265 int8_t rssi, nf; local
1323 rssi = frmhdr.wi_rx_signal;
1339 tap->wr_antsignal = rssi;
1353 (void) ieee80211_input(ni, m, rssi, nf);
1356 (void) ieee80211_input_all(ic, m, rssi, nf);
764 wi_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument
H A Dif_wivar.h172 #define WI_RSSI_TO_DBM(sc, rssi) (MIN((sc)->sc_max_rssi, \
173 MAX((sc)->sc_min_rssi, (rssi))) - (sc)->sc_dbm_offset)

Completed in 293 milliseconds

1234