/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9285.c | 44 int16_t nf; local 46 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 47 if (nf & 0x100) 48 nf = 0 - ((nf ^ 0x1ff) + 1); 50 "NF calibrated [ctl] [chain 0] is %d\n", nf); 51 nfarray[0] = nf; 53 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); 54 if (nf & 0x100) 55 nf [all...] |
H A D | ar9280.c | 355 int16_t nf; local 357 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 358 if (nf & 0x100) 359 nf = 0 - ((nf ^ 0x1ff) + 1); 361 "NF calibrated [ctl] [chain 0] is %d\n", nf); 362 nfarray[0] = nf; 364 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); 365 if (nf & 0x100) 366 nf [all...] |
H A D | ar9287.c | 297 int16_t nf; local 299 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 300 if (nf & 0x100) 301 nf = 0 - ((nf ^ 0x1ff) + 1); 303 "NF calibrated [ctl] [chain 0] is %d\n", nf); 304 nfarray[0] = nf; 306 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); 307 if (nf & 0x100) 308 nf [all...] |
/haiku/src/bin/pcmcia-cs/ |
H A D | pack_cis.h | 36 extern int nf;
|
H A D | pack_cis.c | 55 int nf = 0; variable 363 b[1] = 5*nf + 1; 364 b[2] = nf; 365 b[5*nf+3] = CISTPL_END; 366 b[5*nf+4] = 0; 368 pos = 5*nf+5; 369 for (i = 0; i < nf; i++) { 391 if (nf > 0) {
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 440 int16_t nf; local 443 * Blank nf array - some chips may only 451 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); 452 if (nf & 0x100) 453 nf = 0 - ((nf ^ 0x1ff) + 1); 455 "NF calibrated [ctl] [chain 2] is %d\n", nf); 456 nfarray[2] = nf; 458 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR); 459 if (nf [all...] |
H A D | ar5416_cal.c | 41 static void ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf); 658 * here, the baseband nf cal will just be capped by our present 662 "nf to load: AR_PHY_AGC_CONTROL=0x%x\n", 750 ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf) argument 762 if (!nf[i]) 765 if (nf[i] > limit->max) { 768 i, nf[i], limit->max); 769 nf[i] = limit->max; 770 } else if (nf[i] < limit->min) { 773 i, nf[ 788 int16_t nf, nfThresh; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_rx.h | 37 int rssi, int nf); 61 HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype,
|
H A D | if_ath_rx.c | 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); 511 const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) 576 const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) 623 sc->sc_rx_th.wr_antnoise = nf; 624 sc->sc_rx_th.wr_antsignal = nf + rs->rs_rssi; 658 uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf, 772 ath_rx_tap(sc, m, rs, rstamp, nf); 774 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); 885 ath_rx_tap(sc, m, rs, rstamp, nf); 334 ath_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 510 ath_rx_tap_vendor(struct ath_softc *sc, struct mbuf *m, const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) argument 575 ath_rx_tap(struct ath_softc *sc, struct mbuf *m, const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) argument 657 ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs, HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf, struct mbuf *m) argument 1085 int16_t nf; local [all...] |
/haiku/src/system/libroot/posix/musl/math/ |
H A D | jnf.c | 102 float t,q0,q1,w,h,z,tmp,nf; local 105 nf = nm1+1.0f; 106 w = 2*nf/x; 120 t = 1.0f/(2*(i+nf)/x-t); 131 tmp = nf*logf(fabsf(w));
|
H A D | jn.c | 154 double t,q0,q1,w,h,z,tmp,nf; local 157 nf = nm1 + 1.0; 158 w = 2*nf/x; 172 t = 1/(2*(i+nf)/x - t); 183 tmp = nf*log(fabs(w));
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_monitor.c | 65 const struct ieee80211_rx_stats *rxs, int rssi, int nf); 130 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 129 monitor_input(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument
|
H A D | ieee80211_wds.c | 109 int8_t rssi, nf; local 118 ic->ic_node_getsignal(ni, &rssi, &nf); 122 ieee80211_input(ni, m, rssi, nf); 412 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 503 ni->ni_noise = nf; 721 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); 748 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 411 wds_input(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 747 wds_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument
|
H A D | ieee80211_tdma.c | 119 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf); 124 const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh); 331 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) 394 (void) tdma_process_params(ni, scan.tdma, rssi, nf, wh); 402 ts->tdma_recv_mgmt(ni, m0, subtype, rxs, rssi, nf); 525 int rssi, int nf, const struct ieee80211_frame *wh) 330 tdma_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 524 tdma_process_params(struct ieee80211_node *ni, const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh) argument
|
H A D | ieee80211_adhoc.c | 310 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 446 ni->ni_noise = nf; 664 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); 709 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) 774 subtype, rssi, nf); 865 ni->ni_noise = nf; 1008 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) 1018 adhoc_recv_mgmt(ni, m0, subtype, rxs, rssi, nf); 309 adhoc_input(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 708 adhoc_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 1007 ahdemo_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument
|
H A D | ieee80211_hostap.c | 77 int rssi, int nf); 81 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf); 481 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 583 ni->ni_noise = nf; 895 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); 922 int rssi, int nf, uint16_t seq, uint16_t status) 1000 uint8_t *frm, uint8_t *efrm, int rssi, int nf, 1111 ni->ni_noise = nf; 1765 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) 1824 subtype, rssi, nf); 480 hostap_input(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 921 hostap_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 999 hostap_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1764 hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument [all...] |
H A D | ieee80211_sta.c | 79 int subtype, const struct ieee80211_rx_stats *, int rssi, int nf); 541 const struct ieee80211_rx_stats *rxs, int rssi, int nf) 654 ni->ni_noise = nf; 977 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); 1005 int rssi, int nf, uint16_t seq, uint16_t status) 1034 uint8_t *frm, uint8_t *efrm, int rssi, int nf, 1401 int rssi, int nf) 1656 &scan, wh, subtype, rssi, nf); 1701 subtype, rssi, nf); 1736 sta_auth_shared(ni, wh, frm + 6, efrm, rssi, nf, 540 sta_input(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 1004 sta_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 1033 sta_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1399 sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument [all...] |
H A D | ieee80211_proto.h | 83 #define ieee80211_input(ni, m, rssi, nf) \ 84 ((ni)->ni_vap->iv_input(ni, m, NULL, rssi, nf))
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_spectral.c | 278 "no nf cal offset found for freq %d chain %d\n", 298 "no nf pwr offset found for freq %d chain %d\n", 465 "%s: chan is NULL - no ss nf values\n", __func__); 590 int16_t nf; local 597 nf = MS(OS_REG_READ(ah, AR_PHY_CCA_0), AR_PHY_MINCCA_PWR); 600 nf = AH9300(ah)->nfp->nominal; 602 if (nf & 0x100) { 603 nf = (0 - ((nf ^ 0x1ff) + 1)); 605 return nf; 610 int16_t nf; local [all...] |
H A D | ar9300_reset.c | 273 #define AH_NF_SIGN_EXTEND(nf) \ 274 ((nf) & 0x100) ? \ 275 0 - (((nf) ^ 0x1ff) + 1) : \ 276 (nf) 281 int16_t nf; local 328 nf = (OS_REG_READ(ah, regs[i]) & masks[chan]) >> shifts[chan]; 329 nfarray[i] = AH_NF_SIGN_EXTEND(nf); 347 int16_t nf; local 352 nf = MS(OS_REG_READ(ah, AR_PHY_CCA_0), AR9280_PHY_MINCCA_PWR); 353 if (nf 488 ar9300_limit_nf_range(struct ath_hal *ah, int16_t nf) argument 529 int16_t nf; local 2216 ar9300_get_nf_hist_base(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, int is_scan, int16_t nf[]) argument 2243 ar9300_load_nf(struct ath_hal *ah, int16_t nf[]) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 938 int16_t nf; local 940 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 941 if (nf & 0x100) 942 nf = 0 - ((nf ^ 0x1ff) + 1); 943 return nf; 956 int32_t nf, nfLoops; local 975 nf = 0; 976 /* Keep checking until the floor is below the threshold or the nf is done */ 977 for (nfLoops = 0; ((nfLoops < 21) && (nf > NORMAL_NF_THRES [all...] |
H A D | ar5210_misc.c | 383 uint32_t nf; local 385 nf = (OS_REG_READ(ah, AR_PHY_BASE + (25 << 2)) >> 19) & 0x1ff; 386 if (nf & 0x100) 387 nf = 0 - ((nf ^ 0x1ff) + 1); 389 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_reset.c | 825 int16_t nf; local 827 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 828 if (nf & 0x100) 829 nf = 0 - ((nf ^ 0x1ff) + 1); 830 return nf; 924 int16_t nf, nfThresh; local 932 nf = ar5211GetNoiseFloor(ah); 933 if (nf > nfThresh) { 936 __func__, nf, nfThres 966 int16_t nf, nfThresh; local [all...] |
H A D | ar5211_misc.c | 379 uint32_t nf; local 381 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 382 if (nf & 0x100) 383 nf = 0 - ((nf ^ 0x1ff) + 1); 385 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 1302 int16_t nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; local 1303 if (nf & 0x100) 1304 nf = 0 - ((nf ^ 0x1ff) + 1); 1305 return nf; 1357 updateNFHistBuff(struct ar5212NfCalHist *h, int16_t nf) argument 1359 h->nfCalBuffer[h->currIndex] = nf; 1377 int16_t nf = sort[j]; local 1379 sort[j-1] = nf; 1395 int16_t nf, nfThres local [all...] |