RE: Packet length problems w/ WEP


From: Martin Whitlock (martin.whitlock_at_possio.com)
Date: 2002-09-17 09:59:02 UTC



Forgot to say... Doesn't matter if encr./decr. is made by host or f/w. Still the same problem.
/Martin
  I tested the new release (2002-09-12) and found a problem regarding packet lengths when I have 128 bit WEP enabled. When I ping no packets larger than 1464 bytes (i.e. 'ping kth.se -s 1464') will pass through the AP. In addition, I get this message and then the system reboots:   wlan0: AP queue full - dropping new message

  I use a ARM-platform with SENAO NL-2511CD plus and otherwise an out-of-the-box compilation of hostap.

  [pxadmin_at_Linux /root]$uname -a
  Linux Linux 2.4.18-rmk4-px20 #1 Thu Aug 15 12:10:22 CEST 2002 armv4l unknown

  Ideas?
  /Martin

  dmesg:

  [pxadmin_at_Linux /root]$dmesg
  4 slots per queue, batch=16
  RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize   Uniform Multi-Platform E-IDE driver Revision: 6.31   ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
  SA1100 flash: probing 16-bit flash bus   0: offset=0x0,size=0x20000,blocks=128
  Using buffer write method
  Using static partition definition
  Creating 3 MTD partitions on "SA1100 flash":   0x00000000-0x00020000 : "blob"
  mtd: Giving out device 0 to blob
  0x00020000-0x000e0000 : "kernel"
  mtd: Giving out device 1 to kernel
  0x000e0000-0x01000000 : "jffs2"
  mtd: Giving out device 2 to jffs2
  Linux Kernel Card Services 3.1.22
    options: none
  SA-1100 PCMCIA (CS release 3.1.22)
  NET4: Linux TCP/IP 1.0 for NET4.0
  IP Protocols: ICMP, UDP, TCP, IGMP
  IP: routing cache hash table of 512 buckets, 4Kbytes   TCP: Hash tables configured (established 2048 bind 2048)   Linux IP multicast router 0.06 plus PIM-SM   NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.   NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com   RAMDISK: Couldn't find valid RAM disk image starting at 0.   Freeing initrd memory: 3072K
  cramfs: wrong magic
  FAT: bogus logical sector size 408
  VFS: Mounted root (jffs2 filesystem).
  Freeing init memory: 60K
  NET4: Ethernet Bridge 008 for NET4.0
  Bridge firewalling registered
  hostap_crypt: registered algorithm 'NULL'   hostap_cs: hostap_cs.c 0.0.0 CVS (SSH Communications Security Corp, Jouni Maline
  n)

  hostap_cs: (c) Jouni Malinen <jkmaline_at_cc.hut.fi>
  hostap_cs: setting Vcc=33 (constant)
  hostap_cs: CS_EVENT_CARD_INSERTION
  prism2_config()
  hostap_cs: setting Vcc=33 (from config)
  Checking CFTABLE_ENTRY 0x01 (default 0x01)   IO window settings: cfg->io.nwin=1 dflt.io.nwin=1   io->flags = 0x0046, io.base=0x0000, len=64
: Interrupt, but dev not OK
  hostap_cs: index 0x01: Vcc 3.3, irq 9, io 0xc280d000-0xc280d03f
  hostap_cs: Registered netdevice wlan0
  prism2_hw_init()
  prism2_hw_config: initialized in 18264 iterations
  wlan0: NIC: id=0x800c v1.0.0
  wlan0: PRI: id=0x15 v1.0.5
  wlan0: STA: id=0x1f v1.2.0
  wlan0: LinkStatus=2 (Disconnected)
  wlan0: LinkStatus=2 (Disconnected)

  wlan0: LinkStatus=2 (Disconnected)
  wlan0: LinkStatus=2 (Disconnected)
  hostap_crypt: registered algorithm 'WEP'
  wlan0: LinkStatus=2 (Disconnected)
  wlan0: LinkStatus=2 (Disconnected)
  wlan0: LinkStatus=2 (Disconnected)

  device wlan0 entered promiscuous mode
  wlan0: prism2_open
  bridge0: port 1(wlan0) entering listening state
  bridge0: port 1(wlan0) entering learning state
  bridge0: port 1(wlan0) entering forwarding state
  bridge0: topology change detected, propagating
  eth0: NE2000 Compatible: io 0xc281e300, irq 42, hw_addr 00:C0:1B:04:FB:7F
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  wlan0: AP queue full - dropping new message
  device eth0 entered promiscuous mode
  bridge0: port 2(eth0) entering listening state
  bridge0: port 2(eth0) entering learning state
  bridge0: port 2(eth0) entering forwarding state
  bridge0: topology change detected, propagating
  bridge0: received tcn bpdu on port 2(eth0)
  bridge0: topology change detected, propagating
  AP: packet to non-associated STA 00:05:5d:df:e1:32   wlan0: TXEXC - fid=0x017a - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x0a08 (Data::0 FromDS)
     A1=00:05:5d:df:e1:32 A2=00:02:6f:01:c0:f9 A3=00:05:4e:81:01:fd
A4=00:00:00:00
:00:00

  wlan0: Could not find STA for this TX error   AP: packet to non-associated STA 00:05:5d:df:e1:32   AP: packet to non-associated STA 00:05:5d:df:e1:32   wlan0: TXEXC - fid=0x027a - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x0a08 (Data::0 FromDS)
     A1=00:05:5d:df:e1:32 A2=00:02:6f:01:c0:f9 A3=00:02:6f:01:c0:f9
A4=00:00:00:00
:00:00

  wlan0: Could not find STA for this TX error   wlan0: TXEXC - fid=0x00be - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x0a08 (Data::0 FromDS)
     A1=00:05:5d:df:e1:32 A2=00:02:6f:01:c0:f9 A3=00:02:6f:01:c0:f9
A4=00:00:00:00
:00:00

  wlan0: Could not find STA for this TX error   AP: packet to non-associated STA 00:05:5d:df:e1:32   wlan0: TXEXC - fid=0x0265 - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x0a08 (Data::0 FromDS)
     A1=00:05:5d:df:e1:32 A2=00:02:6f:01:c0:f9 A3=00:02:6f:01:c0:f9
A4=00:00:00:00
:00:00

  wlan0: Could not find STA for this TX error   AP: packet to non-associated STA 00:05:5d:df:e1:32   wlan0: TXEXC - fid=0x0243 - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x0a08 (Data::0 FromDS)
     A1=00:05:5d:df:e1:32 A2=00:02:6f:01:c0:f9 A3=00:05:4e:81:01:fd
A4=00:00:00:00
:00:00

  wlan0: Could not find STA for this TX error   wlan0: authentication: 00:05:4e:81:02:94 len=6, auth_alg=0, auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: AP trying to authenticate?
  wlan0: TXEXC - fid=0x0265 - status=0x0001 ([RetryErr]) tx_control=000c
     retry_count=0 tx_rate=0 fc=0x08b0 (Mgmt::11)
     A1=00:05:4e:81:02:94 A2=00:02:6f:01:c0:f9 A3=00:02:6f:01:c0:f9
A4=00:00:00:00
:00:00

  wlan0: STA 00:05:4e:81:02:94 TX rate lowered to 55   wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0, auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: new STA 00:05:4e:81:01:fd
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - new AID 1

  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0,
auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - old AID 1   wlan0: authentication: 00:05:4e:81:04:d9 len=6, auth_alg=0, auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: AP trying to authenticate?
  wlan0: TXEXC - fid=0x00c5 - status=0x0001 ([RetryErr]) tx_control=000c

     retry_count=0 tx_rate=0 fc=0x08b0 (Mgmt::11)
     A1=00:05:4e:81:04:d9 A2=00:02:6f:01:c0:f9 A3=00:02:6f:01:c0:f9
A4=00:00:00:00
:00:00

  wlan0: STA 00:05:4e:81:04:d9 TX rate lowered to 55   wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0, auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - old AID 1

  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0,
auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - old AID 1   wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0, auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - old AID 1

  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: WEP decryption failed (SA=00:05:4e:81:01:fd)
  wlan0: authentication: 00:05:4e:81:01:fd len=6, auth_alg=0,
auth_transaction=1,
  status_code=0, fc=0x00b0
  wlan0: association request: from 00:05:4e:81:01:fd to 00:02:6f:01:c0:f9 len=17

    capability=0x0011, listen_interval=1 - old AID 1   [pxadmin_at_Linux /root]$



This archive was generated by hypermail 2.1.4.