From: Henry Qian <henry@am...> - 2003-10-24 11:58:13
> As a side note, I wonder why the tx timeout is triggered only=20
> when the queue is stopped (see=20
> linux-2.4.22/net/sched/sch_generic.c:dev_watchdog). It would=20
> seem more logical to me to trigger it even when the queue is=20
> running. Anyone ?
In hostap watchdog timer starts at the beginning of each packet =
transmitting and gets reset when it receives a transmit done interrupt. =
But hostap is dealing with Prism firmware, it ensures the firmware acts =
probably. Otherwise watchdog timeout will cause chip reset and =
therefore brings the firmware back.
In madwifi there's no firmware, so if there's a problem at transmitting, =
the queue will be backed up. Once the queue is full, the queue is =
stopped and watchdog timer starts. Eventually it has the same effect, =
but works more efficient.