Skip to content

Feat/detect hotspot capabiliteis#12

Merged
AghastyGD merged 2 commits into
mainfrom
feat/detect-hotspot-capabiliteis
Jun 11, 2026
Merged

Feat/detect hotspot capabiliteis#12
AghastyGD merged 2 commits into
mainfrom
feat/detect-hotspot-capabiliteis

Conversation

@AghastyGD

@AghastyGD AghastyGD commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

This PR adds hotspot capability detection based on the actual capabilities reported by NetworkManager.

Previously, wiretray assumed that any Wi-Fi adapter could be used for hotspot creation. In reality, not all wireless adapters support Access Point (AP) mode, which could lead to incorrect capability reporting and failed hotspot creation attempts.

What's included

Access Point capability detection

  • Added support for reading WirelessCapabilities from NetworkManager.
  • Detects whether a Wi-Fi adapter supports Access Point (AP) mode.
  • Introduced DeviceCapabilities to model adapter capabilities.
  • Added Device::supports_hotspot() helper.

Improved hotspot capability validation

  • Hotspot support is now determined using actual adapter capabilities instead of simply checking for the presence of Wi-Fi devices.
  • Candidate devices are filtered to include only adapters that support hotspot creation.

Device information in Settings

  • Added a new Device Information page to the settings window.

  • Displays:

    • Network interface name
    • Hotspot support status

This provides users with visibility into whether their hardware is capable of creating hotspots.

Why

Different Wi-Fi adapters expose different capabilities.

By detecting AP support directly from NetworkManager, wiretray can provide more accurate validation, better user feedback, and a stronger foundation for future hotspot configuration features.

@AghastyGD AghastyGD self-assigned this Jun 11, 2026
@AghastyGD AghastyGD added the enhancement New feature or request label Jun 11, 2026
@AghastyGD AghastyGD linked an issue Jun 11, 2026 that may be closed by this pull request
@AghastyGD
AghastyGD merged commit d0f08e0 into main Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect Wi-Fi adapter hotspot capabilities

1 participant