"9.4.2.243 HE Operation element" states that when no RTS threshold is set, the field should be set to 1023. This patch extends the if clause to do just that. Signed-off-by: John Crispin <john@xxxxxxxxxxx> --- src/ap/ieee802_11_he.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ap/ieee802_11_he.c b/src/ap/ieee802_11_he.c index 33f1ed14e..e940312cf 100644 --- a/src/ap/ieee802_11_he.c +++ b/src/ap/ieee802_11_he.c @@ -76,6 +76,9 @@ u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) oper->he_oper_params |= (hapd->iface->conf->he_op.he_rts_threshold << HE_OPERATION_RTS_THRESHOLD_OFFSET); + else + oper->he_oper_params |= + HE_OPERATION_RTS_THRESHOLD_MASK; if (hapd->iface->conf->he_op.he_bss_color) oper->he_oper_params |= -- 2.11.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap