fix an incorrect setting of `retry times' in case of zd1211b, we
should set the ZYD_MACB_MAX_RETRY register instead of ZYD_MAC_RETRY Submitted by: Weongyo Jeong MFC after: 1 week
This commit is contained in:
parent
2c96cabe7d
commit
df8a38f46a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172814
@ -1527,7 +1527,7 @@ zyd_hw_init(struct zyd_softc *sc)
|
||||
if (sc->mac_rev == ZYD_ZD1211) {
|
||||
zyd_write32(sc, ZYD_MAC_RETRY, 0x00000002);
|
||||
} else {
|
||||
zyd_write32(sc, ZYD_MAC_RETRY, 0x02020202);
|
||||
zyd_write32(sc, ZYD_MACB_MAX_RETRY, 0x02020202);
|
||||
zyd_write32(sc, ZYD_MACB_TXPWR_CTL4, 0x007f003f);
|
||||
zyd_write32(sc, ZYD_MACB_TXPWR_CTL3, 0x007f003f);
|
||||
zyd_write32(sc, ZYD_MACB_TXPWR_CTL2, 0x003f001f);
|
||||
|
Loading…
Reference in New Issue
Block a user