aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/debug.h
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2024-02-04 09:26:27 +0800
committerKalle Valo <kvalo@kernel.org>2024-02-06 20:06:14 +0200
commit43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b (patch)
treeb0fcf8d38912473afdc2f75a1cb79dfa63a516d0 /drivers/net/wireless/intel/iwlwifi/fw/api/debug.h
parent12ff5e1cca33b32fae0b183203f5b58a610e137e (diff)
downloadlinux-43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b.tar.gz
linux-43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b.tar.bz2
linux-43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b.zip
wifi: rtw89: fw: download firmware with key data for secure boot
Since firmware header contains multiple secure sections, we need to trim ignored sections, and then download firmware header with single one secure section. For secure boot, when downloading secure section, copy security key data from MSS poll by key_idx read from efuse. If non-secure boot, no need this extra copy. +---------------------------+ -\ | firmware header | | | | | | +-----------------------+ | | only preserve single one secure | | section type/size * N | | | section | | ... | | | | +-----------------------+ | | +---------------------------+ -/ : : +---------------------------+ -\ | secure section type (ID:9)| | | | | +----|-> [ security key data ] | | | +---------------------------+ -/ | |MSS Pool for above section | | | [ security key data 0 ] | +----|- [ security key data 1 ] | by key_idx | [ security key data 2 ] | | ... | +---------------------------+ Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240204012627.9647-5-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/debug.h')
0 files changed, 0 insertions, 0 deletions