Android upstream - libwifi_hal vendor setting for Realtek wifi

Refer to previous one

https://issuetracker.google.com/issues/144941423

In the file :
ANDROID_SDK/frameworks/opt/net/wifi/libwifi_hal/Android.mk
It is written for Realtek's wifi as below

"else ifeq ($(BOARD_WLAN_DEVICE), rtl)
  # support Realtek WIFI HAL
  LIB_WIFI_HAL := libwifi-hal-rtl"

--
Meanwhile, based on Realtek's Android Wifi SDK porting guide as attached,
it should be :
   BOARD_WLAN_DEVICE : "realtek" instead of "rtl"
   LIB_WIFI_HAL : "libwifi-hal-rtk" instead of "libwifi-hal-rtl"

will update through Gerrit later by using this bug ID

--
doc:

# Pick a vendor provided HAL implementation library.
# ============================================================
LIB_WIFI_HAL := libwifi-hal-fallback
….
else ifeq ($(BOARD_WLAN_DEVICE), realtek)
# support RTK WIFI HAL
LIB_WIFI_HAL := libwifi-hal-rtk
endif
….

--
Gerrit : 
https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/1171903


libwifi_hal vendor setting change in Android.mk for Realtek's wifi Refer to the Realtek's Android porting guide, BOARD_WLAN_DEVICE should be "realtek" instead of "rtl", and LIB_WIFI_HAL should be "libwifi-hal-rtk" instead of "libwifi-hal-rtl" Bug: 144941423 Test: vts by using Realtek's Hank platform DHC1319 Change-Id: I2f5ba7a94d77a3a2bba2d6486ccef47208da754f Signed-off-by: Neo Jou <neojou@gmail.com>
EDIT

--
後記: merged

https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/8a2fd0361a51d2dc4edd2a8d24819b60dc863e8e




留言

熱門文章