Introduce a new Kconfig and Makefile the inffmac driver sub-directory. Signed-off-by: Gokul Sivakumar --- drivers/net/wireless/infineon/inffmac/Kconfig | 61 +++++++++++++++++ .../net/wireless/infineon/inffmac/Makefile | 65 +++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100644 drivers/net/wireless/infineon/inffmac/Kconfig create mode 100644 drivers/net/wireless/infineon/inffmac/Makefile diff --git a/drivers/net/wireless/infineon/inffmac/Kconfig b/drivers/net/wireless/infineon/inffmac/Kconfig new file mode 100644 index 000000000000..40b70ab2decb --- /dev/null +++ b/drivers/net/wireless/infineon/inffmac/Kconfig @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: ISC + +config INFFMAC + tristate "Infineon FullMAC WLAN driver" + depends on CFG80211 + help + This module adds support for wireless adapters based on Infineon + FullMAC chipsets. It has to work with at least one of the bus + interface support. If you choose to build a module, it'll be called + inffmac.ko. + +config INFFMAC_PROTO_BCDC + bool + +config INFFMAC_PROTO_MSGBUF + bool + +config INFFMAC_SDIO + bool "SDIO bus interface support for FullMAC driver" + depends on (MMC = y || MMC = INFFMAC) + depends on INFFMAC + select INFFMAC_PROTO_BCDC + select FW_LOADER + default y + help + This option enables the SDIO bus interface support for Infineon + IEEE802.11 embedded FullMAC WLAN driver. Say Y if you want to + use the driver for a SDIO wireless card. + +config INFFMAC_PCIE + bool "PCIE bus interface support for FullMAC driver" + depends on INFFMAC + depends on PCI + select INFFMAC_PROTO_MSGBUF + select FW_LOADER + default y + help + This option enables the PCIE bus interface support for Infineon + IEEE802.11 embedded FullMAC WLAN driver. Say Y if you want to + use the driver for an PCIE wireless card. + +config INFFMAC_PCIE_BARWIN_SZ + bool "Custom PCIE BAR window size support for FullMAC driver" + depends on INFFMAC + depends on INFFMAC_PCIE + depends on PCI + default n + help + If you say Y here, the FMAC driver will use custom PCIE BAR + window size. Say Y to allow developers to use custom PCIE + BAR window size when HOST PCIE IP can support less then 4MB + BAR window. + +config INFFMAC_BT_SHARED_SDIO + bool "FMAC shares SDIO bus to Bluetooth" + depends on INFFMAC + depends on INFFMAC_SDIO + default n + help + Selecting this to enables sharing the SDIO bus interface between + Infineon BT and WiFi host drivers. diff --git a/drivers/net/wireless/infineon/inffmac/Makefile b/drivers/net/wireless/infineon/inffmac/Makefile new file mode 100644 index 000000000000..15ca17bf6cc2 --- /dev/null +++ b/drivers/net/wireless/infineon/inffmac/Makefile @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2025, Infineon Technologies AG, or an affiliate of Infineon Technologies AG. +# All rights reserved. +# +# Makefile fragment for Infineon 802.11 Networking Device Driver +# + +ccflags-y += -I $(src) + +obj-$(CONFIG_INFFMAC) += inffmac.o +inffmac-objs += \ + ie.o \ + scan.o \ + interface.o \ + security.o \ + cfg80211.o \ + chip.o \ + fwil.o \ + fweh.o \ + p2p.o \ + proto.o \ + common.o \ + core.o \ + firmware.o \ + feature.o \ + btcoex.o \ + vendor.o \ + pno.o \ + xtlv.o \ + vendor_inf.o \ + he.o \ + eht.o \ + twt.o \ + offload.o \ + pmsr.o \ + ftm.o \ + wlan_sense.o \ + chip_5557x.o \ + chip_5551x.o \ + chip_43022.o \ + chip_5591x.o \ + chanspec.o \ + utils.o +inffmac-$(CONFIG_INFFMAC_PROTO_BCDC) += \ + bcdc.o \ + fwsignal.o +inffmac-$(CONFIG_INFFMAC_PROTO_MSGBUF) += \ + commonring.o \ + flowring.o \ + msgbuf.o +inffmac-$(CONFIG_INFFMAC_SDIO) += \ + sdio.o \ + infsdh.o \ + dfu.o +inffmac-$(CONFIG_INFFMAC_PCIE) += \ + pcie.o \ + xdp.o +inffmac-${CONFIG_INFFMAC_BT_SHARED_SDIO} += \ + bt_shared_sdio.o +inffmac-$(CONFIG_INF_DEBUG) += \ + debug.o \ + logger.o +inffmac-$(CONFIG_INF_TRACING) += \ + tracepoint.o -- 2.25.1