https://bugs.kde.org/show_bug.cgi?id=449265
Chris <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #29 from Chris <[email protected]> --- **Suggested title (if a new report is requested):** Plasma-NM hotspot rejects some Android clients unless CCMP group and pairwise ciphers are explicitly configured ### DESCRIPTION I can reproduce the encrypted Wi-Fi hotspot compatibility issue described in bug 449265 on CachyOS with KDE Plasma 6.8.2, NetworkManager 1.58.1, and `wpa_supplicant` 2.12. The hotspot created by the standard Plasma network applet is visible to both a Samsung Galaxy S24 Ultra and a Galaxy Tab S6 Lite. The phone connects, but the tablet repeatedly fails to connect. After investigating the generated NetworkManager connection and testing different security settings, I confirmed that explicitly setting both the group and pairwise ciphers to CCMP allows both Android devices to connect. I subsequently built a locally patched `plasma-nm 6.8.2` package, adding those two settings directly to KDE's hotspot creation code. The KDE hotspot worked with this patched package. ### STEPS TO REPRODUCE 1. On a Linux workstation using NetworkManager and `wpa_supplicant`, open the KDE Plasma network applet. 2. Create an encrypted hotspot using KDE's normal hotspot button. 3. Connect a Samsung Galaxy S24 Ultra and a Galaxy Tab S6 Lite to the hotspot. 4. Observe the tablet connection failure. 5. As a workaround, modify the generated hotspot connection using: `nmcli connection modify "HOTSPOT_NAME" 802-11-wireless-security.group ccmp 802-11-wireless-security.pairwise ccmp` 6. Reactivate the modified hotspot connection and try connecting the tablet again. ### OBSERVED RESULT Without explicit cipher restrictions, the Samsung Galaxy Tab S6 Lite fails to connect, although the Galaxy S24 Ultra can connect. During debugging, `wpa_supplicant` received probe requests from the tablet, but the tablet did not complete association. The log also included: `nl80211: Not enough room for all AKM suites (num_suites=3 > 2)` I have not established that this warning is the direct cause of the failure. With both `group=ccmp` and `pairwise=ccmp`, both devices successfully connect to the same hotspot. Wireless station information showed both clients authenticated, associated and authorized. ### EXPECTED RESULT A WPA2-Personal hotspot created through the KDE Plasma network applet should allow compatible WPA2/CCMP clients to connect without requiring manual modification of its temporary NetworkManager connection. ### SOFTWARE/OS VERSIONS Operating System: CachyOS (Arch Linux-based) Hardware: Lenovo ThinkPad P1 Gen 4, Intel AX210 Wi-Fi adapter KDE Plasma Version: 6.8.2 KDE Frameworks Version: [confirm using kinfo] Qt Version: [confirm using kinfo] plasma-nm: 6.8.2 NetworkManager: 1.58.1 wpa_supplicant: 2.12 ### ADDITIONAL INFORMATION The original failure was investigated separately from a UFW firewall issue that initially blocked hotspot DHCP traffic. The firewall problem was resolved before testing the remaining Wi-Fi association failure. The temporary cipher-only workaround was validated first, without modifying `802-11-wireless-security.proto`. Protected Management Frames were also tested separately and did not resolve the problem. I then applied the following local source change to `libs/handler.cpp`, inside `Handler::createHotspotInternal()` and the `useApMode` branch: ```diff wifiSecurity->setKeyMgmt(NetworkManager::WirelessSecuritySetting::WpaPsk); +wifiSecurity->setGroup({NetworkManager::WirelessSecuritySetting::Ccmp}); +wifiSecurity->setPairwise({NetworkManager::WirelessSecuritySetting::Ccmp}); wifiSecurity->setPsk(Configuration::self().hotspotPassword()); ``` The patch applied cleanly to KDE's signed 6.8.2 source, compiled successfully, and produced a working custom Plasma-NM package. This is consistent with earlier findings in comments 14, 16 and 19 of this bug. I would like to contribute the change upstream through KDE Invent, subject to maintainer review, particularly regarding cipher restrictions and WPA2/WPA3 compatibility. **AI assistance disclosure:** ChatGPT assisted with analyzing diagnostic logs, identifying the relevant source location, generating the small patch, and preparing this report. The command outputs, connection tests, successful manual CCMP workaround, local package build and working patched hotspot were personally executed and observed on my own hardware. This report has been prepared for human review and verification before submission. -- You are receiving this mail because: You are watching all bug changes.
