No description
- C 91.9%
- Shell 4.6%
- Meson 3.5%
Implemented complete Wi-Fi connection flow with authentication. Phase 4: Connection Management - Created passphrase authentication dialog (ui/wifi_auth.c) - Network selection handler in popup - Integrated agent with passphrase dialog - Complete connection flow: select network → auth dialog → agent → iwd - Support for open and secured (WPA2/WPA3) networks - Proper async D-Bus message handling in agent Features: - Passphrase dialog with password entry widget - Minimum 8-character passphrase validation - Network selection from popup (click to connect) - Open networks connect directly without dialog - Secured networks (psk, 8021x) show auth dialog - Agent stores pending D-Bus message for async reply - Passphrase sent securely to iwd via D-Bus - Memory cleared after passphrase transmission - Cancel button sends proper error reply to iwd - Network type detection (open/psk/8021x) Connection Flow: 1. User clicks network in popup 2. Check security type 3. If open: connect directly 4. If secured: show passphrase dialog 5. User enters passphrase 6. Agent receives RequestPassphrase from iwd 7. Dialog shows for network 8. User clicks Connect 9. Agent sends passphrase to iwd 10. iwd handles connection Agent Improvements: - Stores pending D-Bus message for async reply - Properly returns NULL to indicate async handling - Sends passphrase via eldbus_message_method_return_new - Cancellation sends error reply to iwd - Integrates with UI dialog system Module size: 191KB (increased from 152KB) Total lines: ~2,900 across 20 files Next phase: Advanced Features (hidden networks, multiple adapters, error handling) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| data | ||
| src | ||
| .gitignore | ||
| meson.build | ||
| meson_options.txt | ||