Skip to content

Fetch settings from Advanced tab in network adapter options - #111

Open
Adam1213 wants to merge 3 commits into
Spec-ify:mainfrom
Adam1213:network-driver
Open

Adam1213 wants to merge 3 commits into
Spec-ify:mainfrom
Adam1213:network-driver

Conversation

@Adam1213

Copy link
Copy Markdown
Contributor

This PR retrieves advanced configuration options from registry for installed network adapters. Some of those options could be changed by user, network optimizer tool or tweak, which may cause connectivity problems, for example link autonegotiation or dual band mode for Wi-Fi.
Most of physical adapters like Ethernet and Wi-Fi will have a list of settings. Each driver will have it's own different list, for example list in Qualcomm NICs will be different than in Intel or MediaTek NICs. Software adapters like VPNs wont have those settings.

Example:

"WirelessMode": {
            "Description": "802.11a/b/g Wireless Mode",
            "Type": "enum",
            "DefaultValue": "34",
            "CurrentValue": "34",
            "CurrentValueName": "6. Dual Band 802.11a/b/g",
            "PossibleEnumValues": {
              "17": "1. 5GHz  802.11a",
              "0": "2. 2.4GHz 802.11b",
              "16": "3. 2.4GHz 802.11g",
              "32": "4. 2.4GHz 802.11b/g",
              "18": "5. Dual Band 802.11a/g",
              "34": "6. Dual Band 802.11a/b/g"
            }
          }

Comment thread client/data/Methods/Network.cs Fixed
@zleyyij

zleyyij commented Oct 14, 2026

Copy link
Copy Markdown
Member

Does this change require modification to the viewer?

@Adam1213

Adam1213 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Does this change require modification to the viewer?

Change by itself doesnt break viewer, but it's needed to show new info.

Comment on lines +419 to +423
catch (Exception e)
{
DebugLog.LogEvent($"Failed to read advanced configuration for network adapter: {adapter["Description"]}", DebugLog.Region.Networking, DebugLog.EventType.ERROR);
DebugLog.LogEvent($"{e}", DebugLog.Region.Networking, DebugLog.EventType.ERROR);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants