Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1843224ybb; Sat, 21 Mar 2020 07:05:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuAAssPONew0+9BuIM4Q92dOApaLm3rT8gWKPHIUAsV2d+K9JNx8ue/N5YDiApWUgLgTMaC X-Received: by 2002:aca:54ca:: with SMTP id i193mr10793257oib.163.1584799533513; Sat, 21 Mar 2020 07:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584799533; cv=none; d=google.com; s=arc-20160816; b=at/w5L8Aa4oUBrXtNEmVcXGlJ3uNV1GldoQt0SAzwPXn4OpHwOc/3X9pMoG5P8Zoom iwu+4Emg2vSqaUwDVXB5qwhsispzpXqtpXzZU2Oo+7XUHfPNGiK5MvtNY1sErLg6KsPq +/uduZO7BOGyKKOgYijg2exzCK2V1F1PiqZljuQ365XUNg7TuXOZJdgV6JuqKuRclmSK rNl7JswYR2gW6OsRbVQI8UlqrW3CHtorWcmcEa/unjqzeLQT06SHTW4OLkZ8CRjfzmry xNQS1rErhuIr9pG3Wqf4md+cYQ+voVD4tXWXC8JBoQ8mxkjj1aXGkDTzptc8s30EqDHi PzCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=C+fELGJdVONd1eorgvkowwvBoLWz33e73DTzwPdtvvw=; b=ZW9xWpaHNeXS9rkeZrJnFNvZYEitYorjtE0Br/jM6NqrV0bC9SGO6s3jgETf41he8e j9OI64+HV+A1W5ClijMUKvmIckiBgR81l5V/MkiF6qVB8skaasjlKCswDuoR5X2KyVii 6+CjJ+BOCJkeuumM98uaN0hOzkvoU35pvMd8ZEvffYXtjIPFeg2AndfevlHbQLNTnd9h IISBDHPZeTQ++6jTHeWJze5bLzgJii74a9sKIGy90B6yQqJLlkDkRyb7SoGhIXO2QmCr U5FQ4xYFOHBj8x1pvTx/LpUgcj5PiK4tyaNtKVKP05jIptgM/vVhPT6er6ayxTezhkFS 2iaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="J/VuiWU4"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5si5259762otg.42.2020.03.21.07.05.13; Sat, 21 Mar 2020 07:05:33 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="J/VuiWU4"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727278AbgCUOEl (ORCPT + 99 others); Sat, 21 Mar 2020 10:04:41 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:43021 "EHLO mail-qt1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727039AbgCUOEl (ORCPT ); Sat, 21 Mar 2020 10:04:41 -0400 Received: by mail-qt1-f172.google.com with SMTP id a5so464117qtw.10 for ; Sat, 21 Mar 2020 07:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=C+fELGJdVONd1eorgvkowwvBoLWz33e73DTzwPdtvvw=; b=J/VuiWU4Tkq0tXrhc7sXeG343DWNv2jPQdCBtIZM4ZIrIQgxupD2E3UW12j7dcUCC0 G/HtITRHOU+xcmehMKBKBpzRbJjw62GlDS6pK+w+ZBt8AkAIuZXh2RwXrlaN8P2dFvN6 tN4EY+rMPtl5qk1MpRKpFcL5e1UYlF5A6InZSFa3TPAZj+OsiS5dsdS12OYL9tOYoROR znJHULp1s07K2mC/UXBivULxJrCNzwQDy9Pam6hm1VJ8rEipOiDLLtddyI1FuKf32ikm siPi0jPlcuZGfQWCAmLLxeA3as57psKCqj5JkqSLCGsjI8wGumDeLGL4SpmMi6Uhq3qd AbzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=C+fELGJdVONd1eorgvkowwvBoLWz33e73DTzwPdtvvw=; b=SkdCDcTPhkLF7Qo5JmcgS2Ij1cWY8GUzRtQRFV9bTkxKCTk789CRkaYW/cOGxBW/h2 N0DDC2hbIr7h6r+VQ4WWDQksIi7tlcICkRuX+/19Vds5U0Eq/62DRj4aBE4bIskJtkbA x47fseO4xDvUVLOTfNTiynOV6tcmQAqtoRhfYQtgp4pR64kHQLlwjHvW+vSZ1LIp+iiX f78RG3XhbY2iRmLLB89Om5sFbvFoO5+2A4pXeZBjBgiYL/egtq07kv7zGFO4/VQot4cr NXv6YgXMQSz/Vynj0utW5R/NHFnx+EFxL/fJtgmMOgAH1xiqWZieoF6a/vIUQE9U2jj1 UnLQ== X-Gm-Message-State: ANhLgQ0uGxzrhRH6JOAnI14nhv4kKWY2L+7oDef5MCSS61tjeBfD7dJD bMf6W6fo+BupKi/vuZTxYsu8ZzPejH3ElFf9mVqKl2wsilI= X-Received: by 2002:aed:33a6:: with SMTP id v35mr13244985qtd.328.1584799478659; Sat, 21 Mar 2020 07:04:38 -0700 (PDT) MIME-Version: 1.0 From: Janusz Dziedzic Date: Sat, 21 Mar 2020 15:04:27 +0100 Message-ID: Subject: ath9k/mac80211 wrong hw RX filter? - tests, dpp_pkex* failed To: linux-wireless Cc: Jouni Malinen , Johannes Berg Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, Just check dpp_pkex* test cases in my remote test environment (ath9k devices) and seems by default fail: - supplicant using remain_on_channel here - we don't receive broadcast action frame(s) (PKEX exchange request) - I suspect HW rx filter configuration don't work correctly here In case will add monitor interface to the iface that ath9k station using, test case always pass (we receive this action frame(s) when remain-on-channel). janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c config-home.py -r t2-ath9k-1 -r t2-ath9k-2 -h dpp_pkex REF (dev): t2-ath9k-1 REF (dev): t2-ath9k-2 RUN check_devices PASS START - dpp_pkex (1/1) FAILED (DPP authentication did not succeed (Responder)) - 30.925673s Failed test cases: dpp_pkex janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c config-home.py -r t2-ath9k-1 -r t2-ath9k-2 -m t2-ath9k-1 -h dpp_pkex REF (dev): t2-ath9k-1 REF (dev): t2-ath9k-2 MON: t2-ath9k-1 RUN check_devices PASS START - dpp_pkex (1/1) PASS () - 2.396301s Seems we pass this for hwsim, but I suspect we don't use hwsim filters? I see that wpa_supplicant register different action frames and finally we configure this in mgmt_frame_register() next ieee80211_mgmt_frame_register(). Do we miss some functionality here (in mac80211) or this is pure ath9k bug? Interesting, that 'monitor trick' doesn't work for intel-ax200. janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c config-home.py -r t3-intel-ax200 -r t2-ath9k-2 -h dpp_pkex REF (dev): t3-intel-ax200 REF (dev): t2-ath9k-2 RUN check_devices PASS START - dpp_pkex (1/1) FAILED (DPP authentication did not succeed (Responder)) - 31.242791s Failed test cases: dpp_pkex janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c config-home.py -r t3-intel-ax200 -r t2-ath9k-2 -m t3-intel-ax200 -h dpp_pkex REF (dev): t3-intel-ax200 REF (dev): t2-ath9k-2 MON: t3-intel-ax200 RUN check_devices PASS START - dpp_pkex (1/1) FAILED (DPP authentication did not succeed (Responder)) - 32.449632s Failed test cases: dpp_pkex BR Janusz