mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
64875c63c9
add a new file wow.c which takes care of the hardware code for WoW. *program the descriptors and data words to periodically send Keep Alive Frames. *program the user defined patterns/masks and pattern length in the hardware registers. *'ath9k_hw_wow_enable' is called during the drivers suspend callback which takes care of the following - tracking wow event mask (to suppress spurious wow events) - properly configure suspend/resume WAR registers - configure PCIE PM control register - configure MAC WoW registers and their timeouts - enabling wow configuration like magic packet, user patterns based on users configuration - configuring timeouts for KAL, beacon miss, aifs, slot time, backoff - create Keep Alive Pattern ('KAL') *'ath9k_hw_wow_wakeup' is called during the drivers resume callback which takes care of the following - primary task is to find the reason for wakeup from the wow status register - configure/restore AR_PCIE_PM_CTRL register - clear all WoW events - configure/restore suspend/resume WAR registers Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com> Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Cc: vadivel@qca.qualcomm.com Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
65 lines
1.2 KiB
Makefile
65 lines
1.2 KiB
Makefile
ath9k-y += beacon.o \
|
|
gpio.o \
|
|
init.o \
|
|
main.o \
|
|
recv.o \
|
|
xmit.o \
|
|
link.o \
|
|
antenna.o
|
|
|
|
ath9k-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += mci.o
|
|
ath9k-$(CONFIG_ATH9K_RATE_CONTROL) += rc.o
|
|
ath9k-$(CONFIG_ATH9K_PCI) += pci.o
|
|
ath9k-$(CONFIG_ATH9K_AHB) += ahb.o
|
|
ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o
|
|
ath9k-$(CONFIG_ATH9K_DFS_DEBUGFS) += dfs_debug.o
|
|
ath9k-$(CONFIG_ATH9K_DFS_CERTIFIED) += \
|
|
dfs.o \
|
|
dfs_pattern_detector.o \
|
|
dfs_pri_detector.o
|
|
ath9k-$(CONFIG_PM_SLEEP) += wow.o
|
|
|
|
obj-$(CONFIG_ATH9K) += ath9k.o
|
|
|
|
ath9k_hw-y:= \
|
|
ar9002_hw.o \
|
|
ar9003_hw.o \
|
|
hw.o \
|
|
ar9003_phy.o \
|
|
ar9002_phy.o \
|
|
ar5008_phy.o \
|
|
ar9002_calib.o \
|
|
ar9003_calib.o \
|
|
ar9003_rtt.o \
|
|
calib.o \
|
|
eeprom.o \
|
|
eeprom_def.o \
|
|
eeprom_4k.o \
|
|
eeprom_9287.o \
|
|
ani.o \
|
|
mac.o \
|
|
ar9002_mac.o \
|
|
ar9003_mac.o \
|
|
ar9003_eeprom.o \
|
|
ar9003_paprd.o
|
|
|
|
ath9k_hw-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += btcoex.o \
|
|
ar9003_mci.o
|
|
obj-$(CONFIG_ATH9K_HW) += ath9k_hw.o
|
|
|
|
obj-$(CONFIG_ATH9K_COMMON) += ath9k_common.o
|
|
ath9k_common-y:= common.o
|
|
|
|
ath9k_htc-y += htc_hst.o \
|
|
hif_usb.o \
|
|
wmi.o \
|
|
htc_drv_txrx.o \
|
|
htc_drv_main.o \
|
|
htc_drv_beacon.o \
|
|
htc_drv_init.o \
|
|
htc_drv_gpio.o
|
|
|
|
ath9k_htc-$(CONFIG_ATH9K_HTC_DEBUGFS) += htc_drv_debug.o
|
|
|
|
obj-$(CONFIG_ATH9K_HTC) += ath9k_htc.o
|