Re: [PATCH v2] rtw88: 8822ce: fix wifi disconnect after S3/S4 on HONOR laptop

2021-02-22 Thread Hao Chen
Because I only have the `HONOR magic 14` laptop with rtl8822ce wifi chip :-( I will try to find out why the target platform can't properly resume with this declaration.Thanks. 在 2021/2/22 下午7:36, Pkshih 写道: On Mon, 2021-02-22 at 12:29 +0200, Kalle Valo wrote: Hao Chen writes: The lap

Re: [PATCH] rtw88: 8822ce: fix wifi disconnect after S3/S4 on HONOR laptop

2021-02-22 Thread Hao Chen
Hi: I have tried setting module parameter disable_aspm=1, but it's not useful. >The cpu info is follow: uos@uos-PC:~$ lscpu Architecture:    x86_64 CPU op-mode(s):  32-bit, 64-bit Byte Order:  Little Endian Address sizes:   48 bits physical, 48 bits virtual CPU(s):  

[PATCH v2] rtw88: 8822ce: fix wifi disconnect after S3/S4 on HONOR laptop

2021-02-22 Thread Hao Chen
it 7dc7c41607d1 ("rtw88: avoid unused function warnings") pointed out rtw_pci_resume() and rtw_pci_suspend() are not used at all. So I think it's safe to remove them. Fixes: 7dc7c41607d1 ("rtw88: avoid unused function warnings") Fixes: 44bc17f7f5b3 ("rtw88: support wo

[PATCH] rtw88: 8822ce: fix wifi disconnect after S3/S4 on HONOR laptop

2021-02-20 Thread Hao Chen
d wake procedure expected when pm's ops not NULL. Fixed: commit e3037485c68e ("rtw88: new Realtek 802.11ac driver") Signed-off-by: Hao Chen --- drivers/net/wireless/realtek/rtw88/rtw8822ce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wire

[PATCH] nl80211: Check for the required netlink attribute presence

2018-01-02 Thread Hao Chen
the required attribute presence. Signed-off-by: Hao Chen --- net/wireless/nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 213d0c4..2b3dbcd 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c