Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5339204rwb; Tue, 17 Jan 2023 12:20:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXu3CSXhgWURDpamnrj9YqazkugRo80CZSi+/PvXyvUp8I8g7tWjoExFTD+ddlJoRGjrGK3J X-Received: by 2002:a05:6402:3986:b0:49d:5c6:3e5f with SMTP id fk6-20020a056402398600b0049d05c63e5fmr4773281edb.41.1673986803410; Tue, 17 Jan 2023 12:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673986803; cv=none; d=google.com; s=arc-20160816; b=LquUG86bDDRPsX4FhmAAQYbHMn56qNIlSjFYkF25/GUP3YPDzraBB/s4rxZsEE6tAW 4ab0DQHvE2GIn6vcMcTFpLVRsvLwqrSFz3I8phsc5tOzQ4jXkdr+c74VqqyxOX6xoIjl I8d5UrzrhF/8fhYMzQYHyyTFArTTxxpBNA34UWUO8hMrJLDm+EZFRXNj1s0u9eCdvFOy T45wRpxQeDc0AwJ4GWLIRfbsQ9tOO3iPF0K3sR2LLhIz/DskEPVsR/rh65C0HrTAku47 ra6r/1bdZ/hfym9DaMX1F8VkJ6us7hXLPz4xMZpDLg+vyCZ0jsBsKhYhHMlZkdukAuYW 7I4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=MpsO+POA9H7W62udMYHKZqv0nL/aJQ/9aqwMH3QSJQo=; b=rHoxGKxAd5ALag0V/FpkTZGXOiruEDsHs+4Hr/LcsiGEZcw7WRNouZgTvFnXyfCjY3 /2BnBy1Ftfsip67xE9jg0YOlpWUWcTG/tMTdUtRaNI1AOGdU/4WqgMUX8j5wyO4YYYqr B+yGLAVN2DGKPEN6JMwMUmvBcuwD6JFSSltQiQNsvmIs2Q+ETF1pxp0rfbZEMfCx0AdK F9hWEZkbUkaagLuUakslmc4xmaCbgPSoEyj2qkNS20rPQHfJ9MOBHsen81vda3KpOZrb gfaVDC1M7GyVFg7UJXt5f/vkZ537wRbsyJj6C1OplDKnt+GF9pIsMEdnX+uQIfoS4VHP mAOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BgpbT1sj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm25-20020a0564020c9900b0049b5d6f6711si8441756edb.255.2023.01.17.12.19.38; Tue, 17 Jan 2023 12:20:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BgpbT1sj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232550AbjAQURB (ORCPT + 63 others); Tue, 17 Jan 2023 15:17:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234766AbjAQUOD (ORCPT ); Tue, 17 Jan 2023 15:14:03 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97049CDD1 for ; Tue, 17 Jan 2023 11:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673982365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MpsO+POA9H7W62udMYHKZqv0nL/aJQ/9aqwMH3QSJQo=; b=BgpbT1sjY3inCEEuQvJ+659JPr/sMYfuo453X8L7f+ghlqBa/Y//0h1Qa6yV68xjXMBypw hhVCPMOWDaA4O6Uwo6qIhfQ5YYrfK5zXUY781rXnQ3iHhT4ZywJRpMMzMXozzkyuw7ZV8m TlG4va2V+x9/W5EykNWZSzriM3YiemA= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-448-1fxyaWpqOuWDTz3jLaNqEA-1; Tue, 17 Jan 2023 14:06:01 -0500 X-MC-Unique: 1fxyaWpqOuWDTz3jLaNqEA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6CE691C189A5; Tue, 17 Jan 2023 19:06:00 +0000 (UTC) Received: from localhost.localdomain (ovpn-0-29.rdu2.redhat.com [10.22.0.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id F3373492B00; Tue, 17 Jan 2023 19:05:58 +0000 (UTC) Message-ID: Subject: Re: [PATCH v3 4/4] wifi: libertas: add support for WPS enrollee IE in probe requests From: Dan Williams To: Doug Brown , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Simon Horman , libertas-dev@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Date: Tue, 17 Jan 2023 13:05:58 -0600 In-Reply-To: <20230116202126.50400-5-doug@schmorgal.com> References: <20230116202126.50400-1-doug@schmorgal.com> <20230116202126.50400-5-doug@schmorgal.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.3 (3.46.3-1.fc37) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gTW9uLCAyMDIzLTAxLTE2IGF0IDEyOjIxIC0wODAwLCBEb3VnIEJyb3duIHdyb3RlOgo+IEFk ZCBjb21wYXRpYmlsaXR5IHdpdGggV1BTIGJ5IHBhc3Npbmcgb24gV1BTIGVucm9sbGVlIGluZm9y bWF0aW9uIGluCj4gcHJvYmUgcmVxdWVzdHMuIElnbm9yZSBvdGhlciBJRXMgc3VwcGxpZWQgaW4g dGhlIHNjYW4gcmVxdWVzdC4gVGhpcwo+IGFsc28KPiBoYXMgdGhlIGFkZGVkIGJlbmVmaXQgb2Yg cmVzdG9yaW5nIGNvbXBhdGliaWxpdHkgd2l0aCBuZXdlcgo+IHdwYV9zdXBwbGljYW50IHZlcnNp b25zIHRoYXQgYWx3YXlzIGFkZCBzY2FuIElFcy4gUHJldmlvdXNseSwgd2l0aAo+IG1heF9zY2Fu X2llX2xlbiBzZXQgdG8gMCwgc2NhbnMgd291bGQgYWx3YXlzIGZhaWwuCj4gCj4gU3VnZ2VzdGVk LWJ5OiBEYW4gV2lsbGlhbXMgPGRjYndAcmVkaGF0LmNvbT4KPiBTaWduZWQtb2ZmLWJ5Oi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