|
communicating driver tx status to kernel
Kernel intiates packet transmission using hard_start_xmit().
This function returns when the software is done instructing the hardware about packet transmission, but hardware transmission will likely not have been completed (like waiting for ack).
The question is how do we communicate the hardware status ( like recived ack or tx failed) to the kernel's network sublayer, so that the same packet can be re-queued by the kernel for tarnsmission if the satus is a failure.
This issue is encountered while writing a network driver for wlancard. Can anyone clarify on this issue.
Thanks in advance.
|