]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/localpara.h
Staging: go7007: add sensoray 2250/2251 support
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / localpara.h
index 268cf916ab483943a7a0a77e0d2544683bb5b906..607bb0526cf8a200bb344799200badf7587e9716 100644 (file)
@@ -1,6 +1,12 @@
+#ifndef __WINBOND_LOCALPARA_H
+#define __WINBOND_LOCALPARA_H
+
 //=============================================================
 // LocalPara.h -
 //=============================================================
+
+#include "mac_structures.h"
+
 //Define the local ability
 
 #define LOCAL_DEFAULT_BEACON_PERIOD                    100             //ms
@@ -25,7 +31,7 @@
 #define LOCAL_UNKNOWN_5_CHANNEL_NUM                    34      //not include 165
 
 
-#define psLOCAL                        (&(Adapter->sLocalPara))
+#define psLOCAL                        (&(adapter->sLocalPara))
 
 #define MODE_802_11_BG                 0
 #define MODE_802_11_A                  1
@@ -143,7 +149,6 @@ typedef struct LOCAL_PARA
 
     //// power-save variables
     u8                         iPowerSaveMode;     // 0 indicates it is on, 1 indicates it is off
-       u8                      ShutDowned;
        u8                      ATIMmode;
        u8                      ExcludeUnencrypted;
 
@@ -272,4 +277,4 @@ typedef struct LOCAL_PARA
 
 } WB_LOCALDESCRIPT, *PWB_LOCALDESCRIPT;
 
-
+#endif