static void ath_beacon_config(struct ath_softc *, struct ieee80211vap *);
static int ath_desc_alloc(struct ath_softc *);
static void ath_desc_free(struct ath_softc *);
-static __inline void ath_desc_swap(struct ath_desc *);
-static __inline u_int32_t ath_ds_link_swap(u_int32_t);
#ifdef IEEE80211_DEBUG_REFCNT
static struct ieee80211_node *ath_node_alloc_debug(struct ieee80211vap *,
return result;
}
+/* Swap transmit descriptor pointer for HW. */
+static __inline u_int32_t
+ath_ds_link_swap(u_int32_t dp) {
+#ifdef AH_NEED_DESC_SWAP
+ return swab32(dp);
+#else
+ return (dp);
+#endif
+}
+
static void
ath_intr_process_rx_descriptors(struct ath_softc *sc, int* pneedmark, u_int64_t hw_tsf)
{
#endif
}
-/* Swap transmit descriptor pointer for HW. */
-static __inline u_int32_t
-ath_ds_link_swap(u_int32_t dp) {
-#ifdef AH_NEED_DESC_SWAP
- return swab32(dp);
-#else
- return (dp);
-#endif
-}
-
static void
ath_txq_dump(struct ath_softc *sc, struct ath_txq *txq)
{