* [patch 1/5] Add draft IEEE 802.11n data structures and constants
@ 2007-03-26 11:36 mohamed
[not found] ` <b3153e950704031518v11971e20nab4879da9629a475@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: mohamed @ 2007-03-26 11:36 UTC (permalink / raw)
To: linux-wireless; +Cc: linville
Add draft IEEE 802.11n data structures and constants to ieee80211.h
Several information element were added to support 80211n capabilities.
This patch adds all data structures related to these information
element.
Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
diff -Nupr wireless-dev/include/linux/ieee80211.h
wireless-dev-new/include/linux/ieee80211.h
--- wireless-dev/include/linux/ieee80211.h 2007-03-23 13:07:38.000000000
-0700
+++ wireless-dev-new/include/linux/ieee80211.h 2007-03-23
12:35:07.000000000 -0700
@@ -105,6 +105,23 @@ struct ieee80211_hdr {
} __attribute__ ((packed));
+struct ieee80211_ht_capability {
+ __le16 capabilitiesInfo;
+ u8 mac_ht_params_info;
+ u8 supported_mcs_set[16];
+ __le16 extended_ht_capability_info;
+ __le32 tx_BF_capability_info;
+ u8 antenna_selection_info;
+}__attribute__ ((packed));
+
+struct ieee80211_ht_additional_info {
+ u8 control_chan;
+ u8 ht_param;
+ __le16 operation_mode;
+ __le16 stbc_param;
+ u8 basic_set[16];
+}__attribute__ ((packed));
+
struct ieee80211_mgmt {
__le16 frame_control;
__le16 duration;
@@ -319,6 +336,9 @@ enum ieee80211_eid {
/* 802.11g */
WLAN_EID_ERP_INFO = 42,
WLAN_EID_EXT_SUPP_RATES = 50,
+ /* 802.11n */
+ WLAN_EID_HT_CAPABILITY = 45,
+ WLAN_EID_HT_EXTRA_INFO = 61,
/* 802.11i */
WLAN_EID_RSN = 48,
WLAN_EID_WPA = 221,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/5] Add draft IEEE 802.11n data structures and constants
[not found] ` <b3153e950704031518v11971e20nab4879da9629a475@mail.gmail.com>
@ 2007-04-04 10:37 ` mabbas
0 siblings, 0 replies; 2+ messages in thread
From: mabbas @ 2007-04-04 10:37 UTC (permalink / raw)
To: linux-wireless, linville; +Cc: mabbas
modified patch at the end
Add draft IEEE 802.11n data structures and constants to ieee80211.h
Several information element were added to support 80211n capabilities.
This patch adds all data structures related to these information element.
Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index ae19306..6bf824b 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -106,6 +106,23 @@ struct ieee80211_hdr {
} __attribute__ ((packed));
+struct ieee80211_ht_capability {
+ __le16 capabilities_info;
+ u8 mac_ht_params_info;
+ u8 supported_mcs_set[16];
+ __le16 extended_ht_capability_info;
+ __le32 tx_BF_capability_info;
+ u8 antenna_selection_info;
+}__attribute__ ((packed));
+
+struct ieee80211_ht_additional_info {
+ u8 control_chan;
+ u8 ht_param;
+ __le16 operation_mode;
+ __le16 stbc_param;
+ u8 basic_set[16];
+}__attribute__ ((packed));
+
struct ieee80211_mgmt {
__le16 frame_control;
__le16 duration;
@@ -321,6 +338,9 @@ enum ieee80211_eid {
/* 802.11g */
WLAN_EID_ERP_INFO = 42,
WLAN_EID_EXT_SUPP_RATES = 50,
+ /* 802.11n */
+ WLAN_EID_HT_CAPABILITY = 45,
+ WLAN_EID_HT_EXTRA_INFO = 61,
/* 802.11i */
WLAN_EID_RSN = 48,
WLAN_EID_WPA = 221,
@@ -329,6 +349,9 @@ enum ieee80211_eid {
WLAN_EID_QOS_PARAMETER = 222
};
+/* 80211n */
+#define IEEE80211_QOS_CONTROL_A_MSDU_PRESENT 0x0080
+
/* cipher suite selectors */
#define WLAN_CIPHER_SUITE_USE_GROUP 0x000FAC00
#define WLAN_CIPHER_SUITE_WEP40 0x000FAC01
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-03 22:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 11:36 [patch 1/5] Add draft IEEE 802.11n data structures and constants mohamed
[not found] ` <b3153e950704031518v11971e20nab4879da9629a475@mail.gmail.com>
2007-04-04 10:37 ` mabbas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).