rtw88: Add wowlan pattern match support
authorChin-Yen Lee <timlee@realtek.com>
Thu, 19 Dec 2019 08:58:15 +0000 (16:58 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:37:04 +0000 (17:37 +0200)
commite3e400df30078830871b927ca24826667d97d1f6
tree9b92d04c3f55aa972a651a9e8d469572baeb6736
parent44bc17f7f5b3b2cc4084eba6307ba750078a8a73
rtw88: Add wowlan pattern match support

Pattern match is an option of wowlan to allow the device
to be woken up from suspend mode when receiving packets
matched user-designed patterns.

The patterns are written into hardware cam in suspend flow
if users have set up them. If packets matched designed
pattern are received, wowlan firmware will get an interrupt
and then wake up the device.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.c
drivers/net/wireless/realtek/rtw88/fw.h
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/reg.h
drivers/net/wireless/realtek/rtw88/rtw8822c.c
drivers/net/wireless/realtek/rtw88/wow.c
drivers/net/wireless/realtek/rtw88/wow.h