mbox series

[0/4] wifi: rtw89: add firmware drop and crash simulation

Message ID 20220914035034.14521-1-pkshih@realtek.com
Headers show
Series wifi: rtw89: add firmware drop and crash simulation | expand

Message

Ping-Ke Shih Sept. 14, 2022, 3:50 a.m. UTC
First patch is to unify the use of rtw89_h2c_tx() in which we don't check
the return value in if-expression. Instead, use 'ret' variable and bypass
it to upper callers.

The remaining three patches are to introduce new firmware features -- drop
and crash simulation. The first feature is to drop packets when calling
flush ops with drop=1. The crash simulation is to verify if driver can
handle events of abnormal conditions of firmware or hardware reported by
firmware.

Ping-Ke Shih (1):
  wifi: rtw89: unify use of rtw89_h2c_tx()

Zong-Zhe Yang (3):
  wifi: rtw89: introudce functions to drop packets
  wifi: rtw89: 8852c: support fw crash simulation
  wifi: rtw89: support SER L1 simulation

 drivers/net/wireless/realtek/rtw89/core.h     |  29 ++-
 drivers/net/wireless/realtek/rtw89/debug.c    |  62 ++++-
 drivers/net/wireless/realtek/rtw89/fw.c       | 242 +++++++++++++-----
 drivers/net/wireless/realtek/rtw89/fw.h       |  35 ++-
 drivers/net/wireless/realtek/rtw89/mac.c      |  53 +++-
 drivers/net/wireless/realtek/rtw89/mac.h      |   4 +
 drivers/net/wireless/realtek/rtw89/mac80211.c |  22 +-
 drivers/net/wireless/realtek/rtw89/ser.c      |   4 +-
 8 files changed, 370 insertions(+), 81 deletions(-)