forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: ath11k: enable regdb loading for IPQ8074
Enable external regdb loading for IPQ8074. Signed-off-by: Robert Marko <[email protected]>
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
package/kernel/mac80211/patches/ath11k/904-ath11k-enable-regdb-support-for-IPQ8074.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 474231811ed16d65dceb4f2353b5244c926a01f2 Mon Sep 17 00:00:00 2001 | ||
From: Robert Marko <[email protected]> | ||
Date: Sat, 8 Oct 2022 17:18:03 +0200 | ||
Subject: [PATCH] ath11k: enable regdb support for IPQ8074 | ||
|
||
FW 2.7 appears to support external regdb just fine, so enable support for | ||
it on IPQ8074. | ||
|
||
Signed-off-by: Robert Marko <[email protected]> | ||
--- | ||
drivers/net/wireless/ath/ath11k/core.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c | ||
index 03d1e0d..28fcf29 100644 | ||
--- a/drivers/net/wireless/ath/ath11k/core.c | ||
+++ b/drivers/net/wireless/ath/ath11k/core.c | ||
@@ -94,7 +94,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = { | ||
#endif | ||
.supports_suspend = false, | ||
.hal_desc_sz = sizeof(struct hal_rx_desc_ipq8074), | ||
- .supports_regdb = false, | ||
+ .supports_regdb = true, | ||
.fix_l1ss = true, | ||
.wakeup_mhi = false, | ||
.credit_flow = false, | ||
-- | ||
2.37.3 | ||
|