-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network name auto restore #31
Comments
You might be using an outdated Also, an Xposed module with package name starting with |
vpnhotspot-2532532893296176957.log |
Yeah at this point I'm afraid your phone doesn't support specifying repeater credentials. I'm using Lineage OS 15.1 on my other device and it's working well. Maybe you could try other ROMs? |
OK, I'll try to replace the ROM, thank you for your answer. |
I read a bit about VNDK and it seems like your problem might be resolved by replacing P.S. Be warned that this could break your Wi-Fi or even brick your device. |
Also since you are using Lineage OS on an open source device, maybe you can ask your ROM maintainer to update |
Hmm but if you're using Project Treble, system updates won't do anything because |
This reverts commit df304fe. This kind of addresses #31. Apparently we can't predict which wpa_supplicant is bundled into the system by inspecting Android version, especially now that it is put into /vendor/bin/hw (see also Project Treble: https://source.android.com/devices/architecture/vndk/). It might be cool if someone makes a Magisk module that replaces wpa_supplicant to the latest version.
This reverts commit df304fe. This kind of addresses #31. Apparently we can't predict which wpa_supplicant is bundled into the system by inspecting Android version, especially now that it is put into /vendor/bin/hw (see also Project Treble: https://source.android.com/devices/architecture/vndk/). It might be cool if someone makes a Magisk module that replaces wpa_supplicant to the latest version.
I am looking for the maintainer of the ROM. 🌝 |
I found a device that I can reproduce this issue on. It seems like a new network is generated in |
Okay. After some very intense debugging, I see this is a very complicated bug in AOSP that can only be triggered through |
Okay this patch to diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index e9107b3b..32059352 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7290,8 +7290,6 @@ static int nl80211_set_param(void *priv, const char *param)
if (os_strstr(param, "use_p2p_group_interface=1")) {
wpa_printf(MSG_DEBUG, "nl80211: Use separate P2P group "
"interface");
- drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_CONCURRENT;
- drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P;
}
#endif /* CONFIG_P2P */
diff --git a/src/drivers/driver_nl80211_capa.c b/src/drivers/driver_nl80211_capa.c
index 7064ce1d..f9404fe2 100644
--- a/src/drivers/driver_nl80211_capa.c
+++ b/src/drivers/driver_nl80211_capa.c
@@ -823,8 +823,6 @@ static int wpa_driver_nl80211_get_info(struct wpa_driver_nl80211_data *drv,
if (info->p2p_concurrent) {
wpa_printf(MSG_DEBUG, "nl80211: Use separate P2P group "
"interface (driver advertised support)");
- drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_CONCURRENT;
- drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P;
}
if (info->num_multichan_concurrent > 1) {
wpa_printf(MSG_DEBUG, "nl80211: Enable multi-channel " |
This comment has been minimized.
This comment has been minimized.
Upon further inspection, this bug can occur from Android 5 to 9. In fact, take darcy for example, this bug does not occur in Android 7.0 but is present on Android 8.0 (both are official ROMs). I will have to conclude that this is a ROM/vendor-specific bug and suggest everyone that encounters this bug to contact their vendors and see what they can do about this. |
Huh, I am surprised and delighted to find out that Google has fixed this in Android Q. |
Fixed via #90. |
Hi~
[Wireless Relay] When trying to change [Network Name], the wireless relay automatically turns off and reopens, the network name restores the default name.
Device :Google Nexus 6P Android: 8.1.0
vpnhotspot-2701422247909376597.log
The text was updated successfully, but these errors were encountered: