-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"could not add STA to kernel driver" mt7921u , ALFA AWUS036AXML #369
Comments
i can --PARTLY-- answer that myself. It looks like the mt7921u driver has a very low limit for associated stations, something like 16 or so -> mt792x.h the "worktable" aka WTBL seems to be pretty small , no idea why. Can we ramp up that limit ? |
im running:
i didnt use any specific guideline but the sample hostapd,conf from the SW maintainer website and adapted it, see attachment regards, |
The MT792x_WTBL_SIZE as seen above has something to do with the RAM which is available inside the USB device or not ? The ALFA device is able to load the BT firmware assoiated with the chipset, but hasnt got any bluetooth in real. is this a limitation by the firmware or can we just happily increase the #define, recompile and give it a go ? |
Hi @morrownr , is there any chance that a mediatek dev might look at this ? fixing/increasing the max conntected client amount (to maybe 64?) shouldnt be a big issue if there is enough RAM ( which i really suspect for this device) see here a related OpenWRT ticket: regards, |
Ask them: |
i repeatedly contacted Felix Fietkau , lets see . i havent got any reply |
This is still an issue, is there any way to work around this? Or is is possible to try and recompile the module? I have a AX3000 with the mt7921u module loaded running hostapd. I've tried this on Raspbian, Debian and Ubuntu 24.04. When I start hostapd everything runs fine. Anywhere between 16-20 clients I start getting the 'could not add STA to kernel driver'. This makes the USB stick unusable as an AP in my opinion. |
Hi,
im on kernel 6.6.12 and running hostapd on the mt7921u device
Is this a hardware limit ? i didnt count the exact number of connected clients , its around 12 only
Jan 19 07:24:59 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
Jan 19 07:24:59 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
Jan 19 07:24:59 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
Jan 19 07:24:59 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
Jan 19 07:25:01 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
Jan 19 07:25:02 odroid-h3 hostapd[213153]: wlx00c0cab38118: STA 94:e2:3c:f2:29:f7 IEEE 802.11: Could not add STA to kernel driver
regards,
Simon
The text was updated successfully, but these errors were encountered: