}__attribute__ ((packed));
struct wme_ac_parameter {
-#if defined(CONFIG_LITTLE_ENDIAN)
+#if defined(__LITTLE_ENDIAN)
/* byte 1 */
u8 aifsn:4,
acm:1,
/* byte 2 */
u8 eCWmin:4,
eCWmax:4;
-#elif defined(CONFIG_BIG_ENDIAN)
+#elif defined(__BIG_ENDIAN)
/* byte 1 */
u8 reserved:1,
aci:2,
} __attribute__ ((packed));
+
#define WPA_PUT_LE16(a, val) \
do { \
(a)[1] = ((u16) (val)) >> 8; \
WLAN_BACK_TIMER = 2,
};
+
struct ieee80211_mgmt {
u16 frame_control;
u16 duration;
u8 status_code;
u8 variable[0];
} __attribute__ ((packed)) wme_action;
+#if 0
+ struct{
+ u8 action_code;
+ u8 element_id;
+ u8 length;
+ struct ieee80211_channel_sw_ie sw_elem;
+ } __attribute__ ((packed)) chan_switch;
+ struct{
+ u8 action_code;
+ u8 dialog_token;
+ u8 element_id;
+ u8 length;
+ struct ieee80211_msrment_ie msr_elem;
+ } __attribute__ ((packed)) measurement;
+#endif
struct{
u8 action_code;
u8 dialog_token;
} __attribute__ ((packed)) u;
}__attribute__ ((packed));
-
-
/* mgmt header + 1 byte category code */
#define IEEE80211_MIN_ACTION_SIZE FIELD_OFFSET(struct ieee80211_mgmt, u.action.u)
+
+
#endif