[PATCH] NAN: Do not clear NAN NDL state on failure

Jouni Malinen j at w1.fi
Wed May 20 02:21:10 PDT 2026


On Wed, May 13, 2026 at 09:59:00AM +0300, Andrei Otcheretianski wrote:
> When an  NDP response is rejected by the subscriber a NAF with
> rejection status needs to be sent to the publisher. Since
> in the NDL processing of the NDP rejection, the peer NMI
> station is removed and with it the resource allocated to it,
> e.g., peer schedule etc., the NAF would be sent on the
> general resources of NAN Device and the transmission
> can be delayed (or even dropped).
> 
> To fix this, when a NAF is expected to be sent to the peer,
> do not remove the peer NMI station (it would be removed on
> Tx status handling). This way, the NAF would be sent using
> the resources allocated to the station.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list