aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/wlags-modules/files/includes.patch
blob: 16a5645531e569ff56797e6a33ae8c1892e02bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
I keep all files in a flat directory. This patch changes the #include lines
accordingly.

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- wlags/wl_main.c~includes
+++ wlags/wl_main.c
@@ -79,7 +79,7 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/module.h>
 #include <linux/types.h>
@@ -104,29 +104,29 @@
 #include <linux/if_arp.h>
 #include <linux/ioport.h>
 
-#include <hcf/debug.h>
+#include "debug.h"
 
-#include <hcf.h>
-#include <dhf.h>
-#include <hcfdef.h>
+#include "hcf.h"
+#include "dhf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_netdev.h>
-#include <wireless/wl_wext.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
+#include "wl_main.h"
+#include "wl_netdev.h"
+#include "wl_wext.h"
 
 #ifdef USE_PROFILE
-#include <wireless/wl_profile.h>
+#include "wl_profile.h"
 #endif  /* USE_PROFILE */
 
 #ifdef BUS_PCMCIA
-#include <wireless/wl_cs.h>
+#include "wl_cs.h"
 #endif  /* BUS_PCMCIA */
 
 #ifdef BUS_PCI
-#include <wireless/wl_pci.h>
+#include "wl_pci.h"
 #endif  /* BUS_PCI */
 
 
--- wlags/wl_cs.c~includes
+++ wlags/wl_cs.c
@@ -79,7 +79,7 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -108,18 +108,18 @@
 #include <pcmcia/cisreg.h>
 #include <pcmcia/ciscode.h>
 #include <pcmcia/ds.h>
-#include <hcf/debug.h>
+#include "debug.h"
 
-#include <hcf.h>
-#include <dhf.h>
-#include <hcfdef.h>
+#include "hcf.h"
+#include "dhf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_netdev.h>
-#include <wireless/wl_cs.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
+#include "wl_main.h"
+#include "wl_netdev.h"
+#include "wl_cs.h"
 
 
 
--- wlags/wl_enc.c~includes
+++ wlags/wl_enc.c
@@ -78,12 +78,12 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
-#include <hcf/debug.h>
-#include <hcf.h>
+#include "debug.h"
+#include "hcf.h"
 
-#include <wireless/wl_enc.h>
+#include "wl_enc.h"
 
 
 
--- wlags/wl_netdev.c~includes
+++ wlags/wl_netdev.c
@@ -79,7 +79,7 @@
 /*******************************************************************************
  * include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/module.h>
 #include <linux/types.h>
@@ -104,30 +104,30 @@
 #include <linux/if_arp.h>
 #include <linux/ioport.h>
 
-#include <hcf/debug.h>
+#include "debug.h"
 
-#include <hcf.h>
-#include <dhf.h>
-#include <hcfdef.h>
+#include "hcf.h"
+#include "dhf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_priv.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_netdev.h>
-#include <wireless/wl_wext.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
+#include "wl_priv.h"
+#include "wl_main.h"
+#include "wl_netdev.h"
+#include "wl_wext.h"
 
 #ifdef USE_PROFILE
-#include <wireless/wl_profile.h>
+#include "wl_profile.h"
 #endif  /* USE_PROFILE */
 
 #ifdef BUS_PCMCIA
-#include <wireless/wl_cs.h>
+#include "wl_cs.h"
 #endif  /* BUS_PCMCIA */
 
 #ifdef BUS_PCI
-#include <wireless/wl_pci.h>
+#include "wl_pci.h"
 #endif  /* BUS_PCI */
 
 
--- wlags/wl_priv.c~includes
+++ wlags/wl_priv.c
@@ -78,24 +78,24 @@
 /*******************************************************************************
  * include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/if_arp.h>
 #include <linux/ioport.h>
 #include <linux/delay.h> 
 #include <asm/uaccess.h>
 
-#include <hcf/debug.h>
-#include <hcf.h>
-#include <hcfdef.h>
+#include "debug.h"
+#include "hcf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_enc.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_priv.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_netdev.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_enc.h"
+#include "wl_main.h"
+#include "wl_priv.h"
+#include "wl_util.h"
+#include "wl_netdev.h"
 
 
 
--- wlags/wl_profile.c~includes
+++ wlags/wl_profile.c
@@ -95,23 +95,23 @@
 /*******************************************************************************
  * include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/unistd.h>
 #include <asm/uaccess.h>
 
-#include <hcf/debug.h>
-#include <hcf.h>
-#include <hcfdef.h>
+#include "debug.h"
+#include "hcf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_enc.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_profile.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
+#include "wl_enc.h"
+#include "wl_main.h"
+#include "wl_profile.h"
 
 
 
--- wlags/wl_util.c~includes
+++ wlags/wl_util.c
@@ -78,7 +78,7 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -99,13 +99,13 @@
 #include <linux/if_arp.h>
 #include <linux/ioport.h>
 
-#include <hcf/debug.h>
-#include <hcf.h>
-#include <hcfdef.h>
+#include "debug.h"
+#include "hcf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
 
 
 
--- wlags/wl_wext.c~includes
+++ wlags/wl_wext.c
@@ -74,22 +74,22 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 #include <linux/if_arp.h>
 #include <linux/ioport.h>
 #include <linux/delay.h>
 #include <asm/uaccess.h>
 
-#include <hcf/debug.h>
-#include <hcf.h>
-#include <hcfdef.h>
+#include "debug.h"
+#include "hcf.h"
+#include "hcfdef.h"
 
-#include <wireless/wl_if.h>
-#include <wireless/wl_internal.h>
-#include <wireless/wl_util.h>
-#include <wireless/wl_main.h>
-#include <wireless/wl_wext.h>
+#include "wl_if.h"
+#include "wl_internal.h"
+#include "wl_util.h"
+#include "wl_main.h"
+#include "wl_wext.h"
 
 
 
@@ -212,7 +212,7 @@
             break;
 
 
-	    case SIOCSIWSPY:        // Set the spy list
+	case SIOCSIWSPY:        // Set the spy list
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWNAME\n" );
             ret = wireless_set_spy_addrs( wrq, lp );
@@ -220,7 +220,7 @@
             break;
 
 
-	    case SIOCGIWSPY:        // Get the spy list
+	case SIOCGIWSPY:        // Get the spy list
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWSPY\n" );
             ret = wireless_get_spy_addrs( wrq, lp );
@@ -239,6 +239,7 @@
 
 
 #if (HCF_TYPE) & HCF_TYPE_STA
+
         case SIOCGIWAP:         // Get the MAC Address of current AP
 
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWAP\n" );
@@ -248,7 +249,6 @@
 
 #endif //HCF_STA
 
-
         case SIOCGIWAPLIST:
 
             /* NOTE: SIOCGIWAPLIST has been deprecated by SIOCSIWSCAN/SIOCGIWSCAN.
@@ -267,7 +267,7 @@
             break;
 
 
-	    case SIOCSIWSENS:       // Set the desired AP density
+	case SIOCSIWSENS:       // Set the desired AP density
 
             DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWSENS\n" );
             ret = wireless_set_sensitivity( wrq, lp );
@@ -275,7 +275,7 @@
             break;
 
 
-	    case SIOCGIWSENS:       // Get the current AP density
+	case SIOCGIWSENS:       // Get the current AP density
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWSENS\n" );
             wireless_get_sensitivity( wrq, lp );
@@ -287,7 +287,7 @@
 
 #if WIRELESS_EXT > 5
 
-	    case SIOCSIWESSID:      // Set the desired network name (ESSID)
+	case SIOCSIWESSID:      // Set the desired network name (ESSID)
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWESSID\n" );
             ret = wireless_set_essid( wrq, lp );
@@ -295,7 +295,7 @@
             break;
 
 
-	    case SIOCGIWESSID:      // Get the current network name (ESSID)
+	case SIOCGIWESSID:      // Get the current network name (ESSID)
             
             DBG_TRACE(DbgInfo, "IOCTL: SIOCGIWESSID\n");  
             ret = wireless_get_essid( wrq, lp );
@@ -307,7 +307,7 @@
 
 #if WIRELESS_EXT > 7
 
-	    case SIOCSIWNICKN:      // Set desired station nickname
+	case SIOCSIWNICKN:      // Set desired station nickname
            
             DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWNICKN\n" );
             ret = wireless_set_nickname( wrq, lp );
@@ -315,7 +315,7 @@
             break;
 	
 
-	    case SIOCGIWNICKN:      // Get current station nickname
+	case SIOCGIWNICKN:      // Get current station nickname
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWNICKN\n" );
             ret = wireless_get_nickname( wrq, lp );
@@ -323,7 +323,7 @@
             break;
 
 
-        case SIOCSIWRTS:        // Set the desired RTS threshold
+	case SIOCSIWRTS:        // Set the desired RTS threshold
            
             DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWRTS\n" );
             ret = wireless_set_rts_threshold( wrq, lp );
@@ -331,7 +331,7 @@
             break;
 	
 
-	    case SIOCGIWRTS:        // Get the current RTS threshold
+	case SIOCGIWRTS:        // Get the current RTS threshold
             
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWRTS\n" );
             wireless_get_rts_threshold( wrq, lp );
@@ -382,7 +382,7 @@
             break;
 
 
-	    case SIOCGIWENCODE:     // Get the encryption keys
+	case SIOCGIWENCODE:     // Get the encryption keys
            
             DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWENCODE\n" );
             ret = wireless_get_encode( wrq, lp );
@@ -503,7 +503,7 @@
 
 #endif  // WIRELESS_EXT > 11
 
-	    case SIOCGIWPRIV:       // Get private ioctl interface info
+	case SIOCGIWPRIV:       // Get private ioctl interface info
 
             DBG_TRACE(DbgInfo, "IOCTL: SIOCGIWPRIV NOT SUPPORTED!!!\n");
             ret = -EOPNOTSUPP;
--- wlags/hcfcfg.h~includes
+++ wlags/hcfcfg.h
@@ -764,7 +764,7 @@
 
 #include <asm/io.h>
 #include <linux/module.h>
-#include <wireless/wl_version.h>
+#include "wl_version.h"
 
 /* The following macro ensures that no symbols are exported, minimizing the chance of a symbol
    collision in the kernel */