wifi: brcmfmac: add flag for random seed during firmware download
authorJacobe Zang <jacobe.zang@wesion.com>
Tue, 10 Sep 2024 03:04:14 +0000 (11:04 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 18 Sep 2024 13:53:48 +0000 (16:53 +0300)
commitea11a89c3ac64ada9d8b7f7de279cb6385ed194f
tree1dfb34cb9fd28a5996c57a4ccc2acb12e412c878
parent0ff0843310b74e565901d85f849fb308c3b1f220
wifi: brcmfmac: add flag for random seed during firmware download

Providing the random seed to firmware was tied to the fact that the
device has a valid OTP, which worked for some Apple chips. However,
it turns out the BCM43752 device also needs the random seed in order
to get firmware running. Suspect it is simply tied to the firmware
branch used for the device. Introducing a mechanism to allow setting
it for a device through the device table.

Co-developed-by: Ondrej Jirman <megi@xff.cz>
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Co-developed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com> # On RK3588 EVB1
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240910-wireless-mainline-v14-4-9d80fea5326d@wesion.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h