Skip to content

Instantly share code, notes, and snippets.

@osy
Created March 3, 2024 20:22
Show Gist options
  • Save osy/4025576ec173d0e5ec57d98ea83c75e0 to your computer and use it in GitHub Desktop.
Save osy/4025576ec173d0e5ec57d98ea83c75e0 to your computer and use it in GitHub Desktop.
MT7922/RZ616 Windows Hotspot Channel Settings

Windows Hotspot allows you to easily create an AP (Access Point) from your existing Wifi card. Many computers such as the ROG Ally have a variant of the MT7922 chipset which supports Wifi 6E and it can be used to create a high bandwidth P2P connection for game and VR streaming. Unfortunately, Windows does not provide much support for configuration of the AP channel and bandwidth. Fortunately, it is possible to change these from some registry entries. Note that you must reboot for the changes to take place.

The location of the registry key is inside HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318} and depends on the order the network devices are installed on your computer. For example, it is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}\0001 on the ROG Ally. Look at the data for value DriverDesc to confirm that you are in the right key.

WfdGOOperatingChannel

Sets the preferred channel number. Currently unknown if it is possible to specify a 6GHz channel.

Data Description
0 (Default) Select the best channel.
1-173 Select a specific channel number.

P2P_GO_Band

Specify the channel bandwidth.

Data Description
0 20MHz
1 40MHz
2 (Default) 80MHz
3 (Unknown) shows as 80MHz

WfdPhyMode

Physical mode for GO connections.

Data Description
1 (Default) 802.11ac
2 802.11ax

Appendix: Turning on Windows Hotspot without an internet connection

If you want to use the AP feature without an internet connection, it is possible through these instructions.

@Neila142
Copy link

Neila142 commented Mar 30, 2024

Hi,
Is it possible possible to add which type the the new registre entry should be created?

REG_SZ, REG_BINARY, REG_DWORD, REG_QORD, REG_MULTI_SZ, REG_EXPAND_SZ?

And can we see somewhere in windows if the change works instead of just having to do a speedtest?

@liyuhaolol
Copy link

is there possible to enagle 160mhz hotspots?

@artist61
Copy link

artist61 commented Dec 6, 2024

Hello, which registry key changes WPA2 to WPA3 personal?

@Slhdono
Copy link

Slhdono commented Dec 18, 2024

Has anyone been able to make this work? I have an "Intel(R) Wi-Fi 6E AX211 160MHz" on my motherboard and added WfdPhyMode string value (REG_SZ) with value 2 to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}\0011" and restarted the PC, turned on hotspot on 5G band and no difference, still gives less than 200mb link speed

@osy
Copy link
Author

osy commented Dec 18, 2024

You don't have a MT7922 so obviously it won't work...

@Slhdono
Copy link

Slhdono commented Dec 19, 2024

Oh sorry, so is there a way for me or should I give up?

@SD-96
Copy link

SD-96 commented Jan 16, 2025

Oh sorry, so is there a way for me or should I give

Bro, you won't have luck asking something that's not the same manufacturer, is kind of waste to ask about a product the person posted does not have. General rule keep it relevant for the person you are asking especially cutting edge features, intel Wi-Fi is not made the same MediaTek.

@Andarwinux
Copy link

is there possible to enagle 160mhz hotspots?

Yes, 6GHz SoftAP is 160MHz, I confirmed this with NCM865 and MT7927. I don't know if MT7922 driver implements 6G P2P GO support.

@Testing-XYZ
Copy link

6GHz SoftAP is 160MHz, I confirmed this with NCM865 and MT7927

@Andarwinux How did you get NCM865 to work on 6GHz? I tried to follow the guide on reddit with insider build 26120.3291 but got 6ghz band is not available when I try to turn on the hotspot.

@Testing-XYZ
Copy link

If the driver refuses to start softAP at 6GHz, you need to create a new regulatory domain code string "CountryName" in the WiFi driver registry.
I set it as KR because this is the country with the most WiFi channels and approved 6GHz for softAP.

Thank you for the response! Setting "CountryName" to "KR" indeed works. I am in US and it didn't work with "US" as "CountryName", despite 6Ghz approved in the region.

@liyuhaolol
Copy link

6GHz SoftAP is 160MHz, I confirmed this with NCM865 and MT7927

@Andarwinux How did you get NCM865 to work on 6GHz? I tried to follow the guide on reddit with insider build 26120.3291 but got 6ghz band is not available when I try to turn on the hotspot.

If the UI doesn't allow you to select 6GHz, you need to change the system region to a 6GHz softAP approved region. If the driver refuses to start softAP at 6GHz, you need to create a new regulatory domain code string "CountryName" in the WiFi driver registry. I set it as KR because this is the country with the most WiFi channels and approved 6GHz for softAP.

By the way, NCM865 creates 80MHz WiFi 7 hotspot by default, but it became 160MHz/80MHz WiFi 6 hotspot after I unlocked 6GHz hotspot, and I currently can’t find a way to restore it except completely reinstalling Windows.

Hello, could you please explain in detail how to enable the 6GHz hotspot? After changing my country region to South Korea, I still cannot see the 6GHz option in the hotspot settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment