mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Georg Müller" <georgmueller@gmx.net>
To: mehmet.fide@gmail.com, Jes.Sorensen@gmail.com
Cc: rtl8821cerfe2@gmail.com, pkshih@realtek.com, hi@shreyan.sh,
	mehmet.fide@screeningeagle.com, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Georg Müller" <georgmueller@gmx.net>
Subject: [RFC PATCH v4 0/5] wifi: rtl8xxxu: implement AP mode for 8188EU
Date: Thu, 26 Nov 2026 11:57:37 +0100	[thread overview]
Message-ID: <20261126105742.1086282-1-georgmueller@gmx.net> (raw)
In-Reply-To: <20261126054350.2893087-1-mehmet.fide@gmail.com>

This series tries to implement AP mode for Realtek RTL8188EU chips.

As requested by Mehmet, this is my current state so he can continue
with it. It builds, but I did not test it on hardware since v3.

Still open, see the discussion in the v3 thread:
- RTL8188E_MAX_MAC_ID_NUM is still 16; Bitterblue suggested 64.
- Beacons: the hardware clears the beacon queue after the first
  beacon (REG_MBID_NUM), and the TBTT hold time differs from the
  vendor driver. Mehmet has fixes for both.
- Enabling AP mode (patch 4) should move to the end of the series,
  after the beacon fixes.
- max_ap_assoc_sta is max_macid_num - 1, but mac ids 0 and 1 are
  reserved, so the last allowed station is refused with -ENOSPC.

---
Changes in v4:
- add commit messages and missing Signed-off-by
- allocate ra_info with devm_kcalloc() on the USB interface in probe
- limit the TX report items to RTL8188E_MAX_MAC_ID_NUM
- refuse stations whose mac id has no ra_info entry
- add patch to set the macid in the TX descriptor; fall back to
  ra_info[0] when macid is a security CAM index
Changes in v3:
- fix compile errors caused by testing on machine with older kernel
Changes in v2:
- add patch to move dynamic_tx_rpt_timing_counter from ra_info to priv
- convert ra_info to a dynamic array
- update max report mac id after station add/remove

v3: https://lore.kernel.org/all/20260313135321.3196688-1-georgmueller@gmx.net/

Georg Müller (5):
  wifi: rtl8xxxu: move dynamic_tx_rpt_timing_counter from ra_info to
    priv
  wifi: rtl8xxxu: handle rate control per mac_id for 8188e
  wifi: rtl8xxxu: update max report mac id on station add / remove for
    8188e chips
  wifi: rtl8xxxu: Enable AP mode for RTL8188EU
  wifi: rtl8xxxu: set macid in TX descriptor for 8188e

 drivers/net/wireless/realtek/rtl8xxxu/8188e.c | 28 +++++----
 drivers/net/wireless/realtek/rtl8xxxu/core.c  | 57 +++++++++++++++++--
 .../net/wireless/realtek/rtl8xxxu/rtl8xxxu.h  |  5 +-
 3 files changed, 72 insertions(+), 18 deletions(-)


base-commit: 4dce97c6c265544342e716e62fd24bbb232590c5
-- 
2.56.1


  reply	other threads:[~2026-11-26 10:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-13 13:53 [RFC PATCH v3 0/4] " Georg Müller
2026-03-13 13:53 ` [RFC PATCH v3 1/4] wifi: rtl8xxxu: move dynamic_tx_rpt_timing_counter from ra_info to priv Georg Müller
2026-03-16  6:17   ` Ping-Ke Shih
2026-03-16  9:30     ` Georg Müller
2026-03-17  2:52       ` Ping-Ke Shih
2026-03-13 13:53 ` [RFC PATCH v3 2/4] wifi: rtl8xxxu: handle rate control for 8188e a per mac_id Georg Müller
2026-03-16  6:35   ` Ping-Ke Shih
2026-03-16  9:41     ` Georg Müller
2026-03-13 13:53 ` [RFC PATCH v3 3/4] wifi: rtl8xxxu: update max report mac id on station add / remove for 8188e chips Georg Müller
2026-03-16  7:07   ` Ping-Ke Shih
2026-03-13 13:53 ` [RFC PATCH v3 4/4] wifi: rtl8xxxu: Enable AP mode for RTL8188EU Georg Müller
2026-03-13 23:14 ` [RFC PATCH v3 0/4] wifi: rtl8xxxu: implement AP mode for 8188EU Bitterblue Smith
2026-03-27 13:58   ` Georg Müller
2026-11-25 16:06     ` Mehmet Fide
2026-11-25 20:37       ` Bitterblue Smith
2026-11-26  1:09         ` Georg Müller
2026-11-26  5:43           ` Mehmet Fide
2026-11-26 10:57             ` Georg Müller [this message]
2026-11-26 10:57             ` [RFC PATCH v4 1/5] wifi: rtl8xxxu: move dynamic_tx_rpt_timing_counter from ra_info to priv Georg Müller
2026-11-26 10:57             ` [RFC PATCH v4 2/5] wifi: rtl8xxxu: handle rate control per mac_id for 8188e Georg Müller
2026-11-26 10:57             ` [RFC PATCH v4 3/5] wifi: rtl8xxxu: update max report mac id on station add / remove for 8188e chips Georg Müller
2026-11-26 10:57             ` [RFC PATCH v4 4/5] wifi: rtl8xxxu: Enable AP mode for RTL8188EU Georg Müller
2026-11-26 10:57             ` [RFC PATCH v4 5/5] wifi: rtl8xxxu: set macid in TX descriptor for 8188e Georg Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126105742.1086282-1-georgmueller@gmx.net \
    --to=georgmueller@gmx.net \
    --cc=Jes.Sorensen@gmail.com \
    --cc=hi@shreyan.sh \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mehmet.fide@gmail.com \
    --cc=mehmet.fide@screeningeagle.com \
    --cc=pkshih@realtek.com \
    --cc=rtl8821cerfe2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®