Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1432 (new defect)

Opened 14 years ago

Last modified 14 years ago

"ath_rate_sample: no rates for <own mac address here>?" in IBSS mode

Reported by: georg@boerde.de Assigned to:
Priority: major Milestone: version 0.9.4
Component: madwifi: driver Version: trunk
Keywords: rate lockup Cc:
Patch is attached: 1 Pending:

Description

When sending raw ethernet broadcast packets on an IBSS mode device, the card physically locks up after the rate module fails to find the right rate for its own MAC address.

This is a combination of at least two bugs:

  • A broadcast packet causes the unicast findrate() method to be called with the own MAC address
  • When no valid rate has been found, the card permanently blocks the channel by sending a carrier signal

A fix for the latter problem is attached: when the rate module fails to retun valid values, an error message is displayed and the values are sanitized.

Attachments

findrate-errors.diff (1.4 kB) - added by georg@boerde.de on 07/05/07 18:08:07.
Check if findrate() has set correct rate values.

Change History

07/05/07 18:08:07 changed by georg@boerde.de

  • attachment findrate-errors.diff added.

Check if findrate() has set correct rate values.

07/06/07 06:18:21 changed by mrenzmann

  • milestone set to version 0.9.4.

Thanks for the patch. Please sign it off so that it can be committed after being reviewed.

07/11/07 11:46:46 changed by georg@boerde.de

It already is :)

Btw, another slightly related issue is the an->an_prevdatarix variable. It is used in different places, but only initialized in the context of this patch, so it might be used uninitialized. I haven't found out yet where the best place would be to set it to a default value.