]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/ieee80211.h
iommu sg: add IOMMU helper functions for the free area management
[mv-sheeva.git] / include / linux / ieee80211.h
index 4d5a4c9dcba7ee1f02571a10db37a781857cdff9..f577c8f1c66d999bda0a1338b2170058ed7c0956 100644 (file)
@@ -237,8 +237,8 @@ struct ieee80211_bar {
        __le16 duration;
        __u8 ra[6];
        __u8 ta[6];
-       __u16 control;
-       __u16 start_seq_num;
+       __le16 control;
+       __le16 start_seq_num;
 } __attribute__((packed));
 
 /**
@@ -287,6 +287,12 @@ struct ieee80211_ht_addt_info {
 #define IEEE80211_HT_IE_NON_GF_STA_PRSNT       0x0004
 #define IEEE80211_HT_IE_NON_HT_STA_PRSNT       0x0010
 
+/* MIMO Power Save Modes */
+#define WLAN_HT_CAP_MIMO_PS_STATIC         0
+#define WLAN_HT_CAP_MIMO_PS_DYNAMIC        1
+#define WLAN_HT_CAP_MIMO_PS_INVALID        2
+#define WLAN_HT_CAP_MIMO_PS_DISABLED       3
+
 /* Authentication algorithms */
 #define WLAN_AUTH_OPEN 0
 #define WLAN_AUTH_SHARED_KEY 1