mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default
indices into the TX power gain table should be used instead. This enables use of bwn(4) with later BCM4321 revisions. Reported by: Trev Roydhouse
This commit is contained in:
parent
b11df8a4a3
commit
ded5af888d
1 changed files with 3 additions and 0 deletions
|
|
@ -3906,6 +3906,9 @@ static int bwn_nphy_tx_power_fix(struct bwn_mac *mac)
|
|||
} else if (sc->sc_board_info.board_srom_rev < 4) {
|
||||
txpi[0] = 72;
|
||||
txpi[1] = 72;
|
||||
} else if (sc->sc_board_info.board_srom_rev > 7) {
|
||||
txpi[0] = 0;
|
||||
txpi[1] = 0;
|
||||
} else {
|
||||
#define BWN_NPHY_GET_TXPI(_name, _result) \
|
||||
do { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue