diff mbox series

AP doesn't work at 5 GHz after upgrading hostapd from 2.10 to 2.11

Message ID CY5PR05MB9069F5BEC30DBB7E1AE7BF92BF4FA@CY5PR05MB9069.namprd05.prod.outlook.com
State New
Headers show
Series AP doesn't work at 5 GHz after upgrading hostapd from 2.10 to 2.11 | expand

Commit Message

Antony Kolitsos July 7, 2025, 4:23 p.m. UTC
Same issue on the Linksys ea3500/4500 devices with Marvell 88W8366 WLAN chipsets. Applying the following patch resolves my issue:
diff mbox series

Patch

--- a/src/ap/beacon.c
+++ b/src/ap/beacon.c
@@ -88,11 +88,13 @@  static u8 ieee802_11_erp_info(struct hos
 
 static u8 * hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid)
 {
+#if defined(CONFIG_IEEE80211AC) || defined(CONFIG_IEEE80211AX) || defined(CONFIG_IEEE80211BE)
      enum hostapd_hw_mode hw_mode = hapd->iconf->hw_mode;
 
      if (hw_mode != HOSTAPD_MODE_IEEE80211G &&
          hw_mode != HOSTAPD_MODE_IEEE80211B)
            return eid;
+#endif /* CONFIG_IEEE80211AC || CONFIG_IEEE80211AX || CONFIG_IEEE80211BE */
 
      *eid++ = WLAN_EID_DS_PARAMS;
      *eid++ = 1;