Re: [PATCH] wifi: rtl8xxxu: Enable AP mode for RTL8188EU

From: Bitterblue Smith

Date: Thu Mar 12 2026 - 18:20:32 EST


On 12/03/2026 19:06, Bitterblue Smith wrote:
> On 12/03/2026 18:08, Georg Müller wrote:
>>
>> Am 12.03.26 um 16:58 schrieb Bitterblue Smith:
>>> On 12/03/2026 16:21, Georg Müller wrote:
>>>> Allow devices with this driver to be used as a wireless access point.
>>>>
>>>> I successfully tested this with a TP-Link TP-Link TL-WN725N adapter.
>>>>
>>>> Experiments two years ago failed, but some other improvements to the
>>>> driver seemed to have resolved theses issues.
>>>>
>>>
>>> The rate control code still doesn't handle more than one station.
>>> It's not going to work right.
>>>
>>> It shouldn't be too complicated. The ra_info member of rtl8xxxu_priv
>>> needs to become an array.
>>
>> Ok, I have only tested it with one client in my setup.
>>
>> So the ra_info array needs to of size max_macid_num?
>> Dynamically allocated or hard-coded in struct rtl8xxxu_priv (8188e seems
>> to be the only user of struct rtl8xxxu_ra_info)?
>>
>
> Yes. :)
>
> Also, if I remember correctly, there was a member of rtl8xxxu_ra_info
> that needs to be moved to rtl8xxxu_priv, because it's a global thing,
> not per macid.
>

Ah, we talked about it before:
https://lore.kernel.org/linux-wireless/938ae608-a865-4056-06de-c230d74e1847@xxxxxxxxx/

>> Best regards,
>> Georg
>>
>