Re: [PATCH rtw-next v2] wifi: rtw88: program the beacon interval
From: Ping-Ke Shih
Date: Tue Nov 17 2026 - 21:06:13 EST
Mehmet Fide <mehmet.fide@xxxxxxxxx> wrote:
> From: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
>
> The driver never writes the beacon interval register, so the hardware
> keeps its default of 100 TU. An AP or IBSS started with another
> interval says that interval in its beacons and sends them 100 TU apart.
>
> With beacon_int=200 in hostapd the beacons of an RTL8822CE, RTL8822CU,
> RTL8822BU and RTL8821CU are 102.4 ms apart on the air. The same holds
> for an IBSS joined with a beacon interval of 200 on an RTL8822CE and
> RTL8822BU.
>
> Write the interval when mac80211 sets it for an AP or IBSS interface.
> Both beacon from port 0: rtw_core_port_switch() moves an AP there, and
> an IBSS interface is never combined with another one.
>
> Reported-by: Luka Gejak <luka.gejak@xxxxxxxxx>
> Closes: https://lore.kernel.org/linux-wireless/1D396970-35B7-4B0B-82E9-24B523AD69C2@xxxxxxxxx/
> Fixes: e3037485c68e ("rtw88: new Realtek 802.11ac driver")
> Signed-off-by: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Luka Gejak <luka.gejak@xxxxxxxxx>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
0bdc579dbfc2 wifi: rtw88: program the beacon interval
---
https://github.com/pkshih/rtw.git