Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2086503pxb; Sun, 18 Apr 2021 18:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5+s9MfNGQ2aT49BftHQsuyTrbO3Nk7XrR2AI6YQJPfdJdUsBtSUgEj1SpRleQtJdzR3HI X-Received: by 2002:a63:358:: with SMTP id 85mr9821009pgd.301.1618795408638; Sun, 18 Apr 2021 18:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618795408; cv=none; d=google.com; s=arc-20160816; b=PaOznylr6QsfNK4w7hw0fseeZ+YJSCOQyRXFd5kcu2jPb4g7dsKfkZgLvZRfX9aEg7 jgW5H3b06i6dZSOBhhL/Qiqmey17gUJkTgO8FHq6/g1Vh72PwFKAUeEx27JEh8imJmQL bcJGTC8BsDQTtnt6rGb9WaARMtrBTzXfKG8y4UR7urTnhoVUHmwCq7DyLuKx6HpdHryx 6ViuI/B6g87WQbYlEM0IQE4A6qEf2yPwNTpe+rLebtEYKY9cyU6tEkCZeLiyIJKDSMwj F7R2Z3LSy7t3MrKKhfBcDjd3hB0gBz2qzbApZjFwkKCGoEa4MShDqsxXK1cBoqCef0Ni c2ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:sender:dkim-signature; bh=LC1unaHSXRoqGKgvVKA19fS5y935zmftweCmhzGJtC4=; b=IB5nRJe1iDEoUKVfEBNJgr6yCziPDCCt4RmY7AdtEVy0aEZnOXjJjmVtL6qLfmzl4I XQz/+enlmU2HvEfPsjle8MHnO1ttW0Z4eR7oSSAt2wQ+tD9duG7yD2fFJeD67dMaSTCt f2JrlAFsgVo+wQEbTyGEHFKTsmdtA7g9kE+tF5fQ8jO/i6MyHWVHPLsNTt4ILCCO/QD8 tKNWSt0He7mD6gnIeS/9BzrwplwlEIBh+7H+SW5EyRskp0vxcNiKNLk8LHkG9pwP07RA mG/pDFml3iyt2MaIcXDJ+N2Q5vnEzRRaUbm9/nGwcEJuOEuvaMBvmKl78t0FBGJlV/Ch vCkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bzQcR5l8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si14513632plr.275.2021.04.18.18.23.11; Sun, 18 Apr 2021 18:23:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bzQcR5l8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237054AbhDSBXf (ORCPT + 99 others); Sun, 18 Apr 2021 21:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235958AbhDSBXe (ORCPT ); Sun, 18 Apr 2021 21:23:34 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52781C06174A; Sun, 18 Apr 2021 18:23:05 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id k25so33967770oic.4; Sun, 18 Apr 2021 18:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=LC1unaHSXRoqGKgvVKA19fS5y935zmftweCmhzGJtC4=; b=bzQcR5l8T1JQnjP/fCAwd7W7tmzGH+NM7+8YmTPz3W9E7Yt/AuLJQuK4z2nb5x3q+V Nvn/1oFV7gDTw3d2FA7XV+fdepwMVS0Y9Q/sb0ym0PsRjNzygFuCL73XV8co3vOIO291 p7MH2l7pfjTtS81A2mjVs9Fm4uH+LP+35frujQiXzdjjbz+4x+fSayQWC9re8b1VqUyg FO+/J5nniPGM8LNY8Bjt2Wlf4LiPctyWgbowfg65cCcCyw5PlI8gAkxOMAcqs4oVQIDS 3V0A2BTSvcILCxTS/KW6zHP4E95qSI3NvlHqgE77eg7CCc9mkJUpLwqZl6ZhaN6PBQyI M8UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LC1unaHSXRoqGKgvVKA19fS5y935zmftweCmhzGJtC4=; b=R9uRTT8Xdwp7tcBg8v5iUKmuoS0rwjjVpQwcIAI0MUoFuADNd68P0C+X/GOBcheLfK 1RrZ5TrpajUL4SSAbhmvSanszx1veqDZbnyauJAp+bcwu8iCLjgy4js/J0UVtuo5Efbe K+vTROCNsU0VQwa2kADPM1xxEtEs9Jt3OFfzLxeWPmTjhxkBzjrmsvJewOHt6Uzzj6Jq QX0AlGqT+5pStk83Lo/fmHyuzCbyaTPm55Bgl9bXIrfBsMqvQ601uKOvd22G9jB0g9+V NhFRb6QcFm4XyEo1f/IvrSnICXXnKw4twaVsuefROLGz7sOLCFJIycK4S8yEBSGD/pFo KM2w== X-Gm-Message-State: AOAM531DAMHRzF7yhAP2v3uH0/ACRvD96sIGICeeMkN/n2K4W1yLvd5T bUZ6rRlB5FDeDfmXEvxkq0U= X-Received: by 2002:aca:c487:: with SMTP id u129mr5867810oif.67.1618795384601; Sun, 18 Apr 2021 18:23:04 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id j8sm3160731otr.28.2021.04.18.18.23.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Apr 2021 18:23:03 -0700 (PDT) Sender: Larry Finger Subject: Re: rtlwifi/rtl8192cu AP mode broken with PS STA To: Pkshih , "Maciej S. Szmigiero" Cc: "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "johannes@sipsolutions.net" , "kvalo@codeaurora.org" References: <846f6166-c570-01fc-6bbc-3e3b44e51327@maciej.szmigiero.name> <87r1jnohq6.fsf@codeaurora.org> <8e0434eb-d15f-065d-2ba7-b50c67877112@maciej.szmigiero.name> <1617763692.9857.7.camel@realtek.com> <1dc7e487-b97b-8584-47f7-37f3385c7bf9@lwfinger.net> <15737dcf-95ac-1ce6-a681-94ff5db968e4@maciej.szmigiero.name> <220c4fe4-c9e1-347a-8cef-cd91d31c56df@maciej.szmigiero.name> <35249c6028f645a79c4186c9689ba8aa@realtek.com> From: Larry Finger Message-ID: <52f89f4f-568e-f04e-5c3e-e31f4a9e0910@lwfinger.net> Date: Sun, 18 Apr 2021 20:23:02 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <35249c6028f645a79c4186c9689ba8aa@realtek.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 4/18/21 7:32 PM, Pkshih wrote: > >> -----Original Message----- >> From: Maciej S. Szmigiero [mailto:mail@maciej.szmigiero.name] >> Sent: Sunday, April 18, 2021 2:08 AM >> To: Pkshih >> Cc: linux-wireless@vger.kernel.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org; >> johannes@sipsolutions.net; kvalo@codeaurora.org; Larry Finger >> Subject: Re: rtlwifi/rtl8192cu AP mode broken with PS STA >> >> On 08.04.2021 21:04, Maciej S. Szmigiero wrote: >>> On 08.04.2021 06:42, Pkshih wrote: >>>>> -----Original Message----- >>>>> From: Maciej S. Szmigiero [mailto:mail@maciej.szmigiero.name] >>>>> Sent: Thursday, April 08, 2021 4:53 AM >>>>> To: Larry Finger; Pkshih >>>>> Cc: linux-wireless@vger.kernel.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org; >>>>> johannes@sipsolutions.net; kvalo@codeaurora.org >>>>> Subject: Re: rtlwifi/rtl8192cu AP mode broken with PS STA >>>>> >>> (...) >>>>>> Maceij, >>>>>> >>>>>> Does this patch fix the problem? >>>>> >>>>> The beacon seems to be updating now and STAs no longer get stuck in PS >>>>> mode. >>>>> Although sometimes (every 2-3 minutes with continuous 1s interval pings) >>>>> there is around 5s delay in updating the transmitted beacon - don't know >>>>> why, maybe the NIC hardware still has the old version in queue? >>>> >>>> Since USB device doesn't update every beacon, dtim_count isn't updated neither. >>>> It leads STA doesn't awake properly. Please try to fix dtim_period=1 in >>>> hostapd.conf, which tells STA awakes every beacon interval. >>> >>> The situation is the same with dtim_period=1. >>> >> (...) >> >> Ping-Ke, >> are you going to submit your set_tim() patch so at least the AP mode is >> usable with PS STAs or are you waiting for a solution to the delayed >> beacon update issue? >> > > I'm still trying to get a 8192cu, and then I can reproduce the symptom you > met. However, I'm busy now; maybe I have free time two weeks later. > > Do you think I submit the set_tim() patch with your Reported-by and Tested-by first? PK, I would say yes. Get the fix in as soon as possible. Larry