You are not logged in.

#26 2024-11-07 15:25:33

loqs
Member
Registered: 2014-03-06
Posts: 18,860

Re: [SOLVED] A Wi-Fi AP doesn't work after upgrading hostapd

Upstream hostapd only using a mailing list no bug tracker.

Offline

#27 2026-04-13 12:14:01

andreadaoud
Member
Registered: 2026-04-13
Posts: 1

Re: [SOLVED] A Wi-Fi AP doesn't work after upgrading hostapd

Hi all,

Actually, the bug lies in Realtek WiFi driver. Specifically, here:

https://github.com/RinCat/RTL88x2BU-Lin … _ap.c#L135

The driver assumes the DS Parameter Set is always present, and hardcodes an offset. The hardcoded offset += 3 should be replaced with an actual IE lookup, matching how SSID and Supported Rates are handled:

/* DS Parameter Set IE */
p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, _DSSET_IE_, &tmp_len,
               (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_));
if (p != NULL)
    offset += tmp_len + 2;

So I believe that the proper fix is to apply this to all Realtek's vendor drivers (which are a plenty, and seems all of them have this bug).

Last edited by andreadaoud (2026-04-13 12:14:33)

Offline

#28 2026-04-13 15:52:37

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,620
Website

Re: [SOLVED] A Wi-Fi AP doesn't work after upgrading hostapd

Mod note: Closing this old thread.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB