rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | obj-$(CONFIG_MAC80211) += mac80211.o |
| 3 | |
| 4 | # mac80211 objects |
| 5 | mac80211-y := \ |
| 6 | main.o status.o \ |
| 7 | driver-ops.o \ |
| 8 | sta_info.o \ |
| 9 | wep.o \ |
| 10 | wpa.o \ |
| 11 | scan.o offchannel.o \ |
| 12 | ht.o agg-tx.o agg-rx.o \ |
| 13 | vht.o \ |
| 14 | ibss.o \ |
| 15 | iface.o \ |
| 16 | rate.o \ |
| 17 | michael.o \ |
| 18 | tkip.o \ |
| 19 | aes_ccm.o \ |
| 20 | aes_gcm.o \ |
| 21 | aes_cmac.o \ |
| 22 | aes_gmac.o \ |
| 23 | fils_aead.o \ |
| 24 | cfg.o \ |
| 25 | ethtool.o \ |
| 26 | rx.o \ |
| 27 | spectmgmt.o \ |
| 28 | tx.o \ |
| 29 | key.o \ |
| 30 | util.o \ |
| 31 | wme.o \ |
| 32 | chan.o \ |
| 33 | trace.o mlme.o \ |
| 34 | tdls.o \ |
| 35 | ocb.o |
| 36 | |
| 37 | mac80211-$(CONFIG_MAC80211_LEDS) += led.o |
| 38 | mac80211-$(CONFIG_MAC80211_DEBUGFS) += \ |
| 39 | debugfs.o \ |
| 40 | debugfs_sta.o \ |
| 41 | debugfs_netdev.o \ |
| 42 | debugfs_key.o |
| 43 | |
| 44 | mac80211-$(CONFIG_MAC80211_MESH) += \ |
| 45 | mesh.o \ |
| 46 | mesh_pathtbl.o \ |
| 47 | mesh_plink.o \ |
| 48 | mesh_hwmp.o \ |
| 49 | mesh_sync.o \ |
| 50 | mesh_ps.o |
| 51 | |
| 52 | mac80211-$(CONFIG_PM) += pm.o |
| 53 | |
| 54 | CFLAGS_trace.o := -I$(src) |
| 55 | |
| 56 | rc80211_minstrel-y := rc80211_minstrel.o |
| 57 | rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o |
| 58 | |
| 59 | rc80211_minstrel_ht-y := rc80211_minstrel_ht.o |
| 60 | rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o |
| 61 | |
| 62 | mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y) |
| 63 | mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y) |
| 64 | |
| 65 | ccflags-y += -DDEBUG |