mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
qcacld-3.0: Enable MULTI_IF_NAME for dual driver case
Update MULTI_IF_NAME while DYNAMIC_SINGLE_CHIP is not "wlan" to support dual wlanhost driver load case Change-Id: Id7c4e7b6e8c14fe0ba64b3187ec46f7b248058cb
This commit is contained in:
parent
5996960692
commit
7786bdec47
1 changed files with 15 additions and 3 deletions
18
Kbuild
18
Kbuild
|
|
@ -3602,13 +3602,25 @@ endif
|
|||
# If the module name is wlan, leave MULTI_IF_NAME undefined and the code will
|
||||
# treat the driver as the primary driver.
|
||||
#
|
||||
# If DYNAMIC_SINGLE_CHIP is defined, which means there are multiple possible
|
||||
# drivers, but only 1 driver will be loaded at a time(WLAN dynamic detect),
|
||||
# leave MULTI_IF_NAME undefined, no matter what the module name is, then
|
||||
# If DYNAMIC_SINGLE_CHIP is defined and MULTI_IF_NAME is undefined, which means
|
||||
# there are multiple possible drivers, but only 1 driver will be loaded at
|
||||
# a time(WLAN dynamic detect), no matter what the module name is, then
|
||||
# host driver will only append DYNAMIC_SINGLE_CHIP to the path of
|
||||
# firmware/mac/ini file.
|
||||
#
|
||||
# If DYNAMIC_SINGLE_CHIP & MULTI_IF_NAME defined, which means there are
|
||||
# multiple possible drivers, we also can load multiple drivers together.
|
||||
# And we can use DYNAMIC_SINGLE_CHIP to distingush the ko name, and use
|
||||
# MULTI_IF_NAME to make cnss2 platform driver to figure out which wlanhost
|
||||
# driver attached. Moreover, as the first priority, host driver will only
|
||||
# append DYNAMIC_SINGLE_CHIP to the path of firmware/mac/ini file.
|
||||
|
||||
ifneq ($(DYNAMIC_SINGLE_CHIP),)
|
||||
ccflags-y += -DDYNAMIC_SINGLE_CHIP=\"$(DYNAMIC_SINGLE_CHIP)\"
|
||||
ifneq ($(MULTI_IF_NAME),)
|
||||
ccflags-y += -DMULTI_IF_NAME=\"$(MULTI_IF_NAME)\"
|
||||
endif
|
||||
#
|
||||
else
|
||||
|
||||
ifneq ($(MODNAME), wlan)
|
||||
|
|
|
|||
Loading…
Reference in a new issue