Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4834795ybl; Mon, 13 Jan 2020 22:06:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwKwbYkSu1pnS2mNnGupU0KnpOJ0b6vhYG6E97qO4VEG0Z5v9Q1eFWgJZj0KYj39yaN7McR X-Received: by 2002:a9d:6857:: with SMTP id c23mr15033985oto.351.1578981961772; Mon, 13 Jan 2020 22:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578981961; cv=none; d=google.com; s=arc-20160816; b=HdxL6m+4ICr4INoVwIpMxKlQwHtjvpbmh8AoGw/EIxIHvO5itCNIq+nQq/5jaBYdmA +voU2SIcOoB46KszXJ61xS+RfBwgfXWcKRJYNJenquwGHfAQ3n9Hgue2U+Vn3YxoVby5 K0pKkoEbcD7bGRRwZ+nFN4SOGzoAfifdvj4DNuOhWjfcVRdD4Y6SFCjxWenyb9EWKbcH jMueNb8Q/I0vQ4oRhTwI0kZqNfeT6A1yUbnntys/hMd19GnneiNtP5cXqj2Ikf9Ik7cL D7fhUF2Ct7tHeRkIgL8N0Dq40ZSDYT+C1MRYw8nuofzonsxBuGI3EnfC2NmrAy8pA0aY PwLg== 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:mime-version :message-id:date:subject:cc:to:from; bh=v3cE8dDv+1mQHGoh8+Yis8kfjj1NPbpqDbf4nqUA68w=; b=RD31UgTXBm7ervN4+ig/dAyjpwiKFAHsd9H4aOg0y3oJiGDiYRe+8dxY37R23NdfG+ schPUCO6rDvuovHELVppYWCbhU0/F5DiKXszoN6/11oPimZ5UKat5LgG11VOFeTgss1M gBpitaDomiEqRXOiVGYZlUN/hk0cJSGNuj7fbhhwD0tC9/iNyUSCQqw12J+IvDsN3gjx QtcqTldlUDHsBzv5b5N8YAtWA7hPMyRSJ6g7DFeJlSJMrcgkqZOwbaNtE8N4jDIItiGo SOgV7BiqnYom7GR+jziNNUk4G4+sLXOX0I5vOz6Erk5RMmKBwh6l8lxPSQRa2ZmpX/8h f/QA== 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 u8si7837683otq.262.2020.01.13.22.05.47; Mon, 13 Jan 2020 22:06:01 -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 S1725994AbgANGFq (ORCPT + 99 others); Tue, 14 Jan 2020 01:05:46 -0500 Received: from mail.adapt-ip.com ([173.164.178.19]:56840 "EHLO mail.adapt-ip.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgANGFq (ORCPT ); Tue, 14 Jan 2020 01:05:46 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.adapt-ip.com (Postfix) with ESMTP id BF23E2F0A45; Tue, 14 Jan 2020 05:59:42 +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 PmrUVZbAliwR; Mon, 13 Jan 2020 21:59:41 -0800 (PST) Received: from tractor.ibsgaard.io (c-73-202-5-52.hsd1.ca.comcast.net [73.202.5.52]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: thomas@adapt-ip.com) by mail.adapt-ip.com (Postfix) with ESMTPSA id F0FC02F0A2E; Mon, 13 Jan 2020 21:59:40 -0800 (PST) From: Thomas Pedersen To: Johannes Berg Cc: linux-wireless , Thomas Pedersen Subject: [PATCH v3 0/2] more STA PS fixes and mac80211_hwsim PS support Date: Mon, 13 Jan 2020 21:59:38 -0800 Message-Id: <20200114055940.18502-1-thomas@adapt-ip.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patchset adds power save support to mac80211_hwsim, and fixes some lingering bugs in mac80211 STA PS related to (QoS) nullfunc probing. The hostap hwsim test failures initially observed[0] have been "resolved" by disabling STA PS by default. It turns out STA PS behavior violates some assumption for eg. the bgscan_simple_beacon_loss test where a beacon loss event was expected instead of a disconnect event, which is triggered because hwsim can now do nullfunc probing. For the p2p failures I really have no idea :) [0]: https://lore.kernel.org/linux-wireless/43f4d446d7f8b9a08e091ab811fbf99bf00da2af.camel@sipsolutions.net/ Thomas Pedersen (2): mac80211_hwsim: add power save support mac80211: add ieee80211_is_any_nullfunc() drivers/net/wireless/mac80211_hwsim.c | 9 +++++++++ include/linux/ieee80211.h | 9 +++++++++ net/mac80211/mlme.c | 2 +- net/mac80211/rx.c | 8 +++----- net/mac80211/status.c | 5 ++--- net/mac80211/tx.c | 2 +- 6 files changed, 25 insertions(+), 10 deletions(-) -- 2.20.1