From: Íñigo Huguet <ihug...@redhat.com>

ark: enable wifi on aarch64

Enable wireless core and drivers for aarch64 in RHEL, needed for a lot
of Edge hardware. We're enabling the same options and drivers that are
enabled for x86_64, which was the only architecture where wifi was
supported.

CONFIG_MAC80211_DEBUGFS and CONFIG_MAC80211_RC_DEFAULT had values in
rhel/generic that were unused, being overwritten in x86. The values to be
used for all arches, both for RHEL and Fedora, are the same, so moving
them to common/generic.

Comparing what CONFIGs are enabled by default with CONFIG_WIRELESS and
CONFIG_WLAN in x86_64 and aarch64, there are 2 CONFIGs that are aarch64
specific, and we can set them to "not set" for the moment:
  CONFIG_ATH10K_AHB  <- configured to "not set" here
  CONFIG_PWRSEQ_SD8787  <- it was already configured to "not set"

Suggested-by: Peter Robinson <pbrobin...@redhat.com>
Signed-off-by: Íñigo Huguet <ihug...@redhat.com>

diff --git a/redhat/configs/fedora/generic/CONFIG_MAC80211_DEBUGFS 
b/redhat/configs/common/generic/CONFIG_MAC80211_DEBUGFS
rename from redhat/configs/fedora/generic/CONFIG_MAC80211_DEBUGFS
rename to redhat/configs/common/generic/CONFIG_MAC80211_DEBUGFS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_MAC80211_DEBUGFS
+++ b/redhat/configs/common/generic/CONFIG_MAC80211_DEBUGFS
diff --git a/redhat/configs/fedora/generic/CONFIG_MAC80211_RC_DEFAULT 
b/redhat/configs/common/generic/CONFIG_MAC80211_RC_DEFAULT
rename from redhat/configs/fedora/generic/CONFIG_MAC80211_RC_DEFAULT
rename to redhat/configs/common/generic/CONFIG_MAC80211_RC_DEFAULT
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_MAC80211_RC_DEFAULT
+++ b/redhat/configs/common/generic/CONFIG_MAC80211_RC_DEFAULT
diff --git a/redhat/configs/rhel/generic/CONFIG_MAC80211_DEBUGFS 
b/redhat/configs/rhel/generic/CONFIG_MAC80211_DEBUGFS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_MAC80211_DEBUGFS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_MAC80211_DEBUGFS is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_MAC80211_RC_DEFAULT 
b/redhat/configs/rhel/generic/CONFIG_MAC80211_RC_DEFAULT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_MAC80211_RC_DEFAULT
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_MAC80211_RC_DEFAULT="minstrel"
diff --git a/redhat/configs/rhel/generic/arm/CONFIG_ATH10K_AHB 
b/redhat/configs/rhel/generic/arm/CONFIG_ATH10K_AHB
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/arm/CONFIG_ATH10K_AHB
@@ -0,0 +1 @@
+# CONFIG_ATH10K_AHB is not set
diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WIRELESS 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WIRELESS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WIRELESS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_WIRELESS is not set
diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WLAN 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WLAN
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_WLAN
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_WLAN is not set
diff --git a/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_DEBUGFS 
b/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_DEBUGFS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_DEBUGFS
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_MAC80211_DEBUGFS=y
diff --git a/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_RC_DEFAULT 
b/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_RC_DEFAULT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/x86/CONFIG_MAC80211_RC_DEFAULT
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2320
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to