[PATCH] ANQP/hostapd: RNR response to RNR query to ANQP query through action frame.

Jouni Malinen j at w1.fi
Sat Apr 9 03:55:53 PDT 2022

On Fri, Jan 21, 2022 at 02:14:52PM +0100, sharadanandk at gmail.com wrote:
> STA can query for RNR report from ANQP action frame.
> Parse all the interfaces and fill the RNR information.
> Doing this allows station to discover networks on other frequencies
> which were announced throgh RNR in the ANQP RNR response,
> e. g. for multi-media APs in WiFi 6e.

This seems to be talking about AP mode functionality and hostapd, but..

> ---
>  wpa_supplicant/interworking.c | 37 +++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)

This is modifying wpa_supplicant Interworking functionality..

> diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
> +static void anqp_add_rnr(struct wpa_supplicant *wpa_s,
> +			   struct wpa_bss_anqp *anqp,
> +			   const u8 *data, size_t slen)
> +{
> +	struct wpa_bss_anqp_rnr *tmp, *elem = NULL;

struct wpa_bss_anqp_rnr is not defined anywhere, so clearly this is
missing something. There would also be no users for this information, so
it is not clear what this patch is trying to achieve.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list