From patchwork Wed Feb 10 16:31:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 8273251 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 43C309F6DA for ; Wed, 10 Feb 2016 16:31:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7057C2037E for ; Wed, 10 Feb 2016 16:31:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89A8E201B4 for ; Wed, 10 Feb 2016 16:31:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbcBJQbY (ORCPT ); Wed, 10 Feb 2016 11:31:24 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:32863 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbcBJQbV (ORCPT ); Wed, 10 Feb 2016 11:31:21 -0500 Received: by mail-wm0-f46.google.com with SMTP id g62so34403017wme.0 for ; Wed, 10 Feb 2016 08:31:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fDeEHB4nu77ftF/Zk1hQli63O1EZUqcJIcz4p0UvEvc=; b=Za6/1HrU5QCELD/iny3TvoJB/ri4VkM2M/N8gUKMhsj+6nnKou0hSSwnWcGFN0AFA+ bew1iDXWbyK9AnQ4K15O2LtCivCZMQu8ZxBMU/pW0C6u6bX0b8yq9Z7nzX8f7DkCEptm SszAyFIkv7mzHimLDB0ic0sifqPSRmMdoDhkD7DAFyTwzXWRj0bV1K011TLrY4ckBxX9 dPeq9R4eAPYld8Y8xvmUOZhd6EovyqPt+p043/qjVwi912IuRrk8DMnGF5RqRvRxA742 J5yxbSt6uEAzYbg47s8rux5JH7mdpfI7UfitoWHmwlQDGWoAHRcEVUtgCDhBOtTNHlpL WFmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fDeEHB4nu77ftF/Zk1hQli63O1EZUqcJIcz4p0UvEvc=; b=ERT65+TXZiDvmBwxzDxzhEY4weT0toJOV7d6z3h9ecTqfmC4hC9hVfayNkzfc2M9ud TsmGPqYNb84Ni1R3ebaXZm16cZre68QmcKR4CZ7Xvqo0j4UlBpCH9bfIBvIQ0qYpBnmp 61JJSYc97natHpOjYsNXNEBX2PMHIaxM4d6ebgqNGe/nMWQIQaGsvpBZHO5SvfUbj34q uQ+t2SQdJLDKBkphr10ehu+twoIiPvQDJCzlG/3ez0IHSjJdO1iUM8rWUHOcmURRjWbt MLiaaIm6ekpNB8YfvEACymxFo/waHWsF1Xro64oVR7eE0LzmlGastNfgFZqV7bpeBKNG rPqw== X-Gm-Message-State: AG10YORUN9KIVIQKsqk8szBC2t+7M0uzoB3PLO5gdb9Sj+UM46zepOvQaDd+pMLogvqGtQ== X-Received: by 10.194.91.233 with SMTP id ch9mr26162427wjb.121.1455121880406; Wed, 10 Feb 2016 08:31:20 -0800 (PST) Received: from localhost.localdomain (net-188-152-170-117.cust.vodafonedsl.it. [188.152.170.117]) by smtp.gmail.com with ESMTPSA id h132sm4107078wmf.9.2016.02.10.08.31.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 08:31:19 -0800 (PST) From: Lorenzo Bianconi To: linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: [RFC 1/2] cfg80211: add radiotap VHT info to rtap_namespace_sizes Date: Wed, 10 Feb 2016 17:31:16 +0100 Message-Id: <1455121877-7238-2-git-send-email-lorenzo.bianconi83@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455121877-7238-1-git-send-email-lorenzo.bianconi83@gmail.com> References: <1455121877-7238-1-git-send-email-lorenzo.bianconi83@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add IEEE80211_RADIOTAP_VHT entry to rtap_namespace_sizes array in order to define alignment and size of VHT info in tx radiotap Signed-off-by: Lorenzo Bianconi --- net/wireless/radiotap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless/radiotap.c b/net/wireless/radiotap.c index 722da61..6582d15 100644 --- a/net/wireless/radiotap.c +++ b/net/wireless/radiotap.c @@ -43,6 +43,7 @@ static const struct radiotap_align_size rtap_namespace_sizes[] = { [IEEE80211_RADIOTAP_DATA_RETRIES] = { .align = 1, .size = 1, }, [IEEE80211_RADIOTAP_MCS] = { .align = 1, .size = 3, }, [IEEE80211_RADIOTAP_AMPDU_STATUS] = { .align = 4, .size = 8, }, + [IEEE80211_RADIOTAP_VHT] = { .align = 2, .size = 12, }, /* * add more here as they are defined in radiotap.h */