HE: Option to disable HE ER SU in HE operation in AP mode
Add option to disable 242-tone HE ER SU PPDU reception by the AP in HE operation IE. Signed-off-by: Shay Bar <shay.bar@celeno.com>
This commit is contained in:
parent
63f043f4fd
commit
f02ac5140c
4 changed files with 11 additions and 0 deletions
|
@ -3515,6 +3515,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
|
|||
conf->he_op.he_twt_responder = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_rts_threshold") == 0) {
|
||||
conf->he_op.he_rts_threshold = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_er_su_disable") == 0) {
|
||||
conf->he_op.he_er_su_disable = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_basic_mcs_nss_set") == 0) {
|
||||
conf->he_op.he_basic_mcs_nss_set = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_mu_edca_qos_info_param_count") == 0) {
|
||||
|
|
|
@ -841,6 +841,11 @@ wmm_ac_vo_acm=0
|
|||
# unsigned integer = duration in units of 16 us
|
||||
#he_rts_threshold=0
|
||||
|
||||
#he_er_su_disable: Disable 242-tone HE ER SU PPDU reception by the AP
|
||||
# 0 = enable reception (default)
|
||||
# 1 = disable reception
|
||||
#he_er_su_disable=0
|
||||
|
||||
# HE operating channel information; see matching vht_* parameters for details.
|
||||
# he_oper_centr_freq_seg0_idx field is used to indicate center frequency of 80
|
||||
# and 160 MHz bandwidth operation. In 80+80 MHz operation, it is the center
|
||||
|
|
|
@ -916,6 +916,7 @@ struct he_operation {
|
|||
u8 he_twt_required;
|
||||
u8 he_twt_responder;
|
||||
u16 he_rts_threshold;
|
||||
u8 he_er_su_disable;
|
||||
u16 he_basic_mcs_nss_set;
|
||||
};
|
||||
|
||||
|
|
|
@ -192,6 +192,9 @@ u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid)
|
|||
params |= (hapd->iface->conf->he_op.he_rts_threshold <<
|
||||
HE_OPERATION_RTS_THRESHOLD_OFFSET);
|
||||
|
||||
if (hapd->iface->conf->he_op.he_er_su_disable)
|
||||
params |= HE_OPERATION_ER_SU_DISABLE;
|
||||
|
||||
if (hapd->iface->conf->he_op.he_bss_color_disabled)
|
||||
params |= HE_OPERATION_BSS_COLOR_DISABLED;
|
||||
if (hapd->iface->conf->he_op.he_bss_color_partial)
|
||||
|
|
Loading…
Reference in a new issue