Lines 3168-3178
Link Here
|
3168 |
cmd.ac[aci].cwmin, cmd.ac[aci].cwmax, |
3168 |
cmd.ac[aci].cwmin, cmd.ac[aci].cwmax, |
3169 |
cmd.ac[aci].txoplimit); |
3169 |
cmd.ac[aci].txoplimit); |
3170 |
} |
3170 |
} |
3171 |
IEEE80211_UNLOCK(ic); |
|
|
3172 |
WPI_LOCK(sc); |
3173 |
error = wpi_cmd(sc, WPI_CMD_EDCA_PARAMS, &cmd, sizeof cmd, 1); |
3171 |
error = wpi_cmd(sc, WPI_CMD_EDCA_PARAMS, &cmd, sizeof cmd, 1); |
3174 |
WPI_UNLOCK(sc); |
|
|
3175 |
IEEE80211_LOCK(ic); |
3176 |
|
3172 |
|
3177 |
DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_END, __func__); |
3173 |
DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_END, __func__); |
3178 |
|
3174 |
|
Lines 4921-4929
Link Here
|
4921 |
{ |
4917 |
{ |
4922 |
struct wpi_softc *sc = ic->ic_ifp->if_softc; |
4918 |
struct wpi_softc *sc = ic->ic_ifp->if_softc; |
4923 |
|
4919 |
|
4924 |
WPI_LOCK(sc); |
|
|
4925 |
wpi_set_led(sc, WPI_LED_LINK, 20, 2); |
4920 |
wpi_set_led(sc, WPI_LED_LINK, 20, 2); |
4926 |
WPI_UNLOCK(sc); |
|
|
4927 |
} |
4921 |
} |
4928 |
|
4922 |
|
4929 |
/* |
4923 |
/* |
Lines 4936-4946
Link Here
|
4936 |
struct wpi_softc *sc = ifp->if_softc; |
4930 |
struct wpi_softc *sc = ifp->if_softc; |
4937 |
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); |
4931 |
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); |
4938 |
|
4932 |
|
4939 |
if (vap->iv_state == IEEE80211_S_RUN) { |
4933 |
if (vap->iv_state == IEEE80211_S_RUN) |
4940 |
WPI_LOCK(sc); |
|
|
4941 |
wpi_set_led(sc, WPI_LED_LINK, 0, 1); |
4934 |
wpi_set_led(sc, WPI_LED_LINK, 0, 1); |
4942 |
WPI_UNLOCK(sc); |
|
|
4943 |
} |
4944 |
} |
4935 |
} |
4945 |
|
4936 |
|
4946 |
/** |
4937 |
/** |