In rtl8188eu, read R92C_HSSI_PARAM2(0)) register to detect whether it needs
to enable CCK high power feature or not. Reviewed by: avos
This commit is contained in:
parent
d0b3c7cb46
commit
81c934a456
@ -105,10 +105,6 @@ r92ce_init_bb(struct rtwn_softc *sc)
|
||||
rtwn_setbits_4(sc, R92C_LEDCFG0, 0, 0x00800000);
|
||||
|
||||
r92c_init_bb_common(sc);
|
||||
|
||||
if (rtwn_bb_read(sc, R92C_HSSI_PARAM2(0)) &
|
||||
R92C_HSSI_PARAM2_CCK_HIPWR)
|
||||
sc->sc_flags |= RTWN_FLAG_CCK_HIPWR;
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -159,6 +159,9 @@ r92c_init_bb_common(struct rtwn_softc *sc)
|
||||
rtwn_delay(sc, 1);
|
||||
}
|
||||
}
|
||||
|
||||
if (rtwn_bb_read(sc, R92C_HSSI_PARAM2(0)) & R92C_HSSI_PARAM2_CCK_HIPWR)
|
||||
sc->sc_flags |= RTWN_FLAG_CCK_HIPWR;
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -78,10 +78,6 @@ r92cu_init_bb(struct rtwn_softc *sc)
|
||||
rtwn_write_1(sc, R92C_AFE_XTAL_CTRL + 1, 0x80);
|
||||
|
||||
r92c_init_bb_common(sc);
|
||||
|
||||
if (rtwn_bb_read(sc, R92C_HSSI_PARAM2(0)) &
|
||||
R92C_HSSI_PARAM2_CCK_HIPWR)
|
||||
sc->sc_flags |= RTWN_FLAG_CCK_HIPWR;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user