Stop data transmission when link status is DISCONNECTED
Tue Jun 12 03:07:25 PDT 2007
I'm trying to modify the roaming support in Host AP, and I
force a disconnection when I want to change AP (I tried by just
issuing a JoinRequest - while in host_roaming mode 2 of course -,
that did not work).
Now I'm using local->func->reset_port() to force a
and JoinRequests issued after the reset are successful.
However, I noticed that, in presence of traffic, several frames are
lost between the reset and the establishment of the new association,
with "status=0x0004 ([Discon])".
So my questions are:
- is the port
reset the right way to make JoinRequests work?
- does anyone know how
to avoid packet losses? Is there any way
to inform the upper layers
not to send data anymore and then to restart?
More information about the Hostap