wifi: brcmfmac: use random seed flag for BCM4355 and BCM4364 firmware
authorAditya Garg <gargaditya08@live.com>
Mon, 20 Jan 2025 16:50:47 +0000 (16:50 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 28 Jan 2025 18:18:26 +0000 (20:18 +0200)
commit0e9724d0f89e8d77fa683e3129cadaed7c6e609d
tree058913e81b972d0c80be485287341bf9a2bb2841
parent9e6c4e6b605c1fa3e24f74ee0b641e95f090188a
wifi: brcmfmac: use random seed flag for BCM4355 and BCM4364 firmware

Before 6.13, random seed to the firmware was given based on the logic
whether the device had valid OTP or not, and such devices were found
mainly on the T2 and Apple Silicon Macs. In 6.13, the logic was changed,
and the device table was used for this purpose, so as to cover the special
case of BCM43752 chip.

During the transition, the device table for BCM4364 and BCM4355 Wi-Fi chips
which had valid OTP was not modified, thus breaking Wi-Fi on these devices.
This patch adds does the necessary changes, similar to the ones done for
other chips.

Fixes: ea11a89c3ac6 ("wifi: brcmfmac: add flag for random seed during firmware download")
Cc: stable@vger.kernel.org
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/47E43F07-E11D-478C-86D4-23627154AC7C@live.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c