mwl_softc
mwlSendCmd(struct mwl_softc *sc)
mwlExecuteCmd(struct mwl_softc *sc, unsigned short cmd)
mwlWaitForCmdComplete(struct mwl_softc *sc, uint16_t cmdCode)
dumpresult(struct mwl_softc *sc, int showresult)
mwlGetCalTable(struct mwl_softc *sc, uint8_t annex, uint8_t index)
mwlGetPwrCalTable(struct mwl_softc *sc)
mwlResetHalState(struct mwl_softc *sc)
mwl_hal_getchannelinfo(struct mwl_softc *sc, int band, int chw,
getchannels(struct mwl_softc *sc, int maxchans, int *nchans,
mwl_getchannels(struct mwl_softc *sc)
mwl_gethwspecs(struct mwl_softc *sc)
mwl_hal_setmac_locked(struct mwl_softc *sc,
mwl_hal_newstation(struct mwl_softc *sc,
mwl_hal_setantenna(struct mwl_softc *sc, MWL_HAL_ANTENNA dirSet, int ant)
mwl_hal_setradio(struct mwl_softc *sc, int onoff, MWL_HAL_PREAMBLE preamble)
mwl_hal_setwmm(struct mwl_softc *sc, int onoff)
mwl_hal_setchannel(struct mwl_softc *sc, const MWL_HAL_CHANNEL *chan)
mwl_hal_settxpower(struct mwl_softc *sc,
mwl_hal_settxrate(struct mwl_softc *sc, MWL_HAL_TXRATE_HANDLING handling,
mwl_hal_settxrate_auto(struct mwl_softc *sc, const MWL_HAL_TXRATE *rate)
mwl_hal_setrateadaptmode(struct mwl_softc *sc, uint16_t mode)
mwl_hal_setoptimizationlevel(struct mwl_softc *sc, int level)
mwl_hal_setregioncode(struct mwl_softc *sc, int regionCode)
static int mwl_alloc_cmdbuf(struct mwl_softc *);
mwl_hal_setassocid(struct mwl_softc *sc,
static void mwl_free_cmdbuf(struct mwl_softc *);
static int mwl_alloc_rx_ring(struct mwl_softc *, int);
struct mwl_softc *sc = (struct mwl_softc *)ic;
static void mwl_free_rx_ring(struct mwl_softc *);
static int mwl_alloc_tx_ring(struct mwl_softc *, struct mwl_tx_ring *,
mwl_hal_setrtsthreshold(struct mwl_softc *sc, int threshold)
static void mwl_free_tx_ring(struct mwl_softc *, struct mwl_tx_ring *);
mwl_hal_setcsmode(struct mwl_softc *sc, MWL_HAL_CSMODE csmode)
static int mwl_setupdma(struct mwl_softc *);
mwl_hal_setpromisc(struct mwl_softc *sc, int ena)
static void mwl_txq_init(struct mwl_softc *, struct mwl_tx_ring *, int);
mwl_hal_start(struct mwl_softc *sc)
static int mwl_tx_setup(struct mwl_softc *, int, int);
static int mwl_setup_txq(struct mwl_softc *);
mwl_hal_setinframode(struct mwl_softc *sc)
static int mwl_fwload(struct mwl_softc *, void *);
mwl_hal_stop(struct mwl_softc *sc)
static void mwlFwReset(struct mwl_softc *);
mwl_hal_keyset(struct mwl_softc *sc, const MWL_HAL_KEYVAL *kv,
static void mwlPokeSdramController(struct mwl_softc *, int);
static void mwlTriggerPciCmd(struct mwl_softc *);
static int mwlWaitFor(struct mwl_softc *, uint32_t);
static int mwlSendBlock(struct mwl_softc *, int, const void *, size_t);
mwl_hal_keyreset(struct mwl_softc *sc, const MWL_HAL_KEYVAL *kv,
static int mwlSendBlock2(struct mwl_softc *, const void *, size_t);
static void mwlSendCmd(struct mwl_softc *);
static int mwlExecuteCmd(struct mwl_softc *, unsigned short);
static int mwlWaitForCmdComplete(struct mwl_softc *, uint16_t);
static void dumpresult(struct mwl_softc *, int);
static int mwlResetHalState(struct mwl_softc *);
static int mwlGetPwrCalTable(struct mwl_softc *);
static int mwlGetCalTable(struct mwl_softc *, uint8_t, uint8_t);
static int mwlGetPwrCalTable(struct mwl_softc *);
struct mwl_softc *sc = (struct mwl_softc *)ic;
struct mwl_softc *sc = (struct mwl_softc *)ic;
static int mwl_gethwspecs(struct mwl_softc *);
static int mwl_getchannels(struct mwl_softc *);
static void getchannels(struct mwl_softc *, int, int *,
mwl_chan_set(struct mwl_softc *sc, struct mwl_channel *chan)
static int mwl_chan_set(struct mwl_softc *, struct mwl_channel *);
static int mwl_setcurchanrates(struct mwl_softc *);
mwl_setcurchanrates(struct mwl_softc *sc)
findhalchannel(const struct mwl_softc *,
findhalchannel(const struct mwl_softc *sc, const MWL_HAL_CHANNEL *c)
static int mwl_startrecv(struct mwl_softc *);
static int mwl_mode_init(struct mwl_softc *);
static void mwl_hal_intrset(struct mwl_softc *, uint32_t);
static void mwl_hal_getisr(struct mwl_softc *, uint32_t *);
mwl_startrecv(struct mwl_softc *sc)
static int mwl_hal_sethwdma(struct mwl_softc *,
static int mwl_hal_getchannelinfo(struct mwl_softc *, int, int,
static int mwl_hal_setmac_locked(struct mwl_softc *,
mwl_mode_init(struct mwl_softc *sc)
static int mwl_hal_keyreset(struct mwl_softc *, const MWL_HAL_KEYVAL *,
mwl_hal_txstart(struct mwl_softc *sc, int qnum)
struct mwl_softc *sc = (struct mwl_softc *)ic;
static int mwl_hal_keyset(struct mwl_softc *, const MWL_HAL_KEYVAL *,
static int mwl_hal_newstation(struct mwl_softc *,
static int mwl_hal_setantenna(struct mwl_softc *, MWL_HAL_ANTENNA, int);
static int mwl_hal_setradio(struct mwl_softc *, int, MWL_HAL_PREAMBLE);
static int mwl_hal_setwmm(struct mwl_softc *, int);
static int mwl_hal_setchannel(struct mwl_softc *, const MWL_HAL_CHANNEL *);
static int mwl_hal_settxpower(struct mwl_softc *, const MWL_HAL_CHANNEL *,
static int mwl_hal_settxrate(struct mwl_softc *, MWL_HAL_TXRATE_HANDLING,
static int mwl_hal_settxrate_auto(struct mwl_softc *,
static int mwl_hal_setrateadaptmode(struct mwl_softc *, uint16_t);
static int mwl_hal_setoptimizationlevel(struct mwl_softc *, int);
static int mwl_hal_setregioncode(struct mwl_softc *, int);
struct mwl_softc *sc = (struct mwl_softc *)arg;
static int mwl_hal_setassocid(struct mwl_softc *,
static int mwl_hal_setrtsthreshold(struct mwl_softc *, int);
static int mwl_hal_setcsmode(struct mwl_softc *, MWL_HAL_CSMODE);
struct mwl_softc *sc = (struct mwl_softc *)ic;
static int mwl_hal_setpromisc(struct mwl_softc *, int);
static int mwl_hal_start(struct mwl_softc *);
static int mwl_hal_setinframode(struct mwl_softc *);
static int mwl_hal_stop(struct mwl_softc *);
mwl_hal_intrset(struct mwl_softc *sc, uint32_t mask)
mwl_hal_getisr(struct mwl_softc *sc, uint32_t *status)
mwl_tx_intr(struct mwl_softc *sc)
static void mwl_hal_txstart(struct mwl_softc *, int);
mwl_rx_intr(struct mwl_softc *sc)
static void mwl_tx_intr(struct mwl_softc *);
static void mwl_rx_intr(struct mwl_softc *);
static int mwl_init(struct mwl_softc *);
static void mwl_stop(struct mwl_softc *);
struct mwl_softc *sc = (struct mwl_softc *)data;
static int mwl_resume(struct mwl_softc *);
struct mwl_softc *sc = (struct mwl_softc *)arg;
mwl_init(struct mwl_softc *sc)
mwl_resume(struct mwl_softc *sc)
mwl_stop(struct mwl_softc *sc)
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc = (struct mwl_softc *)arg;
struct mwl_softc *sc;
struct mwl_softc *sc;
mwl_alloc_cmdbuf(struct mwl_softc *sc)
struct mwl_softc *sc;
sizeof (struct mwl_softc), 1);
mwl_free_cmdbuf(struct mwl_softc *sc)
mwl_alloc_rx_ring(struct mwl_softc *sc, int count)
mwl_free_rx_ring(struct mwl_softc *sc)
mwl_alloc_tx_ring(struct mwl_softc *sc, struct mwl_tx_ring *ring,
mwl_free_tx_ring(struct mwl_softc *sc, struct mwl_tx_ring *ring)
mwl_hal_sethwdma(struct mwl_softc *sc, const struct mwl_hal_txrxdma *dma)
mwl_setupdma(struct mwl_softc *sc)
mwl_txq_init(struct mwl_softc *sc, struct mwl_tx_ring *txring, int qnum)
mwl_tx_setup(struct mwl_softc *sc, int ac, int mvtype)
mwl_setup_txq(struct mwl_softc *sc)
mwlFwReset(struct mwl_softc *sc)
mwlPokeSdramController(struct mwl_softc *sc, int SDRAMSIZE_Addr)
mwlTriggerPciCmd(struct mwl_softc *sc)
mwlWaitFor(struct mwl_softc *sc, uint32_t val)
mwlSendBlock(struct mwl_softc *sc, int bsize, const void *data, size_t dsize)
mwlSendBlock2(struct mwl_softc *sc, const void *data, size_t dsize)
mwl_fwload(struct mwl_softc *sc, void *fwargs)