[PATCH v2] hostapd: Only send own Neighbor Report when requested
Jouni Malinen
j at w1.fi
Sat Oct 24 12:33:12 PDT 2026
On Fri, Sep 18, 2026 at 05:32:25PM +0100, Tim Small wrote:
> Every known Neighbor Report that matches the requested SSID is sent in the
> Neighbor Report Response, including a report for the sending BSSID itself.
> According to IEEE 802.11-2024 (11.10.10.3), a neighbor report for the
> sending BSSID need only be included when the request includes an LCI or
> Location Civic Measurement Request.
>
> Signed-off-by: Pablo Martin-Gomez <pmartin-gomez at freebox.fr>
> [tim at seoss.co.uk: commit message reworded, checked vs 802.11-2024 spec]
> Signed-off-by: Tim Small <tim at seoss.co.uk>
> Tested-By: Tim Small <tim at seoss.co.uk>
This would change the author information, so I ended up applying the
original email with cleanup. This subclause in the standard is quite
unclear, but I agree that this change in the implementation seems to
match the intent of this functionality. This required some additional
changes to hwsim test cases to avoid breaking them since a couple of
them assumed the reporting AP would include its own neighbor entry in
all cases.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list