EHT: Add configuration option for puncturing in AP mode

Add a new option to configure the disabled subchannel bitmap as per
IEEE P802.11be/D3.0, Figure 9-1002c (EHT Operation Information
field format).

Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
This commit is contained in:
Muna Sinada 2023-03-13 21:59:15 -07:00 committed by Jouni Malinen
parent 9e79439fcb
commit 9102fda31f
3 changed files with 10 additions and 0 deletions

View file

@ -4758,6 +4758,8 @@ 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, "punct_bitmap") == 0) {
conf->punct_bitmap = atoi(pos);
#endif /* CONFIG_IEEE80211BE */
} else {
wpa_printf(MSG_ERROR,

View file

@ -1027,6 +1027,13 @@ wmm_ac_vo_acm=0
#eht_oper_chwidth (see vht_oper_chwidth)
#eht_oper_centr_freq_seg0_idx
# Disabled subchannel bitmap (16 bits) as per IEEE P802.11be/3.0,
# Figure 9-1002c (EHT Operation Information field format). Each bit corresponds
# to a 20 MHz channel, the lowest bit corresponds to the lowest frequency. A
# bit set to 1 indicates that the channel is punctured (disabled). The default
# value is 0 indicating that all channels are active.
#punct_bitmap=0
##### IEEE 802.1X-2004 related configuration ##################################
# Require IEEE 802.1X authorization

View file

@ -1156,6 +1156,7 @@ struct hostapd_config {
enum oper_chan_width eht_oper_chwidth;
u8 eht_oper_centr_freq_seg0_idx;
struct eht_phy_capabilities_info eht_phy_capab;
u16 punct_bitmap; /* a bitmap of disabled 20 MHz channels */
#endif /* CONFIG_IEEE80211BE */
/* EHT enable/disable config from CHAN_SWITCH */