Home
last modified time | relevance | path

Searched refs:rstamp (Results 1 – 5 of 5) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_tsf.h39 ath_extend_tsf15(u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf15() argument
41 if ((tsf & 0x7fff) < rstamp) in ath_extend_tsf15()
44 return ((tsf &~ 0x7fff) | rstamp); in ath_extend_tsf15()
52 ath_extend_tsf32(u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf32() argument
55 u_int64_t tsf64 = (tsf & ~0xffffffffULL) | rstamp; in ath_extend_tsf32()
57 if (rstamp > tsf_low && (rstamp - tsf_low > 0x10000000)) in ath_extend_tsf32()
60 if (rstamp < tsf_low && (tsf_low - rstamp > 0x10000000)) in ath_extend_tsf32()
73 ath_extend_tsf(struct ath_softc *sc, u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf() argument
76 return ath_extend_tsf32(rstamp, tsf); in ath_extend_tsf()
78 return ath_extend_tsf15(rstamp, tsf); in ath_extend_tsf()
H A Dif_ath_tdma.c365 u_int64_t tsf, rstamp, nextslot, nexttbtt, nexttbtt_full; in ath_tdma_update() local
397 rstamp = ath_extend_tsf(sc, rs->rs_tstamp, tsf); in ath_tdma_update()
437 nextslot = (rstamp - txtime) + (sc->sc_tdmabintval << 9); in ath_tdma_update()
482 (unsigned long long) rstamp, in ath_tdma_update()
517 t.rx_tsf = htobe64(rstamp); in ath_tdma_update()
H A Dif_ath_rx.c483 uint32_t rstamp = sc->sc_lastrs->rs_tstamp; in ath_recv_mgmt() local
484 uint64_t tsf = ath_extend_tsf(sc, rstamp, in ath_recv_mgmt()
499 "tstamp %ju\n", rstamp, (uintmax_t)tsf, in ath_recv_mgmt()
661 uint64_t rstamp; in ath_rx_pkt() local
674 rstamp = ath_extend_tsf(sc, rs->rs_tstamp, tsf); in ath_rx_pkt()
703 ath_dfs_process_phy_err(sc, m, rstamp, rs); in ath_rx_pkt()
772 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt()
774 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); in ath_rx_pkt()
885 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt()
887 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); in ath_rx_pkt()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c218 uint32_t now, rstamp; in ar5210ProcRxDesc() local
231 rstamp = MS(ads->ds_status1, AR_RcvTimestamp); in ar5210ProcRxDesc()
237 if ((now & 0x1fff) < rstamp) in ar5210ProcRxDesc()
238 rstamp |= (now - 0x2000) & 0xffff; in ar5210ProcRxDesc()
240 rstamp |= now; in ar5210ProcRxDesc()
242 rs->rs_tstamp = rstamp & 0x7fff; in ar5210ProcRxDesc()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_tdma.c587 uint32_t rstamp = (uint32_t) le64toh(rs->tsf); in tdma_process_params()
597 rtt = rstamp - (le64toh(tstamp) & 0x7fff); in tdma_process_params()
603 rtt, rstamp, in tdma_process_params()