Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 13:07:45 -0700
From:      Landon J Fuller <landonf@freebsd.org>
To:        Trev <freebsd-wifi@sentry.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Mac Mini late 2009 BCM4321 issues :)
Message-ID:  <1518466065.55992.1@smtp.office.plausible.coop>
In-Reply-To: <52d64b1e-d9c4-ccca-426a-f36be3412e8b@sentry.org>
References:  <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> <52d64b1e-d9c4-ccca-426a-f36be3412e8b@sentry.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-theHFGaO5f1uepobeFCD
Content-Type: text/plain; charset=utf-8; format=flowed

On Thu, Feb 8, 2018 at 5:45 PM, Trev <freebsd-wifi@sentry.org> wrote:
> 
> As per Adrian's advice I updated to head via source (12.0-CURRENT #0
> r315191M: Tue Mar 14 02:02:24 AEDT 2017)
> 
> However, the result was the same. No successful association.
> 
> Today I upgraded head via source to 12.0-CURRENT #0 r329009: Thu Feb  
> 8
> 21:13:07 AEDT 2018 and I seem to be going backwards. The log file now 
> shows:
> 
> Feb  9 11:32:40 citadel kernel: wlan0: Ethernet address: 
> 00:26:b0:f7:a1:ec
> Feb  9 11:32:40 citadel kernel: bwn0: ucode fw: ucode11
> Feb  9 11:32:40 citadel kernel: bwn0: firmware version (rev 410 patch
> 2160 date 0x751a time 0x7c0a)
> Feb  9 11:32:40 citadel kernel: bwn0: NVRAM variable txpid5ga0 
> unreadable: 2
> Feb  9 11:32:40 citadel kernel: bwn0: PHY init failed
> Feb  9 11:32:40 citadel kernel: bwn0: need multicast update callback
> Feb  9 11:32:44 citadel kernel: bwn0: ucode fw: ucode11
> Feb  9 11:32:45 citadel kernel: bwn0: firmware version (rev 410 patch
> 2160 date 0x751a time 0x7c0a)
> Feb  9 11:32:45 citadel kernel: bwn0: NVRAM variable txpid5ga0 
> unreadable: 2
> Feb  9 11:32:45 citadel kernel: bwn0: PHY init failed
> Feb  9 11:33:32 citadel kernel: bwn0: ucode fw: ucode11
> Feb  9 11:33:32 citadel kernel: bwn0: firmware version (rev 410 patch
> 2160 date 0x751a time 0x7c0a)
> Feb  9 11:33:32 citadel kernel: bwn0: NVRAM variable txpid5ga0 
> unreadable: 2
> Feb  9 11:33:32 citadel kernel: bwn0: PHY init failed
> 
> On the plus side, I no longer have to specify a MAC address as it is 
> no
> longer ff:ff:ff:ff:ff:ff  :-)
> 
> Any further ideas?

Hey Trev -

Would you mind applying the attached patch and giving it another try?

Thanks,
Landon




--=-theHFGaO5f1uepobeFCD
Content-Type: text/x-patch
Content-Disposition: attachment; filename=0001_bcm4321_sromrev8.diff

diff --git a/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c b/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c
index c7ecb9747e7..f93b7af2687 100644
--- a/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c
+++ b/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c
@@ -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 {									\

--=-theHFGaO5f1uepobeFCD--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1518466065.55992.1>