Madwifi seems to have problems handling multicast packets correctly, this causes many problems for protocols like OSPF that use multicast for hello and link status packets.
We have observed two problems while running point-to-point links in Managed mode:
- Multicast packets are randomly dropped (mainly in AP->client direction)
- the AP receives duplicate copies of packets sent from a client
Problem 2 does not seem to have adverse effects, problem 1 results in protocols such as OSPF "flapping" on the link.
I have placed two TCP dumps showing this behaviour at:
MPH is the client at 10.1.236.1 http://www.crc.net.nz/~mglb1/madwifi/mph-tcpdump
MFR is the AP at 10.1.236.254 http://www.crc.net.nz/~mglb1/madwifi/mfr-tcpdump
Both hosts have several other OSPF speaking interfaces that do not exhibit this behaviour. We have also observed the duplicate multicast packets received at AP problem on links where the madwifi driver is used for the AP and another card (Orinoco (Hermes) orinoco_cs driver) is used as the client. There also seems to be some packet loss in this situation, but much much less frequently than in a scenario with 2 madwifi cards.
Hardware:
- Soekris Biscuit PCs
- Wistron CM9 Cards
Software Versions on MPH and MFR:
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
wlan: 0.8.6.0 (EXPERIMENTAL)
ath_rate_sample: 1.2
ath_pci: 0.9.6.0 (EXPERIMENTAL)
Build date: Sep 15 2005
Debugging version (IEEE80211)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
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: turboA rates: 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 3.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
Debugging version (ATH)
ath0: Atheros 5212: mem=0xa0000000, irq=10
I have not tried to reproduce the problem with madwifi-ng yet.