mbox series

[0/5] rtw88: add firmware crash recovery and some fixes

Message ID 20200925061219.23754-1-tehuang@realtek.com (mailing list archive)
Headers show
Series rtw88: add firmware crash recovery and some fixes | expand

Message

Andy Huang Sept. 25, 2020, 6:12 a.m. UTC
From: Tzu-En Huang <tehuang@realtek.com>

When firmware crashes, it inturrupts the driver, then driver will
save its association state, restart the chip and call
ieee80211_restart_hw().

The size of the rx buffer and the declared VHT capability are unmatch,
which may lead to rx buffer overflow.

Add regulatory information in the tramit power table.

Tzu-En Huang (5):
  rtw88: increse the size of rx buffer size
  rtw88: handle and recover when firmware crash
  rtw88: add dump firmware fifo support
  rtw88: add dump fw crash log
  rtw88: show current regulatory in tx power table

 drivers/net/wireless/realtek/rtw88/debug.c    |  26 ++-
 drivers/net/wireless/realtek/rtw88/fw.c       |  86 ++++++--
 drivers/net/wireless/realtek/rtw88/fw.h       |  18 +-
 drivers/net/wireless/realtek/rtw88/mac80211.c |  81 ++------
 drivers/net/wireless/realtek/rtw88/main.c     | 193 ++++++++++++++++++
 drivers/net/wireless/realtek/rtw88/main.h     |  32 +++
 drivers/net/wireless/realtek/rtw88/pci.c      |   3 +
 drivers/net/wireless/realtek/rtw88/pci.h      |   4 +-
 drivers/net/wireless/realtek/rtw88/reg.h      |   5 +
 drivers/net/wireless/realtek/rtw88/rtw8822b.c |   3 +
 drivers/net/wireless/realtek/rtw88/rtw8822c.c |   3 +
 drivers/net/wireless/realtek/rtw88/util.h     |   2 +
 12 files changed, 372 insertions(+), 84 deletions(-)