Latest driver difficulty


From: Alok K. Dhir (alok_at_dhir.net)
Date: 2002-07-30 02:34:26 UTC


Hello all - I'm running kernel v2.4.19-rc3 + preempt patches on an SMP box. When I attempt to compile the latest CVS version with the v14 wireless.h, I get errors to to conflicting definitions of 'struct iw_event' - it is defined both in the v14 wireless.h, and in /usr/include/linux/net/iw_handler.h. To get around this, I reverted to the v13 wireless.h. It compiled fine, but now when I load the driver and attempt to set parameters such as the ESSID, etc, from my wlan init script, I get:

Setting HostAP Options:Error for wireless request "Set Mode" (8B06) :

    SET failed on device wlan0 ; Invalid argument. Error for wireless request "Set Encode" (8B2A) :

    SET failed on device wlan0 ; Invalid argument. Error for wireless request "Set ESSID" (8B1A) :

    SET failed on device wlan0 ; Invalid argument. Error for wireless request "Set Bit Rate" (8B20) :

    SET failed on device wlan0 ; Invalid argument.

Finally, I also attempted to test the new v1.4.9 firmware - when I try to load it to RAM I get the following which I imagine is related to the problem above:

utils/prism2_srec -r wlan0 RF010409.HEX
srec summary for RF010409.HEX
Component: 0x001f 1.4.9 (station firmware) Supported platforms:
  0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012 1.0.0
  0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0, 0x8018 1.0.0
  0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021 1.0.0, 0x8022 1.0.0
  0x8023 1.0.0, 0x800a 1.0.0, 0x800e 1.0.0, 0x8015 1.0.0, 0x8019 1.0.0
  0x801d 1.0.0, 0x8024 1.0.0
Separate S3 data areas:

  addr 0x007E1800..0x007ED199 (len 47514)
  addr 0x007F0800..0x007F1875 (len 4214)
  addr 0x007FE000..0x007FECE7 (len 3304)
Total data length: 55032 bytes
Start address 0x003f0c01

Wireless LAN card information:
Components:

  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.0.7
  STAID: 0x001f v1.3.5

Verifying update compatibility and combining data: PDR 0x0405 not found from wlan card PDA. Using default data.   len=4: 00 00 00 30
PDR 0x0406 not found from wlan card PDA. Using default data.   len=2: 64 00
OK.

Downloading to volatile memory (RAM).
ioctl[PRISM2_IOCTL_DOWNLOAD]: Operation not supported

Download failed!

Any help is appreciated.

Thanks

Al



This archive was generated by hypermail 2.1.4.