• Ping-Ke Shih's avatar
    wifi: rtw89: 8852b: reset IDMEM mode to default value · 2e5a65f5
    Ping-Ke Shih authored
    For different firmware type, it could use different IDMEM mode, so reset
    it to default to avoid encountering error during we bisect firmware
    version, like
    
      rtw89_8852be 0000:03:00.0: Firmware version 0.29.26.0, cmd version 0, type 5
      rtw89_8852be 0000:03:00.0: Firmware version 0.29.26.0, cmd version 0, type 3
      rtw89_8852be 0000:03:00.0: fw security fail
      rtw89_8852be 0000:03:00.0: download firmware fail
      rtw89_8852be 0000:03:00.0: [ERR]fwdl 0x1E0 = 0x62
      rtw89_8852be 0000:03:00.0: [ERR]fwdl 0x83F2 = 0x8
      rtw89_8852be 0000:03:00.0: [ERR]fw PC = 0xb8931154
      rtw89_8852be 0000:03:00.0: [ERR]fw PC = 0xb8931154
      rtw89_8852be 0000:03:00.0: [ERR]fw PC = 0xb8931150
      rtw89_8852be 0000:03:00.0: [ERR]fw PC = 0xb8931154
    Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
    Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
    Link: https://lore.kernel.org/r/20230123065401.14174-5-pkshih@realtek.com
    2e5a65f5
reg.h 171 KB