mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
The hardware cannot report accurate tx A-MPDU length information, so tell rate control to ignore it. Improves tx rate selection Signed-off-by: Felix Fietkau <[email protected]>
15 lines
557 B
Makefile
15 lines
557 B
Makefile
CHECK_CC_ENUM_FLAGS = $(NOSTDINC_FLAGS) $(LINUXINCLUDE) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)
|
|
check-cc-enum = $(call try-run, echo "int v = $(1);" | $(CC) -Werror $(CHECK_CC_ENUM_FLAGS) $(2) -c -x c - -o "$$TMP",y,n)
|
|
|
|
# backwards compatibility hack
|
|
ifeq ($(call check-cc-enum,IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN,-include net/mac80211.h),n)
|
|
EXTRA_CFLAGS += -DIEEE80211_HW_TX_STATUS_NO_AMPDU_LEN=IEEE80211_HW_REPORTS_TX_ACK_STATUS
|
|
endif
|
|
|
|
obj-m := mt7603e.o
|
|
|
|
mt7603e-y := \
|
|
pci.o soc.o main.o init.o mcu.o \
|
|
core.o dma.o mac.o eeprom.o \
|
|
beacon.o debugfs.o
|