[OS-BUILD PATCH] config: wifi: debug options for ath11k, brcm80211 and iwlwifi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Íñigo Huguet <ihuguet@xxxxxxxxxx>

config: wifi: debug options for ath11k, brcm80211 and iwlwifi

Set CONFIGs to enable the debug options for ath11k and brcm80211, both
for Fedora and RHEL.

Enable iwlwifi debug options only for kernel-debug in RHEL, and disable them
for the standard kernel, so they are in line with the other drivers.
Leave them unthouched in Fedora, despite being enabled for the normal
kernel, because there might be any reason I am not aware of.

Also, cleanup some iwlwifi debug configs, moving to common those that
are common to Fedora and RHEL.

Signed-off-by: Íñigo Huguet <ihuguet@xxxxxxxxxx>

diff --git a/redhat/configs/common/debug/CONFIG_ATH11K_DEBUG b/redhat/configs/common/debug/CONFIG_ATH11K_DEBUG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_ATH11K_DEBUG
@@ -0,0 +1 @@
+CONFIG_ATH11K_DEBUG=y
diff --git a/redhat/configs/common/debug/CONFIG_ATH11K_DEBUGFS b/redhat/configs/common/debug/CONFIG_ATH11K_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_ATH11K_DEBUGFS
@@ -0,0 +1 @@
+CONFIG_ATH11K_DEBUGFS=y
diff --git a/redhat/configs/common/debug/CONFIG_ATH11K_SPECTRAL b/redhat/configs/common/debug/CONFIG_ATH11K_SPECTRAL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_ATH11K_SPECTRAL
@@ -0,0 +1 @@
+CONFIG_ATH11K_SPECTRAL=y
diff --git a/redhat/configs/common/debug/CONFIG_ATH11K_TRACING b/redhat/configs/common/debug/CONFIG_ATH11K_TRACING
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_ATH11K_TRACING
@@ -0,0 +1 @@
+CONFIG_ATH11K_TRACING=y
diff --git a/redhat/configs/common/debug/CONFIG_BRCMDBG b/redhat/configs/common/debug/CONFIG_BRCMDBG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_BRCMDBG
@@ -0,0 +1 @@
+CONFIG_BRCMDBG=y
diff --git a/redhat/configs/common/debug/CONFIG_BRCM_TRACING b/redhat/configs/common/debug/CONFIG_BRCM_TRACING
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_BRCM_TRACING
@@ -0,0 +1 @@
+CONFIG_BRCM_TRACING=y
diff --git a/redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEVICE_TRACING b/redhat/configs/common/debug/CONFIG_IWLWIFI_DEVICE_TRACING
rename from redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEVICE_TRACING
rename to redhat/configs/common/debug/CONFIG_IWLWIFI_DEVICE_TRACING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEVICE_TRACING
+++ b/redhat/configs/common/debug/CONFIG_IWLWIFI_DEVICE_TRACING
diff --git a/redhat/configs/common/generic/CONFIG_ATH11K_SPECTRAL b/redhat/configs/common/generic/CONFIG_ATH11K_SPECTRAL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_ATH11K_SPECTRAL
@@ -0,0 +1 @@
+# CONFIG_ATH11K_SPECTRAL is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEVICE_TRACING b/redhat/configs/common/generic/CONFIG_IWLWIFI_DEVICE_TRACING
rename from redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEVICE_TRACING
rename to redhat/configs/common/generic/CONFIG_IWLWIFI_DEVICE_TRACING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEVICE_TRACING
+++ b/redhat/configs/common/generic/CONFIG_IWLWIFI_DEVICE_TRACING
diff --git a/redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEBUG b/redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEBUG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/debug/CONFIG_IWLWIFI_DEBUG
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_IWLWIFI_DEBUG=y
diff --git a/redhat/configs/common/generic/CONFIG_IWLWIFI_DEBUGFS b/redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEBUGFS
rename from redhat/configs/common/generic/CONFIG_IWLWIFI_DEBUGFS
rename to redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEBUGFS
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_IWLWIFI_DEBUGFS
+++ b/redhat/configs/fedora/generic/CONFIG_IWLWIFI_DEBUGFS
diff --git a/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEBUGFS b/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEBUGFS
@@ -0,0 +1 @@
+CONFIG_IWLWIFI_DEBUGFS=y
diff --git a/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEVICE_TRACING b/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEVICE_TRACING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_IWLWIFI_DEVICE_TRACING
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_IWLWIFI_DEVICE_TRACING=y
diff --git a/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEBUGFS b/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEBUGFS
@@ -0,0 +1 @@
+# CONFIG_IWLWIFI_DEBUGFS is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEVICE_TRACING b/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEVICE_TRACING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_IWLWIFI_DEVICE_TRACING
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_IWLWIFI_DEVICE_TRACING is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2536
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux