wifimodeswitch: Support also modern A12/k4.19+ MTK HAL #2
+2
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Android 12+ / kernel v4.19+ modern MediaTek SoCs like MT6768/6789/6877 found on Volla devices do not provide a
libwifi-hal.so
but instead alibwifi-hal-mtk.so
which provides the same functionality while the current fallbacklibhardware_legacy.so
doesn't work.There still seems to be some weirdness to do with the
wlan1
interface magically becoming permanently managed (despite https://gitlab.com/ubports/porting/reference-device-ports/android11/volla-phone-22/volla-mimameid/-/blob/master/overlay/system/lib/udev/rules.d/99-mtk-wlan1-unmanaged.rules) after toggling hotspot even once and rebooting etc. Will see how this behavior seen on 24.04 with this PR fairs to what the status quo is on 20.04 but it's certainly odd..