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
1diff --git a/debian/changelog b/debian/changelog
2index 7ad4813..87c38d7 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+rtl8821ce (5.5.2.1-0ubuntu4) focal; urgency=medium
7+
8+ * Enable CONFIG_DFS for more 5G channels. (LP: #1861278)
9+
10+ -- You-Sheng Yang <vicamo.yang@canonical.com> Wed, 19 Feb 2020 15:47:30 +0800
11+
12 rtl8821ce (5.5.2.1-0ubuntu3) focal; urgency=medium
13
14 * debian/control:
15diff --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
16new file mode 100644
17index 0000000..29c00d5
18--- /dev/null
19+++ b/debian/patches/0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch
20@@ -0,0 +1,31 @@
21+From ff544505d0dbf46d0c6136fa1b05b7c0dad4dd3e Mon Sep 17 00:00:00 2001
22+From: Elie Morisse <syniurge@gmail.com>
23+Date: Wed, 24 Jul 2019 12:40:51 -0300
24+Subject: [PATCH] Enable CONFIG_DFS for RTL8821CE adapters, to support 5Ghz
25+ bands only allowed with DFS.
26+
27+DFS (as client, not as AP) is supported by the Windows driver, and it seems to be implemented in this driver too, just disabled.
28+
29+This fixes issue #34. Thanks to @tomaspinho for pointing me in the right direction.
30+
31+(cherry picked from commit 1ddc1d901ea5157b008c6262e4b2a03f0fadf228)
32+Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
33+---
34+ include/hal_ic_cfg.h | 1 +
35+ 1 file changed, 1 insertion(+)
36+
37+diff --git a/include/hal_ic_cfg.h b/include/hal_ic_cfg.h
38+index 8fe3516..a9295e9 100644
39+--- a/include/hal_ic_cfg.h
40++++ b/include/hal_ic_cfg.h
41+@@ -234,6 +234,7 @@
42+ #ifdef CONFIG_RTL8821C
43+ #undef RTL8821C_SUPPORT
44+ #define RTL8821C_SUPPORT 1
45++ #define CONFIG_DFS /* Enable 5G band 2&3 channel */
46+ #ifndef CONFIG_FW_C2H_PKT
47+ #define CONFIG_FW_C2H_PKT
48+ #endif
49+--
50+2.25.0
51+
52diff --git a/debian/patches/series b/debian/patches/series
53index 69042d9..f864cd3 100644
54--- a/debian/patches/series
55+++ b/debian/patches/series
56@@ -2,3 +2,4 @@
57 0002-Fixes-for-Linux-5.3.patch
58 0003-rtl8821ce-use-dma_addr_t.patch
59 0004-rtl8821ce-guard-wireless_send_event-with-CONFIG_WIRE.patch
60+0005-Enable-CONFIG_DFS-for-RTL8821CE-adapters-to-support-.patch

Subscribers

People subscribed via source and target branches