Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1247203pxb; Sat, 17 Apr 2021 11:09:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnxDdq1vqMh6K4O0kNE6l663LVvqL916GnpDJEVXcgc+kzSMok8hG76DC2Z+mklwwQNy3g X-Received: by 2002:a17:906:d783:: with SMTP id pj3mr13647456ejb.38.1618682983372; Sat, 17 Apr 2021 11:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618682983; cv=none; d=google.com; s=arc-20160816; b=eA7zx/CA/ZjxC7MqkBmcSHARE6xfNkNR6A1ufTpU7yiggkBjk7i09sodQ9C3yQyZfo VFvBN+FCvAa1+AhSSQZ53An/Mt4sTDE02GM+PURQDM1D9xzPNqkAJHpuN3wxu703RC2w dcx8wGaWwhZCD5rO3dO90M/MOAAFyYyU5paOaeyiLRH4812ua6PQTxBCU9WLK6cjbmt5 qf5WT2B3rINgH/AHx4J+nTSlVvMPP2YxM+zCb3uPLGWEKmpa2UA0Zq51X3iyD3cIR8hw YgCPcwTQXX7iwmkZ5np0OSuMK3YAy6mkOYn0CLGObLdAvp5hJ3rPYsOD13JbB3ujbDH1 0k7A== 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:subject :references:cc:to:from; bh=C+9u46ULXo+gOtSSgUWO4HSeKVluX+Nbexip2X6xiso=; b=HeMLOlaSAz271uzkUD/zxRyHmkLkWqJSsy0S2KgBtMpfbPl/WXEGZ+eNeT3EcBSify Q4x4aN2/uPpJupS0S5ABOn4T9cA/HiYrVc59RzaAcWrJANoE6uQSahVx4w6TCPDl/ZIF XQikTfK577PsfNKw1VG+yx4EAuMpjpW8+fcPfy9zHRD35N2Il0LVQRJtCdtSo8hqydwy jVJjoXLtDAZhYSfg4fbTBcwO8RP4e4ESi7hhk2zIfGK0HbQ+EmRd+VyA4tqLRgNU9++Q CT3SXozCCwMFAXIxOWKnBSnJHDZI35atJ59xDlyBwr3X07nSsm1e1lazWqK1OKOhcXd1 QCRA== ARC-Authentication-Results: i=1; mx.google.com; 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 g8si8433656ejm.240.2021.04.17.11.09.19; Sat, 17 Apr 2021 11:09:43 -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; 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 S236838AbhDQSJK (ORCPT + 99 others); Sat, 17 Apr 2021 14:09:10 -0400 Received: from vps-vb.mhejs.net ([37.28.154.113]:37750 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236718AbhDQSIi (ORCPT ); Sat, 17 Apr 2021 14:08:38 -0400 Received: from MUA by vps-vb.mhejs.net with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.93.0.4) (envelope-from ) id 1lXpMM-000279-2d; Sat, 17 Apr 2021 20:07:58 +0200 From: "Maciej S. Szmigiero" 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 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> Subject: Re: rtlwifi/rtl8192cu AP mode broken with PS STA Message-ID: Date: Sat, 17 Apr 2021 20:07:52 +0200 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: <220c4fe4-c9e1-347a-8cef-cd91d31c56df@maciej.szmigiero.name> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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? Thanks, Maciej