From 2777e3f5cb9540b4659778ea1132925c94d9b34e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 8 Sep 2021 16:14:52 +0200 Subject: Add hardware/replicant/wlan Android doesn't have a stock WiFi HAL implementation, and the broadcom HAL seem to be used as a base for making mostly Linux Kernel compliant WiFi HALs. We can for instance see that in device/linaro/poplar. We also don't want to use the broadcom HAL as-is as its repository has nonfree firmwares and we might want to make the HAL more standard and add in quirks that are generic enough, for instance to make the re-trigger the probe of WiFi kernel drivers in order to retry loading the firmware after the device has booted. Otherwise some WiFi drivers (like brcmfmac) try to load the firmware when the rootfs isn't mounted yet. To enable to select the Replicant wlan HAL, we also need to override the frameworks/opt/net/wifi repository as it contains an Android.mk that needs to be modified to have a HAL shared accross devices. Signed-off-by: Denis 'GNUtoo' Carikli --- default.xml | 1 - replicant/repositories.xml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/default.xml b/default.xml index 3f4eef1..fe08bce 100644 --- a/default.xml +++ b/default.xml @@ -480,7 +480,6 @@ - diff --git a/replicant/repositories.xml b/replicant/repositories.xml index 046b4f0..33d3245 100644 --- a/replicant/repositories.xml +++ b/replicant/repositories.xml @@ -22,12 +22,18 @@ + +