mirror_ubuntu-kernels/drivers/net/wireless/realtek
Ping-Ke Shih dd59c6a32b wifi: rtw89: return failure if needed firmware elements are not recognized
WiFi 7 chips doesn't have static const tables defined in driver. If tables
aren't loaded properly from firmware file, driver can get NULL pointer
access exception. One way is to add the checking statements when trying to
access these tables, but I choose to check them right after loading
firmware elements from firmware file, so I don't need to add error handlers
everywhere.

Currently, the needed firmware elements of WiFi 6 chips are all zero, and
coming WiFi 7 chip will need at least BB MCU, parameters of BB and RF.
We will add them after 8922AE is verified.

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-9-pkshih@realtek.com
2023-08-03 15:04:12 +03:00
..
rtl8xxxu wifi: rtl8xxxu: Enable AP mode for RTL8723BU 2023-07-25 17:47:49 +03:00
rtl818x wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
rtlwifi wifi: rtlwifi: cleanup USB interface 2023-06-21 21:31:10 +03:00
rtw88 wifi: rtw88: simplify vif iterators 2023-07-25 17:40:43 +03:00
rtw89 wifi: rtw89: return failure if needed firmware elements are not recognized 2023-08-03 15:04:12 +03:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00