diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2018-01-02 00:07:28 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2018-01-02 00:07:28 +0000 |
| commit | 9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67 (patch) | |
| tree | a5d7faed2a65fbf7d4faeb3ab70921425993d533 /sys/dev/mwl | |
| parent | cb1101afd7dcab548680a142d4a4b375a5a39b08 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mwl')
| -rw-r--r-- | sys/dev/mwl/if_mwl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index f607195fa20b..e1ec18294081 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -2893,11 +2893,15 @@ mwl_txq_update(struct mwl_softc *sc, int ac) { #define MWL_EXPONENT_TO_VALUE(v) ((1<<v)-1) struct ieee80211com *ic = &sc->sc_ic; + struct chanAccParams chp; struct mwl_txq *txq = sc->sc_ac2q[ac]; - struct wmeParams *wmep = &ic->ic_wme.wme_chanParams.cap_wmeParams[ac]; + struct wmeParams *wmep; struct mwl_hal *mh = sc->sc_mh; int aifs, cwmin, cwmax, txoplim; + ieee80211_wme_ic_getparams(ic, &chp); + wmep = &chp.cap_wmeParams[ac]; + aifs = wmep->wmep_aifsn; /* XXX in sta mode need to pass log values for cwmin/max */ cwmin = MWL_EXPONENT_TO_VALUE(wmep->wmep_logcwmin); |
