ACS: Add link id if operating as an AP MLD
ACS is triggered per link, so link id is needed for the driver to handle when the ACS operation is offloaded. Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
This commit is contained in:
parent
1abdeaa412
commit
0e91a86ec5
3 changed files with 15 additions and 3 deletions
|
@ -1095,6 +1095,12 @@ int hostapd_drv_do_acs(struct hostapd_data *hapd)
|
|||
|
||||
os_memset(¶ms, 0, sizeof(params));
|
||||
params.hw_mode = hapd->iface->conf->hw_mode;
|
||||
params.link_id = -1;
|
||||
#ifdef CONFIG_IEEE80211BE
|
||||
if (hapd->conf->mld_ap && hapd->iconf->ieee80211be &&
|
||||
!hapd->conf->disable_11be)
|
||||
params.link_id = hapd->mld_link_id;
|
||||
#endif /* CONFIG_IEEE80211BE */
|
||||
|
||||
/*
|
||||
* If no chanlist config parameter is provided, include all enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue