public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@iki.fi>
To: linville@tuxdriver.com
Cc: linux-wireless@vger.kernel.org, johannes@sipsolutions.net,
	a.young.jason@gmail.com
Subject: [PATCH PATCH v6 5/7] ieee80211: add struct ieee80211_hdr_qos
Date: Tue, 12 Jan 2010 10:43:00 +0200	[thread overview]
Message-ID: <20100112084300.27492.72358.stgit@tikku> (raw)
In-Reply-To: <20100112084059.27492.86738.stgit@tikku>

From: Kalle Valo <kalle.valo@nokia.com>

The header can be used to create qos nullfunc frames, for example.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
---
 include/linux/ieee80211.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index b2b41f8..a602704 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -148,6 +148,16 @@ struct ieee80211_hdr {
 	u8 addr4[6];
 } __attribute__ ((packed));
 
+struct ieee80211_qos_hdr {
+	__le16 frame_control;
+	__le16 duration_id;
+	u8 addr1[6];
+	u8 addr2[6];
+	u8 addr3[6];
+	__le16 seq_ctrl;
+	__le16 qos_ctrl;
+} __attribute__ ((packed));
+
 /**
  * ieee80211_has_tods - check if IEEE80211_FCTL_TODS is set
  * @fc: frame control bytes in little-endian byteorder


  parent reply	other threads:[~2010-01-12  8:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  8:42 [PATCH PATCH v6 0/7] mac80211 client U-APSD support Kalle Valo
2010-01-12  8:42 ` [PATCH PATCH v6 1/7] mac80211: add U-APSD client support Kalle Valo
2010-01-12 10:31   ` Johannes Berg
2010-01-12 11:14     ` Kalle Valo
2010-01-13 14:50       ` Kalle Valo
2010-01-12  8:42 ` [PATCH PATCH v6 2/7] mac80211: add debugfs interface for U-APSD queue configuration Kalle Valo
2010-01-12  8:42 ` [PATCH PATCH v6 3/7] mac80211: create tx handler for dynamic ps Kalle Valo
2010-01-12  8:42 ` [PATCH PATCH v6 4/7] mac80211: check uapsd state for dynamic power save Kalle Valo
2010-01-12  8:43 ` Kalle Valo [this message]
2010-01-12  8:43 ` [PATCH PATCH v6 6/7] wl1251: create qos null data template Kalle Valo
2010-01-12  8:43 ` [PATCH PATCH v6 7/7] wl1251: add U-APSD support Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100112084300.27492.72358.stgit@tikku \
    --to=kalle.valo@iki.fi \
    --cc=a.young.jason@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox