Diffstat (limited to 'libopie2/opienet/onetutils.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/onetutils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h index 541c5ab..bddfab9 100644 --- a/libopie2/opienet/onetutils.h +++ b/libopie2/opienet/onetutils.h | |||
@@ -124,8 +124,26 @@ class OPrivateIOCTL : public QObject | |||
124 | void dumpBytes( const unsigned char* data, int num ); | 124 | void dumpBytes( const unsigned char* data, int num ); |
125 | QString modeToString( int ); | 125 | QString modeToString( int ); |
126 | int stringToMode( const QString& ); | 126 | int stringToMode( const QString& ); |
127 | 127 | ||
128 | #define IW_PRIV_TYPE_MASK 0x7000 | ||
129 | #define IW_PRIV_TYPE_NONE 0x0000 | ||
130 | #define IW_PRIV_TYPE_BYTE 0x1000 | ||
131 | #define IW_PRIV_TYPE_CHAR 0x2000 | ||
132 | #define IW_PRIV_TYPE_INT 0x4000 | ||
133 | #define IW_PRIV_TYPE_FLOAT 0x5000 | ||
134 | #define IW_PRIV_TYPE_ADDR 0x6000 | ||
135 | #define IW_PRIV_SIZE_FIXED 0x0800 | ||
136 | #define IW_PRIV_SIZE_MASK 0x07FF | ||
137 | |||
138 | #ifndef ARPHRD_IEEE80211 | ||
139 | #define ARPHRD_IEEE80211 801 | ||
140 | #endif | ||
141 | #ifndef ARPHRD_IEEE80211_PRISM | ||
142 | #define ARPHRD_IEEE80211_PRISM 802 | ||
143 | #endif | ||
144 | |||
145 | |||
128 | /* Network to host order macros */ | 146 | /* Network to host order macros */ |
129 | 147 | ||
130 | #ifdef LBL_ALIGN | 148 | #ifdef LBL_ALIGN |
131 | #define EXTRACT_16BITS(p) \ | 149 | #define EXTRACT_16BITS(p) \ |