Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7166193rwd; Mon, 19 Jun 2023 19:46:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ60KH3XcR2swAgZYgaUfkPNShuO2GPoaOG2Cssh3dUik6wrVEhVNQ0Pl34tFy2ymbAOjqzv X-Received: by 2002:a1f:d103:0:b0:471:48ae:ba32 with SMTP id i3-20020a1fd103000000b0047148aeba32mr4078288vkg.8.1687229177901; Mon, 19 Jun 2023 19:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687229177; cv=none; d=google.com; s=arc-20160816; b=iXKo7Hf1f4TXF8ZHkPppXe8QDURg7RHHeL1jdlXUihXEdIIHyRn5Fk4lluCPF5s1tf sFMoCOaAyJHE1Vckhm+mXOV0m5NoAFaouDb/hLK/COFS7bY4Oh9WlkfhMRAoK69TCPfE +haH/YIZPYtVwTc9dbBDfT+ItqlmAeAuf5+0dAfb/6VdoFf6OZ+Opg2bQt/5sgM00gpz l3EN1kyBYnAKuTkJH29oxR1PHNZIsPotNMYy1r3JI2xPFjdOjA9O3GXENDrGl4rEvLOz z1BmhSH0cRD90MzL9TBEwot5pCDG7dyPiZIs3cs80y+HZjVg318JRiUdaIH2J4jFw7BS 8xsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=GM90SJ/aEv5Euot2Vpd3XkNQtSmgcJOp+2Bm9Qx/9ug=; b=O/Lutum1gmvWw6Zzt9XpD9HWIaShfgBtUMtjSS1xpWFg9mnq8J1uQouWOrbPm4Jaxo Ln/fS2zSE7lOAsica1S0/8foUWF+SNqirhZrenVC98xhbZDH3637tWWdrCbslZIp5KAU xg2I0/upOcGOIuM1t5XDGrgweZJLA/1e3Cbzr/553gwb3AAc4Iw4TERxaphwE7vZad5t SP1d8MDg9N++oOfJUizD3zop29j8sWfBVLK7mo3tp8czJjjWkfAY9/Qv+5CLjR+gRfMH i27JD7TwSaSsa/s+K6MM3g0FMLawuSsm43z0QP8DRYkyC0obJqa8U3u0ATmElKF/ceAU GrDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HYTGpx83; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b005098590f1edsi724691pge.757.2023.06.19.19.46.06; Mon, 19 Jun 2023 19:46:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HYTGpx83; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229917AbjFTCRt (ORCPT + 59 others); Mon, 19 Jun 2023 22:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjFTCRs (ORCPT ); Mon, 19 Jun 2023 22:17:48 -0400 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66983A6 for ; Mon, 19 Jun 2023 19:17:47 -0700 (PDT) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1a49716e9c5so4208054fac.1 for ; Mon, 19 Jun 2023 19:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687227466; x=1689819466; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=GM90SJ/aEv5Euot2Vpd3XkNQtSmgcJOp+2Bm9Qx/9ug=; b=HYTGpx83vbIKsmFI7CLBjNLSdKTJxQG8JG/rMHhmkq4CQOQQsjNxbss1PIiL+7JlZE de39Xo/q4QTwVYE94VeDWAm9QqiNNDU49MZ8CdwGWxtuEPtPvm3V2rDXzNi7R/zuumM0 cugxow9XmDrBWeMTjB5CUQS099A+XINvQBLHedb02f/bZPPP2pVisQiiS4Yx049qH4Oc NlpVM7m4INFoNCnF9mAT7HRJA7rynntGIDhZ+vSoCgSkdzwHvPO3GBKguusca5m6okoX 3f6G72n9resI69VTizx+5f8zxpQ9EUpitnMWAoRvzEX/BpMH2u4vKLxs0HVa/dmD9uHA t88A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687227466; x=1689819466; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GM90SJ/aEv5Euot2Vpd3XkNQtSmgcJOp+2Bm9Qx/9ug=; b=X4ENTiyU2IIuxObJ6dPkcBkeNro8Y5G5Pr7UmGbq1OOPQvYHxSKYx/BLOChludzbNx E1itTA7+pCCQUKfZj2UqDK7zS1tRTvNCudCXsS14WJ7vNxH/jpgThz/3tWsmoLl4LXO1 VJgaXBaamKMmoreGXCsEm2EbeJrH8R+BFyq3Hk/iPyB9rPBuzqBzkWCm6hpD7CS/RSL4 7+R5U1DHC3n2zYMFqH9ARd+C2MKYdKmSWjv3QLnZ4LRWOfHQHOHd70sxZ7MeGiIOBGvn biqxGk5ki1plXK6NPuZ/1o5tCdbh7fLghKFSOykP+RtcorhBYuE4OGSWpPerhhm0c5eo Jmug== X-Gm-Message-State: AC+VfDzhdBjOHHD7HRCSoBMytKBbDLxAAb+fdKZ9OGzomULxOCtow6by jmXkeXGI9qQC5/YiBsccUKCvUZUSy7KMww== X-Received: by 2002:a05:6870:c806:b0:1a9:caa1:9571 with SMTP id ee6-20020a056870c80600b001a9caa19571mr8365656oab.34.1687227466180; Mon, 19 Jun 2023 19:17:46 -0700 (PDT) Received: from [192.168.1.119] ([216.130.59.33]) by smtp.gmail.com with ESMTPSA id fz11-20020a056870ed8b00b001aa02b7bfabsm674777oab.33.2023.06.19.19.17.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jun 2023 19:17:45 -0700 (PDT) Sender: Larry Finger Message-ID: Date: Mon, 19 Jun 2023 21:17:44 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: RTL8822BE not working after suspend Content-Language: en-US To: Utkarsh Verma Cc: linux-wireless@vger.kernel.org, James References: <1bafa8c6-fc0f-2928-712d-c24dc0a6d18a@lwfinger.net> <1231d03d-722a-4282-8066-27dd8a516163@lwfinger.net> From: Larry Finger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 6/19/23 21:03, Utkarsh Verma wrote: > Hi, > > I just wanted to that after a couple of weeks of testing, I still > couldn't get reliable behaviour. I installed the new Realtek drivers > with the systems loading/unloading script. Sometimes my WiFi works > after resume, sometimes it doesn't. I tried finding patterns, but > couldn't. Please let me know how we can investigate this. Perhaps your power system is taking longer to stabilize. You might try modifying the unloading/loading script to have something line #!/bin/sh if [ "${1}" == "pre" ]; then modprobe -rv rtw_8822be elif [ "${1}" == "post" ]; then sleep 20 modprobe -v rtw_8822be fi If that still does not work, I have no idea what might be causing the problem. If it does work, try halving the sleep interval from 20 sec to 10, etc until it breaks again. Larry