Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> --- hostapd/config_file.c | 10 ++++++++++ src/ap/ap_config.h | 17 +++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 76f9cf8311..da13a87a02 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -4744,6 +4744,16 @@ static int hostapd_config_fill(struct hostapd_config *conf, conf->eht_phy_capab.su_beamformee = atoi(pos); } else if (os_strcmp(buf, "eht_mu_beamformer") == 0) { conf->eht_phy_capab.mu_beamformer = atoi(pos); + } else if (os_strcmp(buf, "mld_ap") == 0) { + bss->mld_ap = !!atoi(pos); + } else if (os_strcmp(buf, "mld_id") == 0) { + bss->mld_id = atoi(pos); + } else if (os_strcmp(buf, "mld_link_id") == 0) { + bss->mld_link_id = atoi(pos); + } else if (os_strcmp(buf, "mld_eml_capa") == 0) { + bss->mld_eml_capa = atoi(pos); + } else if (os_strcmp(buf, "mld_mld_capa") == 0) { + bss->mld_mld_capa = atoi(pos); #endif /* CONFIG_IEEE80211BE */ } else { wpa_printf(MSG_ERROR, diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h index 1631cf2aac..14253a0549 100644 --- a/src/ap/ap_config.h +++ b/src/ap/ap_config.h @@ -919,6 +919,23 @@ struct hostapd_bss_config { u8 rnr; char *config_id; bool xrates_supported; + +#ifdef CONFIG_IEEE80211BE + /* The AP is part of an MLD AP */ + u8 mld_ap; + + /* The MLD ID to which the MLD AP is affiliated with */ + u8 mld_id; + + /* The AP's link ID within the MLD AP */ + u8 mld_link_id; + + /* The AP's EML capabilities */ + u16 mld_eml_capa; + + /* The AP's MLD capabilities */ + u16 mld_mld_capa; +#endif /* CONFIG_IEEE80211BE */ }; /** -- 2.38.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap