mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
e932a609e9
The iwlwifi drivers have LED blinking requirements that mac80211 cannot fulfill due to the use of just a single LED instead of different ones for TX, RX, radio etc. Instead, the single LED blinks according to transfers and is solid on the rest of the time. As such, having LED class devices registered that mac80211 triggers are connected to is pointless as we don't use the triggers anyway. Remove all the useless code and add hooks into the driver itself. At the same time, make the LED code abstracted so the core code that determines blink rate etc. can be shared between 3945 and agn in iwlcore. At the same time, the fact that we removed the use of the mac80211 LED triggers means we can also remove the IWLWIFI_LEDS Kconfig symbol since the LED support is now self-contained. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
23 lines
772 B
Makefile
23 lines
772 B
Makefile
obj-$(CONFIG_IWLWIFI) += iwlcore.o
|
|
iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o
|
|
iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o iwl-calib.o
|
|
iwlcore-objs += iwl-scan.o iwl-led.o
|
|
iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
|
|
iwlcore-$(CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT) += iwl-spectrum.o
|
|
iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
|
|
|
|
CFLAGS_iwl-devtrace.o := -I$(src)
|
|
|
|
# AGN
|
|
obj-$(CONFIG_IWLAGN) += iwlagn.o
|
|
iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o
|
|
|
|
iwlagn-$(CONFIG_IWL4965) += iwl-4965.o
|
|
iwlagn-$(CONFIG_IWL5000) += iwl-5000.o
|
|
iwlagn-$(CONFIG_IWL5000) += iwl-6000.o
|
|
iwlagn-$(CONFIG_IWL5000) += iwl-1000.o
|
|
|
|
# 3945
|
|
obj-$(CONFIG_IWL3945) += iwl3945.o
|
|
iwl3945-objs := iwl3945-base.o iwl-3945.o iwl-3945-rs.o iwl-3945-led.o
|