Kismet Wireless

Kismet Forums

 

Posted by:Dutch
Subject:Standalone 2.6.17+ 0.13e ORiNOCO package broken from kernel 2.6.19
Date:23:58:52 13/06/2007

dragorn,

Looks like your up-port of the standalone drivers are dead in the water with kernels from 2.6.19 and up.

1) linux/config.h is deprecated.

2) get_wireless_stats has been removed from struct_net_device (called in function "alloc_orinocodev")

3) Macro "INIT_WORK" expects 2 params, and gets 3.

4) couple of warnings regarding unused variables.

Output from make follows :

make -C /usr/src/linux-headers-2.6.20-16-generic M=/usr/src/orinoco-0.13-dragorn-2.6.17 modules
make[1]: Går til katalog '/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.o
In file included from /usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:451:
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.h:63: advarsel: ‘packed’ attribute ignored for field of type ‘uint8_t[16]’
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.h:194: advarsel: ‘packed’ attribute ignored for field of type ‘char[16]’
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c: In function ‘alloc_orinocodev’:
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:2465: fejl: ‘struct net_device’ has no member named ‘get_wireless_stats’
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:2481:67: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:2481: fejl: ‘INIT_WORK’ undeclared (first use in this function)
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:2481: fejl: (Each undeclared identifier is reported only once
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:2481: fejl: for each function it appears in.)
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c: In function ‘orinoco_debug_dump_recs’:
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:4318: advarsel: unused variable ‘hdr80211’
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c: In function ‘free_orinocodev’:
/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.c:4634: advarsel: unused variable ‘priv’


Any chance of another up-port ?

Dutch


Reply to this message