[Click] madwifi, click malformed packets

Anatolij Zubow zubow at informatik.hu-berlin.de
Fri Oct 14 11:30:53 EDT 2005


Hi,

We are running in some problems with the madwifi (current cvs snapshot;
not the stripped one) driver in combination with click. Here is our
configuration:

(1) madwifi & kernel click:

insmod ath_hal.ko
insmod wlan.ko
insmod ath_rate_onoe.ko
insmod ath_pci.ko
insmod proclikefs.ko
insmod click.ko
/sbin/sysctl -w dev.ath0.rawdev_type=2
/sbin/sysctl -w dev.ath0.rawdev=1
/sbin/sysctl -w dev.ath0.rxfilter=0xff
mkdir -p /tmp/click
mount -t click none /tmp/click

(2) simple click script
FromDevice(ath0raw)  //-> Prism2Decap()
  -> RadiotapDecap()
...
  -> ICMPPingResponder
...
  -> RadiotapEncap()
  -> ToDevice(ath0raw);

The problem is that we have a great ping delay (20 ms) because of a huge
amount of malformed packets. Output of tcpdump -i ath0

03:44:09.132736 IP 10.9.1.30 > 10.9.1.1: icmp 40: echo request seq 63757
03:44:09.141099 arp who-has 10.9.1.1 tell 10.9.2.2
03:44:09.226752 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.288108 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.291441 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.389737 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.393824 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.491495 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.496270 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.594258 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.598640 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.696989 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.701090 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.798712 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.803466 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.901460 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:09.905908 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:10.004171 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:10.008253 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:
03:44:10.105910 [|llc]00:0e:35:a2:e4:31 > 00:0f:b5:3f:21:3c, 802.3,
length 14:

What's wrong?

Greetings,
Tolja

Appendix:
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
wlan: 0.8.5.0-BSD (EXPERIMENTAL)
ath_rate_onoe: 1.0
ath_pci: 0.9.5.0-BSD (EXPERIMENTAL)
Build date: Oct 13 2005
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps
54Mbps
ath0: H/W encryption support: WEP AES AES_CCM TKIP
ath0: mac 5.9 phy 4.3 radio 4.6
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ath0: Atheros 5212: mem=0x40000000, irq=2
click: starting router thread pid 1385 (81118774)
ath0: resetting
ath0: resetting
ath0: resetting




More information about the click mailing list