This is the output from menuconfig for ATH9K search option. There is no option like ATH_DEBUG or ATH_DEBUGFS.
Symbol: PACKAGE_kmod-ath9k [=y] │ │ Prompt: kmod-ath9k.................... Atheros 802.11n PCI wireless cards support │ │ Defined at tmp/.config-package.in:7113 │ │ Depends on: (PCI_SUPPORT [=y] || USB_SUPPORT [=y] || TARGET_ar71xx [=y]) && (!TARGET_avr32 [=n] && !T │ │ Location: │ │ -> Kernel modules │ │ -> Wireless Drivers │ │ Selects: PACKAGE_kmod-ath9k-common [=y] │ │ │ │ │ │ Symbol: DEFAULT_kmod-ath9k [=y] │ │ Selected by: TARGET_x86_net5501_Default [=n] && <choice> && TARGET_x86_net5501 [=n] || TARGET_x86_geo │ │ │ │ │ │ Symbol: PACKAGE_kmod-ath9k-htc [=n] │ │ Prompt: kmod-ath9k-htc........................ Atheros 802.11n USB device support │ │ Defined at tmp/.config-package.in:7142 │ │ Depends on: (PCI_SUPPORT [=y] || USB_SUPPORT [=y] || TARGET_ar71xx [=y]) && USB_SUPPORT [=y] && (!TAR │ │ Location: │ │ -> Kernel modules │ │ -> Wireless Drivers │ │ Selects: PACKAGE_kmod-usb-core [=y] && PACKAGE_kmod-ath9k-common [=y] │ │ │ │ │ │ Symbol: DEFAULT_kmod-ath9k-htc [=DEFAULT_kmod-ath9k-htc] │ │ │ │ │ │ Symbol: PACKAGE_kmod-ath9k-common [=y] │ │ Prompt: kmod-ath9k-common │ │ Defined at tmp/.config-package.in:7128 │ │ Depends on: (PCI_SUPPORT [=y] || USB_SUPPORT [=y] || TARGET_ar71xx [=y]) && (!TARGET_avr32 [=n] && !T │ │ Location: │ │ -> Kernel modules │ │ -> Wireless Drivers │ │ Selects: PACKAGE_kmod-ath [=y] && DRIVER_11N_SUPPORT [=y] │ │ Selected by: PACKAGE_kmod-ath9k [=y] && (PCI_SUPPORT [=y] || USB_SUPPORT [=y] || TARGET_ar71xx [=y]) │ │ │ │ │ │ Symbol: DEFAULT_kmod-ath9k-common [=DEFAULT_kmod-ath9k-common] │ │ │ │
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel