Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp820387pxb; Wed, 25 Aug 2021 16:25:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh2N2KSNaXnW69MfTMTqmwjQD0altPYe1ekNe1IvZE/r52HVpgzISAOUDjb7bk/ibzi0Om X-Received: by 2002:a17:906:aada:: with SMTP id kt26mr1144805ejb.199.1629933934056; Wed, 25 Aug 2021 16:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629933934; cv=none; d=google.com; s=arc-20160816; b=RAAdJLuCgY2z3/1Ar67tKt2NbU+qaHoxZ+GRaihwTfEgzjm3Uws2AgJcx8t+LOAXtp xxyk5gXbVZrWmzQl5OCgxriX1/I5C/SnaALZapIb7ncx2Gd8UZOqzx/cH6nt+a8uCm1G M6Pce5U4tyUOW/z98ZwQ2fhYXWm/N3/iXSLtK0p6uGhOVZUnloLFxrJEOAimbavHywCM esKoF8Pdlu11Cra0XlTrQt+0+A4yIJCSijLP7Fec6igmg6xnABIzZc1+gw9wbcrQvVRK yoN7sGpvrtpwSSFmGtQH0EL2Sj8kVkO2VClq8BkWrurHZ1BoghDWvYYD7CT3HVx/y5i0 wnKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ohnyH/sYJ4RhitC7WS5XOqlr5Fq+L2Nsz7HS2qyXv2Y=; b=f05O0EP2gEhDqHRJ3IDrXzhuRIrNbk5tPKFs4sH6PxXReyNc+Y0ifepAHEjn/I6qGQ 5T0XXuT/QKXJavZC7PWv829teNAKn6fxl+ZS578LbewhDk7lNCrzkBa5mHwurKDe1keI Tfd2jObI9OfqATvSGVqatQbIQsS0fHlPdfXtiwavhZf6ODeU9zs791Vz9Prxv2WB9QmL //JNYMomP0iPVWFWyIXlc3tvupboHLJt02HEbJirtme0TV3JXdeJr/dC/ckA+gcXtRQB EwomiQ2PSm5VHgwjnkLKzWLofFpzPFPOWqQgYIr9J34rDZbm2PjBnVgyx9nJDXa7wLJZ WxaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fFTMTLVa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lv19si1175430ejb.445.2021.08.25.16.25.04; Wed, 25 Aug 2021 16:25:34 -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=@gmail.com header.s=20161025 header.b=fFTMTLVa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233361AbhHYXZa (ORCPT + 99 others); Wed, 25 Aug 2021 19:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233291AbhHYXZa (ORCPT ); Wed, 25 Aug 2021 19:25:30 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 773CBC061757 for ; Wed, 25 Aug 2021 16:24:43 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id j4so2366754lfg.9 for ; Wed, 25 Aug 2021 16:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ohnyH/sYJ4RhitC7WS5XOqlr5Fq+L2Nsz7HS2qyXv2Y=; b=fFTMTLVaSYyrU35PgaGSgyyOg1shsRQ+Vfs/Ao7B4oHszJKMa7Zb9cRkHJZH29RFgO q9xVAdKnNr+tuNBJ+fYIGc5UOMoTpdrKSiE+v4QqVwEA9KVFSiD69ThhdrTIkdUfILiM AcBYL50IBx3zgSyuh5EEkh6mn4UzaT1Xyx1SZuv8uG2LQsa6bKGXAv1Bijq4BfbNMyEb 9emQnQH9e0/+9TAhi//CJOgs0TLz7sPAKIVbnTG5ymqKpeG+A3mNyGTrCOURPbGI5Peb tCoC3ri3zUPvFid8hu/lauw5jj4o4pvzWQX3bhFIc/V8fNmOhdntAl/xQzYpAKZ0gkyh dUug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ohnyH/sYJ4RhitC7WS5XOqlr5Fq+L2Nsz7HS2qyXv2Y=; b=VXbv6i5oJYi8QWZUMGg1AkkXLP+P3XiHw+tbxQDXDPa1Cu6pR1uJpw5zgxfZj/uDf6 t9Xp7PsaMluTABfjth1ro4PPiJvrWN0IM/IHEoBEc/NIA7m4nSaw9fOEHXgMfevxIfO1 88Ik/vkhnRR6kFe5RlXEtCaWWgDBgPFxvrE1rdstecFzyR/ENm5rTsJbdJjNzsa6iKOR 1HT+IYonmaJlED3ukecqWXvlJ+H/b6u9aUrasNi3JOCc+Afwh5rAMejFOTB73wdu0Kbx F/9pD9fN/q9L2HYn24oTw2fI2q6dMhgr62FuX1O6BWieJvuB1uXzN3j7TX+iiZXuBudj 6gCQ== X-Gm-Message-State: AOAM533ZHI1JdhHkvN/RjUK2JO0jH3f5KzZBxnE9RX7MR8+7zVJQWZr/ gtBkWs+JDbZmg0zwuDP9N6ms+4ybfT43a23yN/8= X-Received: by 2002:a05:6512:3d15:: with SMTP id d21mr431412lfv.474.1629933881878; Wed, 25 Aug 2021 16:24:41 -0700 (PDT) MIME-Version: 1.0 References: <51ddd9063eddbd5ffb880728f610fba95428a313.1629925713.git.ryder.lee@mediatek.com> In-Reply-To: <51ddd9063eddbd5ffb880728f610fba95428a313.1629925713.git.ryder.lee@mediatek.com> From: Julian Calaby Date: Thu, 26 Aug 2021 09:24:30 +1000 Message-ID: Subject: Re: [PATCH v3] mt76: mt7915: introduce mt7915_mcu_beacon_check_caps() To: Ryder Lee Cc: Felix Fietkau , Lorenzo Bianconi , Shayne Chen , Evelyn Tsai , linux-wireless , linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Ryder, On Thu, Aug 26, 2021 at 7:22 AM Ryder Lee wrote: > > Beacon elements might be changed by hostapd configuraion, so driver > should compare both IEs and PHY capabilities to get the least common > denominator before association. > > Co-developed-by: Evelyn Tsai > Signed-off-by: Evelyn Tsai > Signed-off-by: Ryder Lee > --- > v3 - rebase and rework LDPC part. > v2 - clean up codes. > --- > .../net/wireless/mediatek/mt76/mt7915/mcu.c | 164 +++++++++++++----- > .../wireless/mediatek/mt76/mt7915/mt7915.h | 12 ++ > 2 files changed, 137 insertions(+), 39 deletions(-) > > diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h > index ab8fc27646e0..640e0f06bb97 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h > +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h > @@ -83,12 +83,24 @@ struct mt7915_sta { > struct mt7915_sta_key_conf bip; > }; > > ++struct mt7915_vif_cap { Extra +? Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/