Merge ~vicamo/ubuntu/+source/rtl8821ce-dkms/+git/rtl8821ce-dkms:bug-1861278/enable-config-dfs/focal into ~canonical-hwe-team/ubuntu/+source/rtl8821ce-dkms/+git/rtl8821ce-dkms:ubuntu/focal

Proposed by You-Sheng Yang
Status: Work in progress
Proposed branch: ~vicamo/ubuntu/+source/rtl8821ce-dkms/+git/rtl8821ce-dkms:bug-1861278/enable-config-dfs/focal
Merge into: ~canonical-hwe-team/ubuntu/+source/rtl8821ce-dkms/+git/rtl8821ce-dkms:ubuntu/focal
Diff against target: 60 lines (+38/-0)
3 files modified
debian/changelog (+6/-0)
debian/patches/0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch (+31/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Canonical Hardware Enablement Pending
Review via email: mp+379439@code.launchpad.net
To post a comment you must log in.

Unmerged commits

45836cb... by You-Sheng Yang

rtl8821ce: enable CONFIG_DFS for more 5G channels

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 7ad4813..87c38d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1rtl8821ce (5.5.2.1-0ubuntu4) focal; urgency=medium
2
3 * Enable CONFIG_DFS for more 5G channels. (LP: #1861278)
4
5 -- You-Sheng Yang <vicamo.yang@canonical.com> Wed, 19 Feb 2020 15:47:30 +0800
6
1rtl8821ce (5.5.2.1-0ubuntu3) focal; urgency=medium7rtl8821ce (5.5.2.1-0ubuntu3) focal; urgency=medium
28
3 * debian/control:9 * debian/control:
diff --git a/debian/patches/0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch b/debian/patches/0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch
4new file mode 10064410new file mode 100644
index 0000000..29c00d5
--- /dev/null
+++ b/debian/patches/0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch
@@ -0,0 +1,31 @@
1From ff544505d0dbf46d0c6136fa1b05b7c0dad4dd3e Mon Sep 17 00:00:00 2001
2From: Elie Morisse <syniurge@gmail.com>
3Date: Wed, 24 Jul 2019 12:40:51 -0300
4Subject: [PATCH] Enable CONFIG_DFS for RTL8821CE adapters, to support 5Ghz
5 bands only allowed with DFS.
6
7DFS (as client, not as AP) is supported by the Windows driver, and it seems to be implemented in this driver too, just disabled.
8
9This fixes issue #34. Thanks to @tomaspinho for pointing me in the right direction.
10
11(cherry picked from commit 1ddc1d901ea5157b008c6262e4b2a03f0fadf228)
12Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
13---
14 include/hal_ic_cfg.h | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/include/hal_ic_cfg.h b/include/hal_ic_cfg.h
18index 8fe3516..a9295e9 100644
19--- a/include/hal_ic_cfg.h
20+++ b/include/hal_ic_cfg.h
21@@ -234,6 +234,7 @@
22 #ifdef CONFIG_RTL8821C
23 #undef RTL8821C_SUPPORT
24 #define RTL8821C_SUPPORT 1
25+ #define CONFIG_DFS /* Enable 5G band 2&3 channel */
26 #ifndef CONFIG_FW_C2H_PKT
27 #define CONFIG_FW_C2H_PKT
28 #endif
29--
302.25.0
31
diff --git a/debian/patches/series b/debian/patches/series
index 69042d9..f864cd3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
20002-Fixes-for-Linux-5.3.patch20002-Fixes-for-Linux-5.3.patch
30003-rtl8821ce-use-dma_addr_t.patch30003-rtl8821ce-use-dma_addr_t.patch
40004-rtl8821ce-guard-wireless_send_event-with-CONFIG_WIRE.patch40004-rtl8821ce-guard-wireless_send_event-with-CONFIG_WIRE.patch
50005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch

Subscribers

People subscribed via source and target branches