Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ath/if_ath_beacon.c
Context not available. | |||||
ath_beaconq_config(struct ath_softc *sc) | ath_beaconq_config(struct ath_softc *sc) | ||||
{ | { | ||||
#define ATH_EXPONENT_TO_VALUE(v) ((1<<(v))-1) | #define ATH_EXPONENT_TO_VALUE(v) ((1<<(v))-1) | ||||
struct ieee80211com *ic = sc->sc_ifp->if_l2com; | struct ieee80211com *ic = &sc->sc_ic; | ||||
struct ath_hal *ah = sc->sc_ah; | struct ath_hal *ah = sc->sc_ah; | ||||
HAL_TXQ_INFO qi; | HAL_TXQ_INFO qi; | ||||
Context not available. | |||||
} | } | ||||
if (sc->sc_stagbeacons) { /* staggered beacons */ | if (sc->sc_stagbeacons) { /* staggered beacons */ | ||||
struct ieee80211com *ic = sc->sc_ifp->if_l2com; | struct ieee80211com *ic = &sc->sc_ic; | ||||
uint32_t tsftu; | uint32_t tsftu; | ||||
tsftu = ath_hal_gettsf32(ah) >> 10; | tsftu = ath_hal_gettsf32(ah) >> 10; | ||||
Context not available. | |||||
((((u_int32_t)(_h)) << 22) | (((u_int32_t)(_l)) >> 10)) | ((((u_int32_t)(_h)) << 22) | (((u_int32_t)(_l)) >> 10)) | ||||
#define FUDGE 2 | #define FUDGE 2 | ||||
struct ath_hal *ah = sc->sc_ah; | struct ath_hal *ah = sc->sc_ah; | ||||
struct ieee80211com *ic = sc->sc_ifp->if_l2com; | struct ieee80211com *ic = &sc->sc_ic; | ||||
struct ieee80211_node *ni; | struct ieee80211_node *ni; | ||||
u_int32_t nexttbtt, intval, tsftu; | u_int32_t nexttbtt, intval, tsftu; | ||||
u_int32_t nexttbtt_u8, intval_u8; | u_int32_t nexttbtt_u8, intval_u8; | ||||
Context not available. |