blob: 6cbb1286d6c044f869d9628b49c1b7c7cd69178a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Johannes Bergac71c692007-10-28 14:17:44 +01002obj-$(CONFIG_MAC80211) += mac80211.o
Jiri Bencf0706e82007-05-05 11:45:53 -07003
Johannes Berg4b475892008-01-02 15:17:03 +01004# mac80211 objects
5mac80211-y := \
Johannes Bergfe7a5d52009-11-18 18:42:47 +01006 main.o status.o \
Denys Vlasenko727da602015-07-15 14:56:05 +02007 driver-ops.o \
Jiri Bencf0706e82007-05-05 11:45:53 -07008 sta_info.o \
9 wep.o \
Xiang Gao4133da72017-10-10 22:31:49 -040010 aead_api.o \
Jiri Bencf0706e82007-05-05 11:45:53 -070011 wpa.o \
Jouni Malinenb203ffc2009-12-23 13:15:40 +010012 scan.o offchannel.o \
Johannes Bergb8695a82009-02-10 21:25:46 +010013 ht.o agg-tx.o agg-rx.o \
Mahesh Palivela818255e2012-10-10 11:33:04 +000014 vht.o \
Luca Coelho41cbb0f2018-06-09 09:14:44 +030015 he.o \
Johannes Berg46900292009-02-15 12:44:28 +010016 ibss.o \
Johannes Berg2c8dccc2008-04-08 15:14:40 -040017 iface.o \
18 rate.o \
Jiri Bencf0706e82007-05-05 11:45:53 -070019 michael.o \
Jiri Bencf0706e82007-05-05 11:45:53 -070020 tkip.o \
Jouni Malinen765cb462009-01-08 13:32:01 +020021 aes_cmac.o \
Jouni Malinen8ade5382015-01-24 19:52:09 +020022 aes_gmac.o \
Jouni Malinen39404fe2016-10-27 00:42:05 +030023 fils_aead.o \
Johannes Bergfa5fea72007-09-18 17:29:20 -040024 cfg.o \
Johannes Bergb7ffbd72014-06-04 17:31:56 +020025 ethtool.o \
Johannes Berg571ecf62007-07-27 15:43:22 +020026 rx.o \
Johannes Berg39192c02008-09-09 14:49:03 +020027 spectmgmt.o \
Johannes Berge2ebc742007-07-27 15:43:22 +020028 tx.o \
Johannes Berg1f5a7e42007-07-27 15:43:23 +020029 key.o \
Johannes Bergc2d15602007-07-27 15:43:23 +020030 util.o \
David S. Miller51cb6db2008-07-15 03:34:57 -070031 wme.o \
Johannes Berg61c0d482011-11-25 13:31:53 +010032 chan.o \
Arik Nemtsov95224fe2014-05-01 10:17:28 +030033 trace.o mlme.o \
Rostislav Lisovy239281f2014-11-03 10:33:19 +010034 tdls.o \
Toke Høiland-Jørgensendb3e1c42019-11-18 22:06:08 -080035 ocb.o \
36 airtime.o
Johannes Berg4b475892008-01-02 15:17:03 +010037
Johannes Berg2c8dccc2008-04-08 15:14:40 -040038mac80211-$(CONFIG_MAC80211_LEDS) += led.o
Johannes Berg4b475892008-01-02 15:17:03 +010039mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
40 debugfs.o \
41 debugfs_sta.o \
42 debugfs_netdev.o \
43 debugfs_key.o
44
Johannes Berg2f5ce792008-02-23 15:17:21 +010045mac80211-$(CONFIG_MAC80211_MESH) += \
46 mesh.o \
47 mesh_pathtbl.o \
48 mesh_plink.o \
Javier Cardonadbf498f2012-03-31 11:31:32 -070049 mesh_hwmp.o \
Marco Porsch3f52b7e2013-01-30 18:14:08 +010050 mesh_sync.o \
51 mesh_ps.o
Johannes Berg2f5ce792008-02-23 15:17:21 +010052
Bob Copeland665af4f2009-01-19 11:20:53 -050053mac80211-$(CONFIG_PM) += pm.o
54
Johannes Berg011ad0e2012-06-22 12:55:52 +020055CFLAGS_trace.o := -I$(src)
Johannes Berg0a2b8bb2009-07-07 13:46:22 +020056
Felix Fietkaub1c4f682018-10-06 19:35:01 +020057rc80211_minstrel-y := \
58 rc80211_minstrel.o \
59 rc80211_minstrel_ht.o
Felix Fietkaucccf1292008-10-05 18:07:45 +020060
Felix Fietkaub1c4f682018-10-06 19:35:01 +020061rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += \
62 rc80211_minstrel_debugfs.o \
63 rc80211_minstrel_ht_debugfs.o
Felix Fietkauec8aa662010-05-13 16:48:03 +020064
Felix Fietkaucccf1292008-10-05 18:07:45 +020065mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
Johannes Bergb1439232008-12-09 12:39:52 +010066
Michael S. Tsirkin6bdf1e0e2016-12-15 04:07:46 +020067ccflags-y += -DDEBUG