Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1a62985 authored by Lior David's avatar Lior David
Browse files

platform: msm: Add snapshot of msm_11ad driver



This change adds snapshot of the msm_11ad driver,
the platform driver for the 11ad chip managed by
the wil6210 driver.

This snapshot is taken as of commit <480942b449979>
(msm_11ad: remove msm PCIe shadow control)
This change also include this fix for compilation:
The original code uses the functions arm_iommu_attach_device,
arm_iommu_detach_device, arm_iommu_create_mapping and
arm_iommu_release_mapping. These functions are now deprecated
and renamed with __depr prefix. For now fixed the code by
renaming the function calls.

Change-Id: Iddb0b38bcfaf2a74f0809c99d02050838a7323da
Signed-off-by: default avatarLior David <liord@codeaurora.org>
parent d5c7199f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -144,6 +144,18 @@ config IPA_UT
	  The user interface to run and control the tests is debugfs file
	  system.

config MSM_11AD
	tristate "Platform driver for 11ad chip"
	depends on PCI
	depends on PCI_MSM
	default n
	help
	  This module adds required platform support for wireless adapter based on
	  Qualcomm Technologies, Inc. 11ad chip, integrated into MSM platform

	  If you choose to build it as a module, it will be called
	  msm_11ad_proxy.

config IPA_EMULATION
	bool "IPA on X86 Linux (IPA emulation support)"
	depends on X86 && IPA3
+1 −0
Original line number Diff line number Diff line
@@ -11,3 +11,4 @@ obj-$(CONFIG_GSI) += gsi/
obj-$(CONFIG_IPA3) += ipa/
obj-$(CONFIG_USB_BAM) += usb_bam.o
obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o
obj-$(CONFIG_MSM_11AD) += msm_11ad/
+11 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

obj-$(CONFIG_MSM_11AD) += msm_11ad_proxy.o

msm_11ad_proxy-y := msm_11ad.o
subdir-ccflags-y += -D__CHECK_ENDIAN__

# need to locate wil_platform.h
WIL_11AD_PATH = drivers/net/wireless/ath/wil6210
subdir-ccflags-y += -I$(WIL_11AD_PATH)