diff options
author | 2023-08-01 10:11:26 +0800 | |
---|---|---|
committer | 2023-08-03 15:04:12 +0300 | |
commit | 894747206893c4a276e82999d1a1ed76c58bb36a (patch) | |
tree | b6d7a302e0e644755b28da0af7dadcf0d5fdee69 /net/core/dev_ioctl.c | |
parent | wifi: rtw89: introduce infrastructure of firmware elements (diff) | |
download | wireguard-linux-894747206893c4a276e82999d1a1ed76c58bb36a.tar.xz wireguard-linux-894747206893c4a276e82999d1a1ed76c58bb36a.zip |
wifi: rtw89: add to parse firmware elements of BB and RF tables
The tables of BB and RF parameters are pairs of {addr, value}. Load them
and convert from little-endian to CPU order, and show the version to clear
which version we are using.
rtw89_8922ae 0000:03:00.0: Firmware element BB version: 00 04 00 00
rtw89_8922ae 0000:03:00.0: Firmware element radio A version: 00 13 00 00
rtw89_8922ae 0000:03:00.0: Firmware element NCTL version: 00 05 00 00
We use tables defined in firmware elements with higher priority than
original static const tables defined in driver, because WiFi 7 chips will
not define the tables in driver, and existing chips can possibly migrate to
the new design one by one.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230801021127.15919-8-pkshih@realtek.com
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions