On 8/16/24 12:59 AM, Aditya Kumar Singh wrote: > On 8/16/24 10:02, Alex Gavin wrote: >> The following is a selection from the configuration file when configuring the AP >> for 320MHz operation: >> >> ieee80211be=1 >> channel=37 >> op_class=137 >> he_oper_centr_freq_seg0_idx=31 > > This seem wrong? HE does not support 320 bandwidth and hence the idx > should be w.r.t to 160 which should be 47. > Thank you for the quick reply and for pointing this out. I missed this in the config file documentation. Changing the 'he_oper_centr_freq_seg0_idx' value as you suggested addressed the issue. >> With the following hacked changes, I am able to associate AX clients again: >> >> diff --git a/src/ap/ieee802_11_he.c b/src/ap/ieee802_11_he.c >> index a2deda6c4..8b00abad1 100644 >> --- a/src/ap/ieee802_11_he.c >> +++ b/src/ap/ieee802_11_he.c >> @@ -252,7 +252,7 @@ u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) >> * bits 3-5: Regulatory Info >> */ >> /* Channel Width */ >> - if (seg1) >> + if (seg1 || oper_chwidth == CONF_OPER_CHWIDTH_320MHZ) >> control = 3; >> else >> control = center_idx_to_bw_6ghz(seg0); > > So here it will go to center_idx_to_bw_6ghz with value 47 which should > return 3 which is what is expected. > Understood. -- Alex Gavin Candela Technologies, USA (PST/GMT-8) Please CC support@xxxxxxxxxxxxxxx on support topics. _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap