From patchwork Wed Aug 22 14:50:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Otcheretianski X-Patchwork-Id: 960897 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S9r5Uxde"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41wPc63BMjz9s7X for ; Wed, 22 Aug 2018 20:56:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Yg35C8ErfryVKwWuWlUCfj+pPtDk+aiC2h0mhKDmkTE=; b=S9r 5UxdebEL/emJftTzzuG/rzdEulMZ3S9jWew51at5zLl8ikgxWesMGOg04gOtXj3mPztbYCBnffXpI yU9gjPRrYGhQIItOUh+nV/45EwY0QxNk4KT3lrlufc0XKjZD3u3u2nHHiK7rmO92sP05OaDWBBS8F W7FMi8GFJrZf0kdHzbYR1ZZDUu/ZAByoKv4c9cDBDgA0rPr4ZZ8zkpFE/Ke29GOFLqkq5qKCNM1Dr Jr0kPognXoj9lMf3+PwydsYwYuoMqUc+SvceHxpeffm4mg/oR/ZVoM9OFdFCD1ttnBgNM5nm0J9dY 3TupG7ea1yZZ2t2UT18iPFLlvjW/Vxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsQo1-000056-2q; Wed, 22 Aug 2018 10:56:05 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsQny-0008VJ-8A for hostap@lists.infradead.org; Wed, 22 Aug 2018 10:56:03 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2018 03:55:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,273,1531810800"; d="scan'208";a="64313672" Received: from unknown (HELO andrei-XPS-12-9Q33.ger.corp.intel.com) ([10.12.217.183]) by fmsmga007.fm.intel.com with ESMTP; 22 Aug 2018 03:54:35 -0700 From: Andrei Otcheretianski To: hostap@lists.infradead.org Subject: [PATCH 6/6] tests: Remove test_rrm_beacon_req_table_rsne Date: Wed, 22 Aug 2018 17:50:09 +0300 Message-Id: <1534949409-29505-1-git-send-email-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180822_035602_333710_90BED52E X-CRM114-Status: GOOD ( 10.14 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 2.4 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours after Received: date -0.0 SPF_PASS SPF: sender matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [134.134.136.126 listed in list.dnswl.org] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrei Otcheretianski MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This test isn't relevant anymore as beacon report fragmentation is supported. Signed-off-by: Andrei Otcheretianski --- tests/hwsim/test_rrm.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 611b444..41cd2e8 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -1174,30 +1174,6 @@ def test_rrm_beacon_req_table_truncated_subelem(dev, apdev): raise Exception("Unexpected beacon report response (truncated subelement)") hapd.dump_monitor() -@remote_compatible -def test_rrm_beacon_req_table_rsne(dev, apdev): - """Beacon request - beacon table mode - RSNE truncation""" - params = hostapd.wpa2_params(ssid="rrm-rsn", passphrase="12345678") - params["rrm_beacon_report"] = "1" - hapd = hostapd.add_ap(apdev[0], params) - - dev[0].connect("rrm-rsn", psk="12345678", scan_freq="2412") - addr = dev[0].own_addr() - - token = run_req_beacon(hapd, addr, "51000000000002ffffffffffff" + "020101" + "0a0130") - ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10) - if ev is None: - raise Exception("Beacon report response not received") - fields = ev.split(' ') - report = BeaconReport(binascii.unhexlify(fields[4])) - logger.info("Received beacon report: " + str(report)) - if not report.frame_body: - raise Exception("Reported Frame Body subelement missing") - if len(report.frame_body) != 12 + 6: - raise Exception("Unexpected Reported Frame Body subelement length with Reporting Detail 1 and requested element RSNE") - if binascii.unhexlify("30040100000f") not in report.frame_body: - raise Exception("Truncated RSNE not found") - def test_rrm_beacon_req_table_vht(dev, apdev): """Beacon request - beacon table mode - VHT""" clear_scan_cache(apdev[0])