[PATCH v2 1/2] ANQP/hostapd RNR response to RNR query to ANQP query through action frame.

Jouni Malinen j at w1.fi
Sat Apr 9 07:23:05 PDT 2022


On Tue, Feb 22, 2022 at 03:37:20PM +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.

> ---
>  src/ap/gas_serv.c | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

This is missing something..

> diff --git a/src/ap/gas_serv.c b/src/ap/gas_serv.c
> +static void anqp_add_neighbor_report(struct hostapd_data *hapd,
> +                      struct wpabuf *buf)
> +{
> +	if (anqp_add_override(hapd, buf, ANQP_NEIGHBOR_REPORT))

ANQP_NEIGHBOR_REPORT is not defined.

> +			if (hostapd_prepare_neighbor_buf(iface->bss[0],
> +						iface->bss[0]->own_addr, buf)) {

hostapd_prepare_neighbor_buf() is not defined.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list