Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8057301ybl; Thu, 16 Jan 2020 09:54:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxu/QmR1aTHDm/gUtg8Gs50s1xl+hp70OfaBhBFfrRSbC5n3H/PcqZMePD2US//dLHsu820 X-Received: by 2002:aca:39d6:: with SMTP id g205mr206616oia.122.1579197282369; Thu, 16 Jan 2020 09:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579197282; cv=none; d=google.com; s=arc-20160816; b=annwZa3NTXOFkxA2X6Zo3CF6qUqqG7DhIL8/nTr5jDzpFAS2gyRFVvNfvgxshAwAx1 9OAuP/nDbh4iQlm5uTaKiKB4tXh9fSCOEnO9LmUR05Wlg7AtxGZ5gAuMnlERgn5D7f+H jAWWLWDWKjhWlWnOKa7J4usAi97Fo3VjNFeqLR4ESCWXTcyiBFmafAoJb7hlKPXLQusA B+hmSwnwpnrPGLyU0Sqg0qsaMsUxzJ+Vvbq7b7B3a7rIzkQoQiM67D45LnTuCfMMxo9+ ybl3ZBNetXlXMnX6WVG236K45Jctk/UMQb1bTg2iFbPefxIR9EyuviA5pAeZbQLihfOm 48iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=s7lTrMffjKWABT3OPgwBwmhzuzUdXASPKwFtr3EEVfA=; b=CZTzJmiaUlyaxRdvyoI56mV6Q0CgExDzD7JQxtY7/KMgwfm+RpIzCfMbgT3hVMX07v zA/1XIuI/GdB5Fay9DuarooTYdcCmfCL7SwIuV5rF6PeuFE10dLd+TETMKcQUUTAtdHN uwxGJHdLrTeqMewTZodUjEvT2NIDdbXwK2VbyWut6Jfn3gTwfcJxUp/tZzPSog+EFGe4 1EtiJROz9k1LuvKeDxqMWwDX5wSL8lQAgjqexEfpdRjuVxk/PAAkgcwUMBBcwMclSCLe xHaWanZ1xkzRuQkWOoVewwhCfhyY3AC5qop+9zYQosl7SlWNpdl61QFeQRZHzHRaMKTK ibGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si11978505oie.10.2020.01.16.09.54.31; Thu, 16 Jan 2020 09:54:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392981AbgAPRyH (ORCPT + 99 others); Thu, 16 Jan 2020 12:54:07 -0500 Received: from mail.adapt-ip.com ([173.164.178.19]:53824 "EHLO mail.adapt-ip.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733250AbgAPRyG (ORCPT ); Thu, 16 Jan 2020 12:54:06 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.adapt-ip.com (Postfix) with ESMTP id 3C7152F1649; Thu, 16 Jan 2020 17:54:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at web.adapt-ip.com Received: from mail.adapt-ip.com ([127.0.0.1]) by localhost (web.adapt-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id veuEyXMcWkfo; Thu, 16 Jan 2020 09:54:03 -0800 (PST) Received: from [10.1.10.44] (vpn.adapt-ip.com [173.164.178.20]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: thomas@adapt-ip.com) by mail.adapt-ip.com (Postfix) with ESMTPSA id 685982F1646; Thu, 16 Jan 2020 09:54:03 -0800 (PST) Subject: Re: [PATCH v2 0/3] fix a STA PS bug and add PS support to mac80211_hwsim To: Johannes Berg Cc: linux-wireless References: <2b07e86b-9be7-4fc3-ae92-a4f831e585ef@email.android.com> <4c2d7cc81e83238512360903f38e12be16c16ed5.camel@sipsolutions.net> From: Thomas Pedersen Message-ID: Date: Thu, 16 Jan 2020 09:54:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <4c2d7cc81e83238512360903f38e12be16c16ed5.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 1/15/20 11:54 PM, Johannes Berg wrote: > On Wed, 2020-01-15 at 23:53 -0800, thomas@adapt-ip.com wrote: >> >>> FWIW, I applied your patches yesterday. There was one issue remaining >>> uncovered by them, but it wasn't actually related to your patches, just >>> related to the test sending too many frames. I sent a workaround to the >>> hostap list and also the "mac80211: use more bits for ack_frame_id" to >>> the kernel to fix that. >>> >> >> But in the v3, no frames should actually be buffered unless power save >> is explicitly enabled on the STA side. Or is this some rrm specific >> behavior? > > I didn't check whether or not powersave got enabled by default now, I > sort of assumed it did? But that isn't really bad, almost all real > devices will have it enabled by default too. In v2 powersave was enabled by default, but that broke some test assumptions (and p2p stuff I don't really understand), so v3 disables it by default: https://lore.kernel.org/linux-wireless/20200114055940.18502-2-thomas@adapt-ip.com/T/#u -- -- thomas