Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/rtwn/rtl8192c/r92c_fw.c
| Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | if (sc->sc_ratectl == RTWN_RATECTL_FW) { | ||||
| else if (IEEE80211_IS_CHAN_HT20(ni->ni_chan)) | else if (IEEE80211_IS_CHAN_HT20(ni->ni_chan)) | ||||
| shortgi = ieee80211_ht_check_tx_shortgi_20(ni); | shortgi = ieee80211_ht_check_tx_shortgi_20(ni); | ||||
| else | else | ||||
| shortgi = false; | shortgi = false; | ||||
| r92c_send_ra_cmd(sc, macid, fw_rates, maxrate, shortgi); | r92c_send_ra_cmd(sc, macid, fw_rates, maxrate, shortgi); | ||||
| } | } | ||||
| #endif | #endif | ||||
| /* | |||||
| * There's no need to set this if firmware rate control is | |||||
| * enabled - the firmware will be controlling this per MACID. | |||||
| */ | |||||
| if (sc->sc_ratectl != RTWN_RATECTL_FW) | |||||
| rtwn_write_1(sc, R92C_INIDATA_RATE_SEL(macid), maxrate); | rtwn_write_1(sc, R92C_INIDATA_RATE_SEL(macid), maxrate); | ||||
| ieee80211_free_node(ni); | ieee80211_free_node(ni); | ||||
| } | } | ||||
| void | void | ||||
| r92c_joinbss_rpt(struct rtwn_softc *sc, int macid) | r92c_joinbss_rpt(struct rtwn_softc *sc, int macid) | ||||
| { | { | ||||
| #ifndef RTWN_WITHOUT_UCODE | #ifndef RTWN_WITHOUT_UCODE | ||||
| ▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines | |||||