From patchwork Fri Feb 19 10:43:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 8359371 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C0890C0553 for ; Fri, 19 Feb 2016 10:43:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8353203E9 for ; Fri, 19 Feb 2016 10:43:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED714203B5 for ; Fri, 19 Feb 2016 10:43:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992796AbcBSKnY (ORCPT ); Fri, 19 Feb 2016 05:43:24 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33245 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992784AbcBSKnL (ORCPT ); Fri, 19 Feb 2016 05:43:11 -0500 Received: by mail-wm0-f68.google.com with SMTP id c200so7295418wme.0 for ; Fri, 19 Feb 2016 02:43:09 -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=ilephEgMiufaqrIbLewxrFwZV8yvP0kVBIliSmwEf7GW16VKoyYppFByfzd77tHTwf lLD3rOtehgpSCJU6TYRi74PaErq4lPnhMjp+/k0ddAbvOrueiQ0JygyIjJQfF0ZvMm8F EJ/YQACbU8wIUprrqQqKyDx/UnKM7qneVWQPj1sLeYcX7FBn5HvCYBqrlqY7TZImuM4V nfFDVY/pQCKOqBH6hRaDgJFQec5ys2LxPicX9+zrj2q0LAwZp0tmi8WJ9Q05NYHUUNn2 uB05rKhQSFMvTwOwUxOvDQ77gkSsVxJucrfA1KSzr9Y2dGj+ywr+7MVlVD+egrAwFP9Z QZ1A== 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=gF9diAyb1txMmv4fgu/cr/DFl+KnYOVWB6qUlkEIEbJdETy7INTJclJwTzg3eLD2/D K9bq0oIFhLipOa1fzZCu5y8/VNKdUkr2OqVHz4ji3j2fbVXwa+oJ+r4eWGsFr7apyI80 Fprz7FpkFx8PxKs15lAbVsP+wV+56XoH+HkZu4JcRt7ib5ItUofNpU+X+fzQIIgcn5x3 4RPv+CZoCI50CZTNKCTp7ITj7bt3QwX4HMoEOqDTu3tRW+msS6kcnORxnF4AIulyfFpw 3Ja8zbjwwBsaXWwunFf6mpn3a0AGIWAimef/eV59DwMDCzedp+ANsBLYNDEwg/7oueyR cAEQ== X-Gm-Message-State: AG10YOSggEGjxBrUaJf1/WrEvXjNRUR6DpyZKkdvrvte9Q1wL/7U3NZBCh/rRMpnz7tU6Q== X-Received: by 10.194.58.47 with SMTP id n15mr12516624wjq.155.1455878589382; Fri, 19 Feb 2016 02:43:09 -0800 (PST) Received: from localhost.localdomain (net-188-152-170-117.cust.dsl.teletu.it. [188.152.170.117]) by smtp.gmail.com with ESMTPSA id ei9sm10607100wjd.40.2016.02.19.02.43.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Feb 2016 02:43:08 -0800 (PST) From: Lorenzo Bianconi To: linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: [PATCH v2 1/2] cfg80211: add radiotap VHT info to rtap_namespace_sizes Date: Fri, 19 Feb 2016 11:43:04 +0100 Message-Id: <1455878585-5525-2-git-send-email-lorenzo.bianconi83@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455878585-5525-1-git-send-email-lorenzo.bianconi83@gmail.com> References: <1455878585-5525-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=-6.8 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 */