public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ipw2200 can't compile under linux 2.6.13-rc1
@ 2005-06-29 10:12 Jeff Chua
  2005-06-29 10:24 ` Arjan van de Ven
  2005-06-29 15:23 ` Jeff Garzik
  0 siblings, 2 replies; 10+ messages in thread
From: Jeff Chua @ 2005-06-29 10:12 UTC (permalink / raw)
  To: ipw2100-devel; +Cc: Linus Torvalds, Linux Kernel


ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.

ipw2200-1.0.4 compiled fine with linux 2.6.12.


Thanks,
Jeff

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 10:12 ipw2200 can't compile under linux 2.6.13-rc1 Jeff Chua
@ 2005-06-29 10:24 ` Arjan van de Ven
  2005-06-29 12:43   ` Alejandro Bonilla
  2005-06-29 15:23 ` Jeff Garzik
  1 sibling, 1 reply; 10+ messages in thread
From: Arjan van de Ven @ 2005-06-29 10:24 UTC (permalink / raw)
  To: Jeff Chua; +Cc: ipw2100-devel, Linus Torvalds, Linux Kernel

On Wed, 2005-06-29 at 18:12 +0800, Jeff Chua wrote:
> ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.
> 
> ipw2200-1.0.4 compiled fine with linux 2.6.12.

soo..... what's the error ?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 10:24 ` Arjan van de Ven
@ 2005-06-29 12:43   ` Alejandro Bonilla
  2005-06-29 13:00     ` [Ipw2100-devel] " Henrik Brix Andersen
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alejandro Bonilla @ 2005-06-29 12:43 UTC (permalink / raw)
  To: 'Arjan van de Ven', 'Jeff Chua'
  Cc: ipw2100-devel, 'Linux Kernel'


> On Wed, 2005-06-29 at 18:12 +0800, Jeff Chua wrote:
> > ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.
> > 
> > ipw2200-1.0.4 compiled fine with linux 2.6.12.
> 
> soo..... what's the error ?
> 

Probably the same reason why it won't compile in 2.6.12.

Is it the is_multicast_ethr_addr error?

http://ipw2200.sourceforge.net/#patches


.Alejandro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Ipw2100-devel] RE: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 12:43   ` Alejandro Bonilla
@ 2005-06-29 13:00     ` Henrik Brix Andersen
  2005-06-29 14:17     ` Jeff Chua
  2005-06-29 15:43     ` Horst von Brand
  2 siblings, 0 replies; 10+ messages in thread
From: Henrik Brix Andersen @ 2005-06-29 13:00 UTC (permalink / raw)
  To: abonilla
  Cc: 'Arjan van de Ven', 'Jeff Chua', ipw2100-devel,
	'Linux Kernel'

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

On Wed, 2005-06-29 at 06:43 -0600, Alejandro Bonilla wrote:
> Probably the same reason why it won't compile in 2.6.12.
> 
> Is it the is_multicast_ethr_addr error?
> 
> http://ipw2200.sourceforge.net/#patches

No, it's due to the fact that someone decided to merge an old version of
the ieee80211 subsystem into Linus' tree:

commit 279385949ebb41ad166fd37505fe552cdb74ed59
Author: Christoph Hellwig <hch@lst.de>
Date:   Sun Jun 19 01:27:20 2005 +0200

    [PATCH] bring over ieee80211.h from mainline
    
    the prototypes and inlines aren't actually needed, but let's not diverge
    from -mm too far.

This version of the ieee80211 subsystem is incompatible with current
ipw2100/ipw2200 drivers and break the compilation of these.

Sincerely,
Brix

PS: I'm not subscribed to LKML, please CC: me on any replies.
-- 
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Metadistribution | Mobile computing herd

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 12:43   ` Alejandro Bonilla
  2005-06-29 13:00     ` [Ipw2100-devel] " Henrik Brix Andersen
@ 2005-06-29 14:17     ` Jeff Chua
  2005-06-29 16:55       ` Horst von Brand
  2005-06-29 15:43     ` Horst von Brand
  2 siblings, 1 reply; 10+ messages in thread
From: Jeff Chua @ 2005-06-29 14:17 UTC (permalink / raw)
  To: Alejandro Bonilla
  Cc: 'Arjan van de Ven', 'Jeff Chua', ipw2100-devel,
	'Linux Kernel'

On Wed, 29 Jun 2005, Alejandro Bonilla wrote:

>>> ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.
>> soo..... what's the error ?
>
> Probably the same reason why it won't compile in 2.6.12.

Sorry for not being specific. I managed to trace down the problem to the 
new patch. linux 2.6.13-rc1 created a new file include/net/ieee80211.h
and there's an existing file in the ipw2200 directory with the same 
name ieee80211.h.

All the ipw2200 files has ...

 	#include <net/ieee80211.h>

and that points to the new linux header in 
/usr/src/linux/include/net/ieee80211.h instead of the local include file 
under the ipw2200/net directory.

I've modified all ipw2200 files to #include "net/ieee80211.h" and now it 
compiles ok.

Thanks,
Jeff.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 10:12 ipw2200 can't compile under linux 2.6.13-rc1 Jeff Chua
  2005-06-29 10:24 ` Arjan van de Ven
@ 2005-06-29 15:23 ` Jeff Garzik
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff Garzik @ 2005-06-29 15:23 UTC (permalink / raw)
  To: Jeff Chua; +Cc: ipw2100-devel, Linus Torvalds, Linux Kernel

Jeff Chua wrote:
> 
> ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.
> 
> ipw2200-1.0.4 compiled fine with linux 2.6.12.

It compiles just fine.

You're not using the 'ieee80211' repository where all wireless 
developers work out of.  That's the big problem.

	Jeff




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 12:43   ` Alejandro Bonilla
  2005-06-29 13:00     ` [Ipw2100-devel] " Henrik Brix Andersen
  2005-06-29 14:17     ` Jeff Chua
@ 2005-06-29 15:43     ` Horst von Brand
  2 siblings, 0 replies; 10+ messages in thread
From: Horst von Brand @ 2005-06-29 15:43 UTC (permalink / raw)
  To: abonilla
  Cc: 'Arjan van de Ven', 'Jeff Chua', ipw2100-devel,
	'Linux Kernel'

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
> > On Wed, 2005-06-29 at 18:12 +0800, Jeff Chua wrote:
> > > ipw2200-1.0.4 can't be compiled under linux 2.6.13-rc1.
> > > 
> > > ipw2200-1.0.4 compiled fine with linux 2.6.12.
> > 
> > soo..... what's the error ?

> Probably the same reason why it won't compile in 2.6.12.
> 
> Is it the is_multicast_ethr_addr error?
> 
> http://ipw2200.sourceforge.net/#patches

Nope, I've got that fixed here. It gets tons of errors and warnings in
ipw2200.c, the interface to devices has changed. Haven't found time to look
into it yet...


[-- Attachment #2: Output compiling ipw2200-1.0.4 against 2.6.13-rc1 --]
[-- Type: text/x-c, Size: 35668 bytes --]

make -C /usr/src/ipw2200-1.0.4/../linux-2.6.git SUBDIRS=/usr/src/ipw2200-1.0.4 MODVERDIR=/usr/src/ipw2200-1.0.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.git'
  CC [M]  /usr/src/ipw2200-1.0.4/ipw2200.o
/usr/src/ipw2200-1.0.4/ipw2200.c:66: error: variable ‘def_qos_parameters_OFDM’ has initializer but incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:68: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:68: error: (near initialization for ‘def_qos_parameters_OFDM�)
/usr/src/ipw2200-1.0.4/ipw2200.c:68: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:68: warning: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:69: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:69: error: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:69: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:69: warning: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:70: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:70: error: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:70: error: ‘QOS_AIFSN_MIN_VALUE’ undeclared here (not in a function)
/usr/src/ipw2200-1.0.4/ipw2200.c:70: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:70: warning: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:71: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:71: error: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:71: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:71: warning: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:72: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:72: error: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:72: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:72: warning: (near initialization for ‘def_qos_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:75: error: variable ‘def_qos_parameters_CCK’ has initializer but incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:77: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:77: error: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:77: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:77: warning: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:78: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:78: error: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:78: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:78: warning: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:79: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:79: error: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:79: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:79: warning: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:80: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:80: error: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:80: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:80: warning: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:81: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:81: error: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:81: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:81: warning: (near initialization for ‘def_qos_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:84: error: variable ‘def_parameters_OFDM’ has initializer but incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:86: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:86: error: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:86: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:86: warning: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:87: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:87: error: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:87: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:87: warning: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:88: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:88: error: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:88: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:88: warning: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:89: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:89: error: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:89: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:89: warning: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:90: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:90: error: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:90: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:90: warning: (near initialization for ‘def_parameters_OFDM’)
/usr/src/ipw2200-1.0.4/ipw2200.c:93: error: variable ‘def_parameters_CCK’ has initializer but incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:95: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:95: error: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:95: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:95: warning: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:96: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:96: error: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:96: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:96: warning: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:97: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:97: error: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:97: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:97: warning: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:98: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:98: error: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:98: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:98: warning: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:99: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:99: error: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:99: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:99: warning: (near initialization for ‘def_parameters_CCK’)
/usr/src/ipw2200-1.0.4/ipw2200.c:102: error: ‘QOS_OUI_LEN’ undeclared here (not in a function)
/usr/src/ipw2200-1.0.4/ipw2200.c:114: warning: ‘struct ieee80211_qos_information_element’ declared inside parameter list
/usr/src/ipw2200-1.0.4/ipw2200.c:114: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/ipw2200-1.0.4/ipw2200.c:1081: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1126: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1126: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1156: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1156: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1164: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1171: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1179: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1191: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1203: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1215: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1227: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1245: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1245: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1267: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1267: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1289: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1289: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1313: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1313: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1337: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1337: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1362: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1362: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1428: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1428: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘store_speed_scan’:
/usr/src/ipw2200-1.0.4/ipw2200.c:1458: warning: implicit declaration of function ‘ieee80211_is_valid_channel’
/usr/src/ipw2200-1.0.4/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.4/ipw2200.c:1480: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1480: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1502: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:1502: warning: initialization from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_irq_tasklet’:
/usr/src/ipw2200-1.0.4/ipw2200.c:1616: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_adapter_restart’:
/usr/src/ipw2200-1.0.4/ipw2200.c:1869: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_gather_stats’:
/usr/src/ipw2200-1.0.4/ipw2200.c:3834: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3834: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3835: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3835: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3836: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3837: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3837: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3838: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3839: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi�
/usr/src/ipw2200-1.0.4/ipw2200.c:3839: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3840: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:3840: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_adhoc_create’:
/usr/src/ipw2200-1.0.4/ipw2200.c:5296: warning: implicit declaration of function ‘ieee80211_get_geo’
/usr/src/ipw2200-1.0.4/ipw2200.c:5296: warning: initialization makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:5300: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5303: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5306: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_send_tgi_tx_key’:
/usr/src/ipw2200-1.0.4/ipw2200.c:5349: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5354: error: ‘SCM_TEMPORAL_KEY_LENGTH’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:5354: error: (Each undeclared identifier is reported only once
/usr/src/ipw2200-1.0.4/ipw2200.c:5354: error: for each function it appears in.)
/usr/src/ipw2200-1.0.4/ipw2200.c:5354: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5354: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_send_wep_keys’:
/usr/src/ipw2200-1.0.4/ipw2200.c:5385: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5390: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5391: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5391: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_set_hwcrypto_keys’:
/usr/src/ipw2200-1.0.4/ipw2200.c:5402: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5404: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5407: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5418: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:5421: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_request_scan’:
/usr/src/ipw2200-1.0.4/ipw2200.c:5596: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:5689: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5691: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5695: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5709: error: �IEEE80211_24GHZ_CHANNELS’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:5711: error: array index in non-array initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:5711: error: (near initialization for ‘channels’)
/usr/src/ipw2200-1.0.4/ipw2200.c:5709: warning: unused variable ‘channels’
/usr/src/ipw2200-1.0.4/ipw2200.c:5743: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5745: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:5749: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_wpa_set_encryption’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6070: error: ‘struct ieee80211_security’ has no member named ‘encrypt’
/usr/src/ipw2200-1.0.4/ipw2200.c:6073: warning: implicit declaration of function ‘ieee80211_crypt_delayed_deinit’
/usr/src/ipw2200-1.0.4/ipw2200.c:6078: error: ‘struct ieee80211_security’ has no member named ‘encrypt’
/usr/src/ipw2200-1.0.4/ipw2200.c:6086: warning: implicit declaration of function ‘ieee80211_get_crypto_ops’
/usr/src/ipw2200-1.0.4/ipw2200.c:6086: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:6089: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:6092: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:6095: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:6105: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6111: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6116: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_crypt_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6117: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6118: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6118: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6119: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6120: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6122: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6132: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6133: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6135: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_handle_probe_reponse’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6274: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6277: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6277: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6279: error: ‘NETWORK_HAS_QOS_MASK’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6280: error: ‘NETWORK_HAS_QOS_PARAMETERS’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6281: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6281: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6283: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6285: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6285: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6286: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6286: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6293: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6293: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6296: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6296: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6298: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6303: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6304: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.4/ipw2200.c:6327: warning: ‘struct ieee80211_qos_data’ declared inside parameter list
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_activate’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6330: error: array type has incomplete element type
/usr/src/ipw2200-1.0.4/ipw2200.c:6332: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6355: error: ‘QOS_QUEUE_NUM’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6380: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6381: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6382: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6385: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6330: warning: unused variable ‘qos_parameters’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_set_info_element’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6411: error: storage size of ‘qos_info’ isn’t known
/usr/src/ipw2200-1.0.4/ipw2200.c:6417: error: ‘QOS_ELEMENT_ID’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6418: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_information_element’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6420: error: ‘QOS_VERSION_1’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6424: error: ‘QOS_OUI_TYPE’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6425: error: ‘QOS_OUI_INFO_SUB_TYPE’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6411: warning: unused variable ‘qos_info’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_association’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6444: error: variable ‘ibss_data’ has initializer but incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6445: error: unknown field ‘supported’ specified in initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:6445: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:6445: warning: (near initialization for ‘ibss_data’)
/usr/src/ipw2200-1.0.4/ipw2200.c:6446: error: unknown field ‘active’ specified in initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:6446: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.4/ipw2200.c:6446: warning: (near initialization for ‘ibss_data’)
/usr/src/ipw2200-1.0.4/ipw2200.c:6444: error: storage size of ‘ibss_data’ isn’t known
/usr/src/ipw2200-1.0.4/ipw2200.c:6458: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6466: warning: passing argument 2 of ‘ipw_qos_activate’ from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:6472: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6444: warning: unused variable ‘ibss_data’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_association_resp’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6490: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6505: error: ‘NETWORK_HAS_QOS_PARAMETERS’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6506: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_data’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6507: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6508: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6508: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6510: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6510: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6515: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6515: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6517: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6517: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6519: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6520: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_qos_set_tx_queue_command’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6609: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c:6615: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6617: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6617: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6620: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6621: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6635: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_bg_qos_activate’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6661: error: ‘struct ieee80211_network’ has no member named ‘qos_data’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_send_qos_params_command’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6700: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6708: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6708: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c:6708: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_qos_parameters’ 
/usr/src/ipw2200-1.0.4/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.4/ipw2200.c:6718: warning: ‘struct ieee80211_qos_information_element’ declared inside parameter list
/usr/src/ipw2200-1.0.4/ipw2200.c:6719: error: conflicting types for ‘ipw_send_qos_info_command’
/usr/src/ipw2200-1.0.4/ipw2200.c:114: error: previous declaration of ‘ipw_send_qos_info_command’ was here
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_send_qos_info_command’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6722: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6730: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6730: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:6730: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_associate_network’:
/usr/src/ipw2200-1.0.4/ipw2200.c:6768: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:6771: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:6807: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_rebuild_decrypted_skb’:
/usr/src/ipw2200-1.0.4/ipw2200.c:7098: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:7119: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘is_network_packet’:
/usr/src/ipw2200-1.0.4/ipw2200.c:7180: warning: implicit declaration of function ‘is_broadcast_ether_addr’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_handle_mgmt_packet’:
/usr/src/ipw2200-1.0.4/ipw2200.c:7246: error: ‘ETH_P_80211_STATS’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_wx_set_freq’:
/usr/src/ipw2200-1.0.4/ipw2200.c:7518: warning: implicit declaration of function ‘ieee80211_freq_to_channel’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function �ipw_wx_get_range’:
/usr/src/ipw2200-1.0.4/ipw2200.c:7653: warning: initialization makes pointer from integer without a cast
/usr/src/ipw2200-1.0.4/ipw2200.c:7665: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:7695: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:7697: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:7698: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:7704: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:7706: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c:7707: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_sw_reset’:
/usr/src/ipw2200-1.0.4/ipw2200.c:8655: error: ‘struct ieee80211_device’ has no member named ‘geography’
/usr/src/ipw2200-1.0.4/ipw2200.c:8655: error: ‘IEEE80211_GEO_001’ undeclared (first use in this function)
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_tx_skb’:
/usr/src/ipw2200-1.0.4/ipw2200.c:8999: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9026: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9036: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘shim__set_security’:
/usr/src/ipw2200-1.0.4/ipw2200.c:9448: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9450: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9452: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9452: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9454: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9458: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9463: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9464: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9466: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9469: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9472: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9473: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9474: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9483: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9484: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9485: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9492: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9492: error: ‘struct ieee80211_security’ has no member named ‘encrypt’
/usr/src/ipw2200-1.0.4/ipw2200.c:9495: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9496: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c:9497: error: ‘struct ieee80211_device’ has no member named ‘sec’
/usr/src/ipw2200-1.0.4/ipw2200.c: In function ‘ipw_pci_probe’:
/usr/src/ipw2200-1.0.4/ipw2200.c:9945: warning: assignment from incompatible pointer type
/usr/src/ipw2200-1.0.4/ipw2200.c:9949: error: ‘struct ieee80211_device’ has no member named ‘handle_management_frame’
/usr/src/ipw2200-1.0.4/ipw2200.c:9952: error: ‘struct ieee80211_device’ has no member named ‘perfect_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:9953: error: ‘struct ieee80211_device’ has no member named ‘worst_rssi’
/usr/src/ipw2200-1.0.4/ipw2200.c:9963: error: ‘struct ieee80211_device’ has no member named ‘spy_data’
make[2]: *** [/usr/src/ipw2200-1.0.4/ipw2200.o] Error 1
make[1]: *** [_module_/usr/src/ipw2200-1.0.4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.git'
make: *** [modules] Error 2

[-- Attachment #3: Type: text/plain, Size: 276 bytes --]

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 14:17     ` Jeff Chua
@ 2005-06-29 16:55       ` Horst von Brand
  2005-06-29 22:35         ` [Ipw2100-devel] " Rusty Lynch
  0 siblings, 1 reply; 10+ messages in thread
From: Horst von Brand @ 2005-06-29 16:55 UTC (permalink / raw)
  To: Jeff Chua
  Cc: Alejandro Bonilla, 'Arjan van de Ven',
	'Jeff Chua', ipw2100-devel, 'Linux Kernel'

Jeff Chua <jeffchua@silk.corp.fedex.com> wrote:

[...]

> All the ipw2200 files has ...
> 
>  	#include <net/ieee80211.h>
> 
> and that points to the new linux header in
> /usr/src/linux/include/net/ieee80211.h instead of the local include
> file under the ipw2200/net directory.
> 
> I've modified all ipw2200 files to #include "net/ieee80211.h" and now
> it compiles ok.

No, it doesn't. The warnings are about /function pointers/ that have the
wrong type (this comes from an earlier 2.6.12-git). AFAICS, this is due to
a change in device handling, and as long as this isn't fixed, I won't even
try to load the module.

Just need a little time to decrypt this macro mess...

And again, shouldn't we push for the header here going into the kernel? Or
fix up the code to work with the kernel version? The current situation
isn't confortable at all.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Ipw2100-devel] Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 16:55       ` Horst von Brand
@ 2005-06-29 22:35         ` Rusty Lynch
  2005-06-29 23:59           ` Jeff Chua
  0 siblings, 1 reply; 10+ messages in thread
From: Rusty Lynch @ 2005-06-29 22:35 UTC (permalink / raw)
  To: Horst von Brand
  Cc: Jeff Chua, Alejandro Bonilla, 'Arjan van de Ven',
	'Jeff Chua', ipw2100-devel, 'Linux Kernel'

On Wed, Jun 29, 2005 at 12:55:51PM -0400, Horst von Brand wrote:
> Jeff Chua <jeffchua@silk.corp.fedex.com> wrote:
> 
> [...]
> 
> > All the ipw2200 files has ...
> > 
> >  	#include <net/ieee80211.h>
> > 
> > and that points to the new linux header in
> > /usr/src/linux/include/net/ieee80211.h instead of the local include
> > file under the ipw2200/net directory.
> > 
> > I've modified all ipw2200 files to #include "net/ieee80211.h" and now
> > it compiles ok.
> 
> No, it doesn't. The warnings are about /function pointers/ that have the
> wrong type (this comes from an earlier 2.6.12-git). AFAICS, this is due to
> a change in device handling, and as long as this isn't fixed, I won't even
> try to load the module.
> 
> Just need a little time to decrypt this macro mess...
> 
> And again, shouldn't we push for the header here going into the kernel? Or
> fix up the code to work with the kernel version? The current situation
> isn't confortable at all.

The prototype for the driver show and store functions has a new argument,
struct device_attribute *.  Here is a patch that adds the argument for the
many device files that the ipw2200 has.

    --rusty

 ipw2200.c |   95 +++++++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 63 insertions(+), 32 deletions(-)

Index: ipw2200-1.0.4/ipw2200.c
===================================================================
--- ipw2200-1.0.4.orig/ipw2200.c
+++ ipw2200-1.0.4/ipw2200.c
@@ -1071,7 +1071,8 @@ static DRIVER_ATTR(debug_level, S_IWUSR 
 
 #define STAT_PRINT(b, x, y) sprintf(b, # x ": " y "\n", priv->x);
 
-static ssize_t show_stats(struct device *d, char *buf)
+static ssize_t show_stats(struct device *d, struct device_attribute *attr,
+			  char *buf)
 {
 	struct ipw_priv *priv = dev_get_drvdata(d);
 	u32 len = 0;
@@ -1081,13 +1082,15 @@ static ssize_t show_stats(struct device 
 static DEVICE_ATTR(stats, S_IRUGO, show_stats, NULL);
 
 
-static ssize_t show_scan_age(struct device *d, char *buf)
+static ssize_t show_scan_age(struct device *d, struct device_attribute *attr,
+			     char *buf)
 {
 	struct ipw_priv *priv = dev_get_drvdata(d);
 	return sprintf(buf, "%d\n", priv->ieee->scan_age);
 }
 
-static ssize_t store_scan_age(struct device *d, const char *buf, size_t count)
+static ssize_t store_scan_age(struct device *d, struct device_attribute *attr,
+			      const char *buf, size_t count)
 {
 	struct ipw_priv *priv = dev_get_drvdata(d);
 #ifdef CONFIG_IPW_DEBUG
@@ -1124,13 +1127,15 @@ static ssize_t store_scan_age(struct dev
 }
 static DEVICE_ATTR(scan_age, S_IWUSR | S_IRUGO, show_scan_age, store_scan_age);
 
-static ssize_t show_led(struct device *d, char *buf)
+static ssize_t show_led(struct device *d, struct device_attribute *attr,
+			char *buf)
 {
 	struct ipw_priv *priv = dev_get_drvdata(d);
 	return sprintf(buf, "%d\n", (priv->config & CFG_NO_LED) ? 0 : 1);
 }
 
-static ssize_t store_led(struct device *d, const char *buf, size_t count)
+static ssize_t store_led(struct device *d, struct device_attribute *attr,
+			 const char *buf, size_t count)
 {
 	struct ipw_priv *priv = dev_get_drvdata(d);
 
@@ -1155,21 +1160,24 @@ static ssize_t store_led(struct device *
 static DEVICE_ATTR(led, S_IWUSR | S_IRUGO, show_led, store_led);
 
 
-static ssize_t show_status(struct device *d, char *buf)
+static ssize_t show_status(struct device *d, struct device_attribute *attr,
+			   char *buf)
 {
 	struct ipw_priv *p = (struct ipw_priv *)d->driver_data;
 	return sprintf(buf, "0x%08x\n", (int)p->status);
 }
 static DEVICE_ATTR(status, S_IRUGO, show_status, NULL);
 
-static ssize_t show_cfg(struct device *d, char *buf)
+static ssize_t show_cfg(struct device *d, struct device_attribute *attr,
+			char *buf)
 {
 	struct ipw_priv *p = (struct ipw_priv *)d->driver_data;
 	return sprintf(buf, "0x%08x\n", (int)p->config);
 }
 static DEVICE_ATTR(cfg, S_IRUGO, show_cfg, NULL);
 
-static ssize_t show_nic_type(struct device *d, char *buf)
+static ssize_t show_nic_type(struct device *d, struct device_attribute *attr,
+			     char *buf)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 
@@ -1177,8 +1185,8 @@ static ssize_t show_nic_type(struct devi
 }
 static DEVICE_ATTR(nic_type, S_IRUGO, show_nic_type, NULL);
 
-static ssize_t dump_error_log(struct device *d, const char *buf,
-			      size_t count)
+static ssize_t dump_error_log(struct device *d, struct device_attribute *attr,
+			      const char *buf, size_t count)
 {
 	char *p = (char *)buf;
 
@@ -1189,8 +1197,8 @@ static ssize_t dump_error_log(struct dev
 }
 static DEVICE_ATTR(dump_errors, S_IWUSR, NULL, dump_error_log);
 
-static ssize_t dump_event_log(struct device *d, const char *buf,
-			      size_t count)
+static ssize_t dump_event_log(struct device *d, struct device_attribute *attr,
+			      const char *buf, size_t count)
 {
 	char *p = (char *)buf;
 
@@ -1201,7 +1209,8 @@ static ssize_t dump_event_log(struct dev
 }
 static DEVICE_ATTR(dump_events, S_IWUSR, NULL, dump_event_log);
 
-static ssize_t show_ucode_version(struct device *d, char *buf)
+static ssize_t show_ucode_version(struct device *d,
+				  struct device_attribute *attr, char *buf)
 {
 	u32 len = sizeof(u32), tmp = 0;
 	struct ipw_priv *p = (struct ipw_priv*)d->driver_data;
@@ -1213,7 +1222,8 @@ static ssize_t show_ucode_version(struct
 }
 static DEVICE_ATTR(ucode_version, S_IWUSR|S_IRUGO, show_ucode_version, NULL);
 
-static ssize_t show_rtc(struct device *d, char *buf)
+static ssize_t show_rtc(struct device *d, struct device_attribute *attr,
+			char *buf)
 {
 	u32 len = sizeof(u32), tmp = 0;
 	struct ipw_priv *p = (struct ipw_priv*)d->driver_data;
@@ -1229,13 +1239,15 @@ static DEVICE_ATTR(rtc, S_IWUSR|S_IRUGO,
  * Add a device attribute to view/control the delay between eeprom
  * operations.
  */
-static ssize_t show_eeprom_delay(struct device *d, char *buf)
+static ssize_t show_eeprom_delay(struct device *d,
+				 struct device_attribute *attr, char *buf)
 {
 	int n = ((struct ipw_priv*)d->driver_data)->eeprom_delay;
 	return sprintf(buf, "%i\n", n);
 }
-static ssize_t store_eeprom_delay(struct device *d, const char *buf,
-				  size_t count)
+static ssize_t store_eeprom_delay(struct device *d,
+				  struct device_attribute *attr,
+				  const char *buf, size_t count)
 {
 	struct ipw_priv *p = (struct ipw_priv*)d->driver_data;
 	sscanf(buf, "%i", &p->eeprom_delay);
@@ -1244,7 +1256,9 @@ static ssize_t store_eeprom_delay(struct
 static DEVICE_ATTR(eeprom_delay, S_IWUSR|S_IRUGO,
 		   show_eeprom_delay,store_eeprom_delay);
 
-static ssize_t show_command_event_reg(struct device *d, char *buf)
+static ssize_t show_command_event_reg(struct device *d,
+				      struct device_attribute *attr,
+				      char *buf)
 {
 	u32 reg = 0;
 	struct ipw_priv *p = (struct ipw_priv *)d->driver_data;
@@ -1253,6 +1267,7 @@ static ssize_t show_command_event_reg(st
 	return sprintf(buf, "0x%08x\n", reg);
 }
 static ssize_t store_command_event_reg(struct device *d,
+				       struct device_attribute *attr,
 				       const char *buf,
 				       size_t count)
 {
@@ -1266,7 +1281,9 @@ static ssize_t store_command_event_reg(s
 static DEVICE_ATTR(command_event_reg, S_IWUSR|S_IRUGO,
 		   show_command_event_reg,store_command_event_reg);
 
-static ssize_t show_mem_gpio_reg(struct device *d, char *buf)
+static ssize_t show_mem_gpio_reg(struct device *d,
+				 struct device_attribute *attr,
+				 char *buf)
 {
 	u32 reg = 0;
 	struct ipw_priv *p = (struct ipw_priv *)d->driver_data;
@@ -1275,6 +1292,7 @@ static ssize_t show_mem_gpio_reg(struct 
 	return sprintf(buf, "0x%08x\n", reg);
 }
 static ssize_t store_mem_gpio_reg(struct device *d,
+				  struct device_attribute *attr,
 				  const char *buf,
 				  size_t count)
 {
@@ -1288,7 +1306,8 @@ static ssize_t store_mem_gpio_reg(struct
 static DEVICE_ATTR(mem_gpio_reg, S_IWUSR|S_IRUGO,
 		   show_mem_gpio_reg,store_mem_gpio_reg);
 
-static ssize_t show_indirect_dword(struct device *d, char *buf)
+static ssize_t show_indirect_dword(struct device *d,
+				   struct device_attribute *attr, char *buf)
 {
 	u32 reg = 0;
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
@@ -1300,8 +1319,9 @@ static ssize_t show_indirect_dword(struc
 	return sprintf(buf, "0x%08x\n", reg);
 }
 static ssize_t store_indirect_dword(struct device *d,
-				   const char *buf,
-				   size_t count)
+				    struct device_attribute *attr,
+				    const char *buf,
+				    size_t count)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 
@@ -1312,7 +1332,8 @@ static ssize_t store_indirect_dword(stru
 static DEVICE_ATTR(indirect_dword, S_IWUSR|S_IRUGO,
 		   show_indirect_dword,store_indirect_dword);
 
-static ssize_t show_indirect_byte(struct device *d, char *buf)
+static ssize_t show_indirect_byte(struct device *d,
+				  struct device_attribute *attr, char *buf)
 {
 	u8 reg = 0;
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
@@ -1324,6 +1345,7 @@ static ssize_t show_indirect_byte(struct
 	return sprintf(buf, "0x%02x\n", reg);
 }
 static ssize_t store_indirect_byte(struct device *d,
+				   struct device_attribute *attr,
 				   const char *buf,
 				   size_t count)
 {
@@ -1336,7 +1358,8 @@ static ssize_t store_indirect_byte(struc
 static DEVICE_ATTR(indirect_byte, S_IWUSR|S_IRUGO,
 		   show_indirect_byte, store_indirect_byte);
 
-static ssize_t show_direct_dword(struct device *d, char *buf)
+static ssize_t show_direct_dword(struct device *d,
+				 struct device_attribute *attr, char *buf)
 {
 	u32 reg = 0;
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
@@ -1349,8 +1372,9 @@ static ssize_t show_direct_dword(struct 
 	return sprintf(buf, "0x%08x\n", reg);
 }
 static ssize_t store_direct_dword(struct device *d,
-				 const char *buf,
-				 size_t count)
+				  struct device_attribute *attr,
+				  const char *buf,
+				  size_t count)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 
@@ -1372,7 +1396,8 @@ static inline int rf_kill_active(struct 
 	return (priv->status & STATUS_RF_KILL_HW) ? 1 : 0;
 }
 
-static ssize_t show_rf_kill(struct device *d, char *buf)
+static ssize_t show_rf_kill(struct device *d, struct device_attribute *attr,
+			    char *buf)
 {
 	/* 0 - RF kill not enabled
 	   1 - SW based RF kill active (sysfs)
@@ -1415,7 +1440,8 @@ static int ipw_radio_kill_sw(struct ipw_
 	return 1;
 }
 
-static ssize_t store_rf_kill(struct device *d, const char *buf, size_t count)
+static ssize_t store_rf_kill(struct device *d, struct device_attribute *attr,
+			     const char *buf, size_t count)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 
@@ -1425,7 +1451,8 @@ static ssize_t store_rf_kill(struct devi
 }
 static DEVICE_ATTR(rf_kill, S_IWUSR|S_IRUGO, show_rf_kill, store_rf_kill);
 
-static ssize_t show_speed_scan(struct device *d, char *buf)
+static ssize_t show_speed_scan(struct device *d, struct device_attribute *attr,
+			       char *buf)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 	int pos = 0, len = 0;
@@ -1439,7 +1466,9 @@ static ssize_t show_speed_scan(struct de
 	return sprintf(buf, "0\n");
 }
 
-static ssize_t store_speed_scan(struct device *d, const char *buf, size_t count)
+static ssize_t store_speed_scan(struct device *d,
+				struct device_attribute *attr,
+				const char *buf, size_t count)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 	int channel, pos = 0;
@@ -1477,14 +1506,16 @@ static ssize_t store_speed_scan(struct d
 static DEVICE_ATTR(speed_scan, S_IWUSR|S_IRUGO, show_speed_scan,
 		   store_speed_scan);
 
-static ssize_t show_net_stats(struct device *d, char *buf)
+static ssize_t show_net_stats(struct device *d, struct device_attribute *attr,
+			      char *buf)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 	return sprintf(buf, "%c\n", (priv->config & CFG_NET_STATS) ?
 		       '1' : '0');
 }
 
-static ssize_t store_net_stats(struct device *d, const char *buf, size_t count)
+static ssize_t store_net_stats(struct device *d, struct device_attribute *attr,
+			       const char *buf, size_t count)
 {
 	struct ipw_priv *priv = (struct ipw_priv *)d->driver_data;
 	if (buf[0] == '1')

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Ipw2100-devel] Re: ipw2200 can't compile under linux 2.6.13-rc1
  2005-06-29 22:35         ` [Ipw2100-devel] " Rusty Lynch
@ 2005-06-29 23:59           ` Jeff Chua
  0 siblings, 0 replies; 10+ messages in thread
From: Jeff Chua @ 2005-06-29 23:59 UTC (permalink / raw)
  To: Rusty Lynch
  Cc: Horst von Brand, Jeff Chua, Alejandro Bonilla,
	'Arjan van de Ven', 'Jeff Chua', ipw2100-devel,
	'Linux Kernel'

On Wed, 29 Jun 2005, Rusty Lynch wrote:

> The prototype for the driver show and store functions has a new argument,
> struct device_attribute *.  Here is a patch that adds the argument for the
> many device files that the ipw2200 has.

That works nicely. Thanks.

Jeff.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-06-30  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29 10:12 ipw2200 can't compile under linux 2.6.13-rc1 Jeff Chua
2005-06-29 10:24 ` Arjan van de Ven
2005-06-29 12:43   ` Alejandro Bonilla
2005-06-29 13:00     ` [Ipw2100-devel] " Henrik Brix Andersen
2005-06-29 14:17     ` Jeff Chua
2005-06-29 16:55       ` Horst von Brand
2005-06-29 22:35         ` [Ipw2100-devel] " Rusty Lynch
2005-06-29 23:59           ` Jeff Chua
2005-06-29 15:43     ` Horst von Brand
2005-06-29 15:23 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox