Multi-AP: Allow supported profile to be configured
Allow both hostapd and wpa_supplicant to be configured with the supported Multi-AP profile. The configured value will be advertised in the Multi-AP element. Signed-off-by: Manoj Sekar <quic_sekar@quicinc.com>
This commit is contained in:
parent
c3e5286537
commit
420afbdbdf
11 changed files with 37 additions and 0 deletions
|
@ -163,6 +163,8 @@ void hostapd_config_defaults_bss(struct hostapd_bss_config *bss)
|
|||
/* Default to strict CRL checking. */
|
||||
bss->check_crl_strict = 1;
|
||||
|
||||
bss->multi_ap_profile = MULTI_AP_PROFILE_2;
|
||||
|
||||
#ifdef CONFIG_TESTING_OPTIONS
|
||||
bss->sae_commit_status = -1;
|
||||
bss->test_assoc_comeback_type = -1;
|
||||
|
|
|
@ -800,6 +800,7 @@ struct hostapd_bss_config {
|
|||
#define BACKHAUL_BSS 1
|
||||
#define FRONTHAUL_BSS 2
|
||||
int multi_ap; /* bitmap of BACKHAUL_BSS, FRONTHAUL_BSS */
|
||||
int multi_ap_profile;
|
||||
|
||||
#ifdef CONFIG_AIRTIME_POLICY
|
||||
unsigned int airtime_weight;
|
||||
|
|
|
@ -100,6 +100,8 @@ static u8 * hostapd_eid_multi_ap(struct hostapd_data *hapd, u8 *eid, size_t len)
|
|||
if (hapd->conf->multi_ap & FRONTHAUL_BSS)
|
||||
multi_ap.capability |= MULTI_AP_FRONTHAUL_BSS;
|
||||
|
||||
multi_ap.profile = hapd->conf->multi_ap_profile;
|
||||
|
||||
return eid + add_multi_ap_ie(eid, len, &multi_ap);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue