intel.mk 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. PKG_DRIVERS += iwlwifi
  2. config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
  3. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
  4. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
  5. define KernelPackage/iwlwifi
  6. $(call KernelPackage/mac80211/Default)
  7. DEPENDS:= +kmod-mac80211 +kmod-ptp @PCI_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT
  8. TITLE:=Intel AGN Wireless support
  9. FILES:= \
  10. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
  11. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko \
  12. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
  13. AUTOLOAD:=$(call AutoProbe,iwlwifi iwldvm iwlmvm)
  14. MENU:=1
  15. endef
  16. define KernelPackage/iwlwifi/description
  17. iwlwifi kernel module for
  18. Intel Wireless WiFi Link 6250AGN Adapter
  19. Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
  20. Intel WiFi Link 1000BGN
  21. Intel Wireless WiFi 5150AGN
  22. Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
  23. Intel 6005 Series Wi-Fi Adapters
  24. Intel 6030 Series Wi-Fi Adapters
  25. Intel Wireless WiFi Link 6150BGN 2 Adapter
  26. Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
  27. Intel 2000 Series Wi-Fi Adapters
  28. Intel 7260 Wi-Fi Adapter
  29. Intel 3160 Wi-Fi Adapter
  30. Intel 7265 Wi-Fi Adapter
  31. Intel 8260 Wi-Fi Adapter
  32. Intel 3165 Wi-Fi Adapter
  33. endef
  34. define KernelPackage/iwlwifi/config
  35. if PACKAGE_kmod-iwlwifi
  36. config PACKAGE_IWLWIFI_DEBUG
  37. bool "Enable full debugging output in the iwlwifi driver"
  38. default n
  39. help
  40. This option will enable debug tracing output for the iwlwifi drivers
  41. This will result in the kernel module being ~100k larger. You can
  42. control which debug output is sent to the kernel log by setting the
  43. value in
  44. /sys/module/iwlwifi/parameters/debug
  45. This entry will only exist if this option is enabled.
  46. To set a value, simply echo an 8-byte hex value to the same file:
  47. % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
  48. You can find the list of debug mask values in:
  49. drivers/net/wireless/intel/iwlwifi/iwl-debug.h
  50. If this is your first time using this driver, you should say Y here
  51. as the debug information can assist others in helping you resolve
  52. any problems you may encounter.
  53. config PACKAGE_IWLWIFI_DEBUGFS
  54. bool "iwlwifi debugfs support"
  55. depends on PACKAGE_MAC80211_DEBUGFS
  56. default n
  57. help
  58. Enable creation of debugfs files for the iwlwifi drivers. This
  59. is a low-impact option that allows getting insight into the
  60. driver's state at runtime.
  61. endif
  62. endef