Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp164208pxv; Wed, 7 Jul 2021 23:15:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaXwPpNqT0749fLTY6BmI/EoJd8WQF/skSyFyJPG/3q96kxA5JX+SAnUDBsvTPkCVshAqv X-Received: by 2002:a92:7d07:: with SMTP id y7mr21092765ilc.68.1625724956459; Wed, 07 Jul 2021 23:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625724956; cv=none; d=google.com; s=arc-20160816; b=Z/XCZis3gqtQ0++0iVYKaDAS6WzuLKg2lJx7epVKVkHxkB5e7etBuzGTHDKFakQc8r yEZWby1Bt8DJu9RaNUWDy+EOAinI8peOREHfgT0Kc+8m/nJloKbjUjYKm93NuPCOsapp Hsqe39Ck+CwBBwcPaV08eeJEdm2ebJ+7HvJ9cSbqj1gYx7u+pPYCZGsNfsWvRkLtXmqM l6zUxoREn3w6ESe45JfNV/YdwoeTs9Hy7XUS41cqcOvckR2gu0kkxBgHH23pQEXYbVH2 7ATNJc7wW/F3/p4KMnkZ9nbBd0MDkADFaqO/eLUMn+c6IVm0C+ba34apCZZVpEaT4y99 hvtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=RDpr6ntUglGbkmdoj5Vw+AU6YP2+5ZVSFjZgAehYXhU=; b=qbfWeT3y3AczbaREa1Oz3MB5i/wzxOSg3YKc7j/yp/r8cHtiKcFdVwIhoMWYwLxWLJ beZYKt+m3v8cD6bOO11hXdMYRP/oQxBDeQihLSrT4Kf0YaA/EN8kH1li+QpJN6CVv7OB 1vySpgF8nX2rSAErCaSzHSv3lhg8djo+1E96oBKn8+NyqvlODhV1kGrZ2xDnSQduoHgV JIt0SZJ4Nqt/7wxolI4rdl5lq9jpBvBjrz9TGb2+o/FPrdJ/QmuQMHn6juzaG+JguS7I EvIItmGOF4qHR0ggyH1EjLzh9uDNJyfZjaPXgb/IkIKv8GAJtM/Qo1ZRnhs8Y6Qa68JS /x4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ruYdacKV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id az23si1317307jab.13.2021.07.07.23.15.12; Wed, 07 Jul 2021 23:15:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ruYdacKV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229654AbhGHGRu (ORCPT + 99 others); Thu, 8 Jul 2021 02:17:50 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:37412 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229608AbhGHGRu (ORCPT ); Thu, 8 Jul 2021 02:17:50 -0400 X-UUID: 15549571d00342beb8b8421c3cc8008c-20210708 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=RDpr6ntUglGbkmdoj5Vw+AU6YP2+5ZVSFjZgAehYXhU=; b=ruYdacKVE2S7RePGOtuVS+QnGu9stWKXV1O3AM+3HhpXF59oQU5E7Gp0VuYo632clb7nf61w7ZQPdF6Nli89dK2nAXhadrdbuezLBHX01iSZgfY0D6Uv7Ht0p0JbQqMqUVpmTymZCXeI+JWBbqTILiec1IITSdPiOD4BFSvts1s=; X-UUID: 15549571d00342beb8b8421c3cc8008c-20210708 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 217964000; Thu, 08 Jul 2021 14:15:05 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Jul 2021 14:15:03 +0800 Received: from mtksdccf07 (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 8 Jul 2021 14:15:03 +0800 Message-ID: <60de68ca4e48d1388a90f0ec59f477a93f01ab3d.camel@mediatek.com> Subject: Re: [PATCH 1/2] mt76: mt7921: fix mgmt frame using unexpected bitrate From: Ryder Lee To: , , CC: , , , , , , , , , , , , , , Date: Thu, 8 Jul 2021 14:15:03 +0800 In-Reply-To: <1625718546-14969-1-git-send-email-sean.wang@mediatek.com> References: <1625718546-14969-1-git-send-email-sean.wang@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gVGh1LCAyMDIxLTA3LTA4IGF0IDEyOjI5ICswODAwLCBzZWFuLndhbmdAbWVkaWF0ZWsuY29t IHdyb3RlOg0KPiBGcm9tOiBTZWFuIFdhbmcgPHNlYW4ud2FuZ0BtZWRpYXRlay5jb20+DQo+IA0K PiBGaXggdGhlIGN1cnJlbnQgZHJpdmVyIG1nbXQ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