Add BOARD_WLAN_CHIP flag. AOSP provides two versions of HAL.
A very old legacy version and a fresh one, which they protected
with the BOARD_WLAN_CHIP flag which corresponds to the value wcn6740.
Also add a soong config variable for BOARD_WLAN_CHIP to switch the
implementation.
Please leave this open. WiFi is currently having issues on devices running 4.19 kernel. Other devices are unaffected.
The issue is not related to this change but it's better to be safe
Add BOARD_WLAN_CHIP flag. AOSP provides two versions of HAL. A very old legacy version and a fresh one, which they protected with the BOARD_WLAN_CHIP flag which corresponds to the value wcn6740. Also add a soong config variable for BOARD_WLAN_CHIP to switch the implementation.