EHT: Send puncturing bitmap to the driver for AP bring up

Send the user configured puncturing bitmap to the driver.

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
This commit is contained in:
Aloka Dixit 2023-03-13 21:59:19 -07:00 committed by Jouni Malinen
parent f9fc2eabbd
commit 4942b19fff
3 changed files with 20 additions and 0 deletions

View file

@ -2101,6 +2101,10 @@ static int __ieee802_11_set_beacon(struct hostapd_data *hapd)
params.fd_frame_tmpl = hostapd_fils_discovery(hapd, &params);
#endif /* CONFIG_FILS */
#ifdef CONFIG_IEEE80211BE
params.punct_bitmap = iconf->punct_bitmap;
#endif /* CONFIG_IEEE80211BE */
if (cmode &&
hostapd_set_freq_params(&freq, iconf->hw_mode, iface->freq,
iconf->channel, iconf->enable_edmg,