Introduce a new Kconfig and Makefile for the inffmac driver sub-directory. Signed-off-by: Gokul Sivakumar --- drivers/net/wireless/infineon/inffmac/Kconfig | 44 ++++++++++++++++ .../net/wireless/infineon/inffmac/Makefile | 52 +++++++++++++++++++ 2 files changed, 96 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..037899797520 --- /dev/null +++ b/drivers/net/wireless/infineon/inffmac/Kconfig @@ -0,0 +1,44 @@ +# 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_ICDC + bool + +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_ICDC + 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. diff --git a/drivers/net/wireless/infineon/inffmac/Makefile b/drivers/net/wireless/infineon/inffmac/Makefile new file mode 100644 index 000000000000..9d231f9868ba --- /dev/null +++ b/drivers/net/wireless/infineon/inffmac/Makefile @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2025-2026, 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 \ + dev_cmd.o \ + dev_evt.o \ + p2p.o \ + bus_proto.o \ + main.o \ + net.o \ + firmware.o \ + feature.o \ + vendor.o \ + he.o \ + twt.o \ + pmsr.o \ + chip_5557x.o \ + chip_5551x.o \ + chip_43022.o \ + chip_5591x.o \ + chan.o \ + utils.o +inffmac-$(CONFIG_INFFMAC_PROTO_ICDC) += \ + icdc.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 \ + dfu.o +inffmac-$(CONFIG_INFFMAC_PCIE) += \ + pcie.o +inffmac-$(CONFIG_INF_DEBUG) += \ + debug.o -- 2.25.1