summaryrefslogtreecommitdiffstats
path: root/bcm4329/src/wl/sys/wl_iw.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2021-09-12 18:36:36 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-12 23:45:43 +0200
commit9b3c5f7846b8e38ee03a0d75ec6978454267a78f (patch)
tree21a27c6360d75c14a1d052e6caa4b503de89994d /bcm4329/src/wl/sys/wl_iw.h
parent377b0e8961210e3a380f5e083c448f7267d3c473 (diff)
downloadhardware_replicant_wlan-replicant-11.tar.gz
hardware_replicant_wlan-replicant-11.tar.bz2
hardware_replicant_wlan-replicant-11.zip
The broadcom HAL we imported use as a base in this repository doesn't work with the brcmfmac upstream driver in Linux: even if nonfree firwmares are found on the device (for instance because users added them manually), Replicant can scan the networks but it can't connect to WPA2 networks even with the right password, and when the connection fails we see some errors with the statistics reporting (from adb logcat -b main): [...] D WifiNl80211Manager: Scan result ready event [...] D WifiNative: Scan result ready event [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973) failed {.code = ERROR_UNKNOWN, .description = unknown error} This might be because for some reasons the Broadcom HAL depends on the bcmdhd kernel driver that we don't want to use because it's an out of tree kernel driver and we want to use the upstream kernel drivers instead. So we need to modify this Broadcom Wi-Fi HAL not to depend on the bcmdhd driver. Since there is also a Wi-Fi hal in the device/linaro/poplar repository that was derived from this Broadcom Wi-Fi HAL, we could import it. That modified Wi-Fi HAL has been imported in device/linaro/poplar[1] in the android-11.0.0_r17 tag by the following commit: commit d9bd822cf11ffa4c2813e6027b8172a400f93505 Author: Shawn Guo <shawn.guo@linaro.org> Date: Wed Oct 10 10:24:47 2018 +0800 Add poplar wifi hal source code The poplar wifi hal derives from bcmdhd one with a few changes below. - No GetChannelListCommand support for gscan. - Use different vendor data structure without internal radio statistics structure conversion for link_layer_stats. - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib. We should probably consolidate it with bcmdhd at hardware/ folder level, but let's start from maintaining it at poplar device level before we find it useful for more devices. Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962 However the amount of changes are way too big to be reviewed, so we need to split them up. Since this change was also done by this the "Add poplar wifi hal source code" commit, we can simply split that away in order to make review more easy. [1]https://android.googlesource.com/device/linaro/poplar GNUtoo: commit message, rebase and split Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'bcm4329/src/wl/sys/wl_iw.h')
0 files changed, 0 insertions, 0 deletions