[PATCH V3 2/7] neighbor_db: set the co-locate bit
Jouni Malinen
j at w1.fi
Tue Dec 1 16:49:49 EST 2020
On Mon, Sep 21, 2020 at 01:50:57PM +0200, John Crispin wrote:
> If the BSS is co-located, the corresponding bit needs to be set inside
> bssid_info.
> diff --git a/src/ap/neighbor_db.c b/src/ap/neighbor_db.c
> @@ -260,6 +260,9 @@ void hostapd_neighbor_set_own_report(struct hostapd_data *hapd)
> + if (hapd->iconf->he_co_locate)
> + bssid_info |= NEI_REP_BSSID_INFO_HE_CO_LOCATED;
This is related to my points on the patch 1/7 regarding the meaning of
"co-located" and how it is set in different interfaces.. This subfield
indicates that the AP in this report is co-located with the AP sending
the element, so I'd guess this means the he_co_locate value needs to be
set consistently in all the interface configurations and that should be
noted in 1/7.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list