From patchwork Wed Feb 24 15:25:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 8409001 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 B7278C0553 for ; Wed, 24 Feb 2016 15:26:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE45C2010C for ; Wed, 24 Feb 2016 15:26:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8DE2220266 for ; Wed, 24 Feb 2016 15:26:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753737AbcBXP0g (ORCPT ); Wed, 24 Feb 2016 10:26:36 -0500 Received: from narfation.org ([79.140.41.39]:41111 "EHLO v3-1039.vlinux.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbcBXP0g (ORCPT ); Wed, 24 Feb 2016 10:26:36 -0500 Received: from sven-desktop.home.narfation.org (x5d84b878.dyn.telefonica.de [93.132.184.120]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 9DBD11100E6; Wed, 24 Feb 2016 16:26:33 +0100 (CET) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=20121; t=1456327593; bh=NuD4vCITcQ9sFi6Wm3Wv3bkyaP08e1zPn3ujiVtBNUI=; h=From:To:Cc:Subject:Date:From; b=wcnOITgPVj/7+zBbQZ3H1onDDRy/TesJmzLusLHNkLwYhJEPCiyD6tcTnUSp5OL1y 3vt+wU+2RuFknBgbLxeEkM+b/Al+7aa1Gb7SWU23ixsDoCnqqhUUVoyWjP9r5msBVb 8FyiUWwiNYnKz3Q2oCD5T9ySGg4C/JVcXg3XzEVM= From: Sven Eckelmann To: linux-wireless Cc: Lorenzo Bianconi , Johannes Berg , Sven Eckelmann Subject: [PATCH 1/2] mac80211: document only injected *_RADIOTAP_* flags Date: Wed, 24 Feb 2016 16:25:48 +0100 Message-Id: <1456327549-31765-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 2.7.0 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.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED, 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 Not the internal flags but the radiotap flags are parsed when the monitor injected frames are prepared for transmission. Thus the documentation should only document these. Reported-by: Lorenzo Bianconi Reported-by: Johannes Berg Fixes: 5ec3aed9ba4c ("mac80211: Parse legacy and HT rate in injected frames") Signed-off-by: Sven Eckelmann --- Documentation/networking/mac80211-injection.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/mac80211-injection.txt b/Documentation/networking/mac80211-injection.txt index ec8f934..0a459e4 100644 --- a/Documentation/networking/mac80211-injection.txt +++ b/Documentation/networking/mac80211-injection.txt @@ -37,8 +37,8 @@ radiotap headers and used to control injection: HT rate for the transmission (only for devices without own rate control). Also some flags are parsed - IEEE80211_TX_RC_SHORT_GI: use short guard interval - IEEE80211_TX_RC_40_MHZ_WIDTH: send in HT40 mode + IEEE80211_RADIOTAP_MCS_SGI: use short guard interval + IEEE80211_RADIOTAP_MCS_BW_40: send in HT40 mode * IEEE80211_RADIOTAP_DATA_RETRIES