OSDN Git Service

rtw89: add C2H handle of BCN_CNT
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 7 Jan 2022 03:42:24 +0000 (11:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:56:35 +0000 (17:56 +0200)
commitfccca9345b25f7968ddcf40e4e9af5aa5cc26428
tree4ad722425593963189fa5f3ee82dd50686d023fa
parentf7e76d13bb2bba82b49d63a3d464f0a0d84fc8ee
rtw89: add C2H handle of BCN_CNT

This C2H notify driver the beacon count we send out. We don't handle the
content for now, so add a dummy handler to avoid messages, like
  rtw89_pci 0000:03:00.0: c2h class 0 func 3 not support
  C2H: 00000000: 01 03 01 3f 0f 00 00 00 80 0a 00 00 00 00 a0
  rtw89_pci 0000:03:00.0: c2h class 0 func 3 not support
  C2H: 00000000: 01 03 01 40 0f 00 00 00 00 03 20 00 00 00 a5

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220107034239.22002-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h