how to retrieve stat info in driver from application?

Jouni Malinen jkmaline at cc.hut.fi
Sun Apr 10 21:16:20 EDT 2005


On Sun, Apr 10, 2005 at 07:23:59PM -0400, Amy, Mei-Hsuan Lu wrote:

> Recently I am writing a UDP socket application. My problem is that when
> sendto() returns, it does not mean the packet is sent successfully by
> driver. However, I hope my application can get this info and decide to
> retry without waiting to NACK from the receiver side. The user
> application seems having no way to know such information. Does anybody
> know any good way to get this information from in a user application? 

Unfortunately, there is no generic mechanism for this. hostapd uses a
Host AP driver specific trick for this with TX status being reported as
an additional frame, but this is only supported on wlan0ap interface.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list