]> asedeno.scripts.mit.edu Git - linux.git/commit
rtw88: use struct rtw_fw_hdr to access firmware header
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 2 Oct 2019 06:35:29 +0000 (14:35 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 4 Oct 2019 13:45:04 +0000 (16:45 +0300)
commitcc20a713983684b6760a21591516fb64e29aecfd
treecd5f40dc325efa9b65f1ea900772c8c1077c3e4d
parentbc3696e0a436d747b699363293ef76829998ac63
rtw88: use struct rtw_fw_hdr to access firmware header

This commit doesn't change logic at all, just use struct rtw_fw_hdr to
access fixed part of 64 bytes header. Since remaining part is variable
length data of actual firmware, we don't define them within the struct.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.h
drivers/net/wireless/realtek/rtw88/mac.c