Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1845400ybl; Sat, 1 Feb 2020 07:34:34 -0800 (PST) X-Google-Smtp-Source: APXvYqyIOOgBDg0ay/Ceqv2/LDGQKKMAn5kt5c4ooYm1RSWMFqj2eCvmkuqfeNtyc4Ui4ICVcTGz X-Received: by 2002:a05:6830:1651:: with SMTP id h17mr10956980otr.167.1580571274498; Sat, 01 Feb 2020 07:34:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580571274; cv=none; d=google.com; s=arc-20160816; b=Ml4y6x5Vrr/ooW8SvNGkeNQA249jXqwtlZTeE5sAaS2MtKkZ8pRrO8A6htYmv1J+fe VHvdgDMenvwSDYaAJjRC+g1sbIhmdcNOzGUERnGO+Kp9XZ//m2Zu7cv0PJhRmPTA+lOs oTfGZyxgGEB/FsCQ8ssr3Nlr+ayBgc4UweHiXHDluCyiUORijvROGfC7c4foNViB6wJc 256ehiZp7B031xi38xGPsLZlvfN+AhUe94j68f8rRNe6+IVD9AMNXJRuoAnlTvQx8RKR Pa4myAbRBNfXVhWn6KzLKNfXc4snGXH9MUL87rF1DmfsHGC9VnazDqk6KutRCgOMWcgP pvhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aQbmh620igvV3NDTNU693dnCanRuvWrzmm24DXTcmvA=; b=kuvFhU8DeuwMwMZ+qOnlGu6R7peNWTYtv+ViVICJeIkyDymPg/ryPoAHlMwlX4wcoG ERnkXTAbWONzvX8fP25KOs+KrAR3bjpejHAR3UL/x0oBwua7SppZ0+vHzPF/UrphmTy2 jJcphdtOpDezl5WKWU5HmFiTUWhhwg7J4VeNZxYflMSQUcrwlLga69cFuVO9vK5tdBsQ PItUG6Ut2MmYM0IIei7nbIdX2/mTWEdQs7jHRyS+YRjhEkL9zpZrsUr3OsM8NDGV+gFg tPfTxK1Ti3+SIRlkWIuV2bXI4BD9vWlF07P1gEsmcPEuBy3XD9K2Pm6OL7zTjs6wds3R JqnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=OAYFjyq3; 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=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9si2321354oiw.262.2020.02.01.07.34.16; Sat, 01 Feb 2020 07:34:34 -0800 (PST) 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=@mediatek.com header.s=dk header.b=OAYFjyq3; 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=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727080AbgBAPeH (ORCPT + 99 others); Sat, 1 Feb 2020 10:34:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:47557 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727066AbgBAPeG (ORCPT ); Sat, 1 Feb 2020 10:34:06 -0500 X-UUID: 680e532a0c7f4bf7bab58263dbc06821-20200201 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=aQbmh620igvV3NDTNU693dnCanRuvWrzmm24DXTcmvA=; b=OAYFjyq3ZushwW5Gp/e18wYW1zfPONI6q2WC+dO0vP0/BAS5jVsna0FWU5ig5uaPffOm55vfCRYSvwTuZr1AfPHCqil/vMjAOQjYYj1ZawTFpKJX12CqfTxBb5myhe/RvGnA440lRwurfuNGWV5WQ+oXOo+9PNrtSZedKLiZwRs=; X-UUID: 680e532a0c7f4bf7bab58263dbc06821-20200201 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1424730728; Sat, 01 Feb 2020 23:34:01 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 1 Feb 2020 23:33:02 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 1 Feb 2020 23:31:35 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Roy Luo , Sean Wang , Josh Boyer , , , Ryder Lee Subject: [PATCH v2 5/7] mt76: mt7615: use new tag sta_rec_wtbl Date: Sat, 1 Feb 2020 23:33:50 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 0E33A85B1B71A70A95D4BAA585959583BBE5B8EE23FA693F907B92669DA033332000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org SW4gb3JkZXIgdG8gcmVkdWNlIGNvbW1hbmQvZXZlbnQgdGltZXMsIG5ld2VyIGZpcm13YXJlIGFk ZHMgYSB0YWcNCnN0YV9yZWNfd3RibCB0byB0YWtlIGNhcmUgb2YgV1RCTCBvcGVyYXRpb25zLg0K DQpNQ1VfRVhUX0NNRF9XVEJMX1V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