forked from Minki/linux
12bf8fad4c
last_rate is initialized to zero by sta_info_alloc(), but this indicates legacy bitrate for the last TX rate (and invalid for the last RX rate). To avoid a warning when decoding the last rate as legacy (before a data frame has been sent), initialize them as S1G MCS. Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com> Link: https://lore.kernel.org/r/20201005164522.18069-2-thomas@adapt-ip.com [rename to ieee80211_s1g_sta_rate_init(), seems more appropriate] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
69 lines
1.1 KiB
Makefile
69 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_MAC80211) += mac80211.o
|
|
|
|
# mac80211 objects
|
|
mac80211-y := \
|
|
main.o status.o \
|
|
driver-ops.o \
|
|
sta_info.o \
|
|
wep.o \
|
|
aead_api.o \
|
|
wpa.o \
|
|
scan.o offchannel.o \
|
|
ht.o agg-tx.o agg-rx.o \
|
|
vht.o \
|
|
he.o \
|
|
s1g.o \
|
|
ibss.o \
|
|
iface.o \
|
|
rate.o \
|
|
michael.o \
|
|
tkip.o \
|
|
aes_cmac.o \
|
|
aes_gmac.o \
|
|
fils_aead.o \
|
|
cfg.o \
|
|
ethtool.o \
|
|
rx.o \
|
|
spectmgmt.o \
|
|
tx.o \
|
|
key.o \
|
|
util.o \
|
|
wme.o \
|
|
chan.o \
|
|
trace.o mlme.o \
|
|
tdls.o \
|
|
ocb.o \
|
|
airtime.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
|
|
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
|
|
debugfs.o \
|
|
debugfs_sta.o \
|
|
debugfs_netdev.o \
|
|
debugfs_key.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_MESH) += \
|
|
mesh.o \
|
|
mesh_pathtbl.o \
|
|
mesh_plink.o \
|
|
mesh_hwmp.o \
|
|
mesh_sync.o \
|
|
mesh_ps.o
|
|
|
|
mac80211-$(CONFIG_PM) += pm.o
|
|
|
|
CFLAGS_trace.o := -I$(src)
|
|
|
|
rc80211_minstrel-y := \
|
|
rc80211_minstrel.o \
|
|
rc80211_minstrel_ht.o
|
|
|
|
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += \
|
|
rc80211_minstrel_debugfs.o \
|
|
rc80211_minstrel_ht_debugfs.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
|
|
|
|
ccflags-y += -DDEBUG
|