[PATCH] rtl8821ae: Fix spelling typo

2021-03-17 Thread zuoqilin1
From: zuoqilin Change 'revsions' to 'revisions'. Signed-off-by: zuoqilin --- tools/perf/util/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 20effdf..4572aa9 100644 --- a/tools/perf/util/header.c +++

Re: [PATCH] rtlwifi: rtl8821ae: phy: Simplify bool comparison

2021-02-09 Thread Kalle Valo
Jiapeng Chong wrote: > Fix the following coccicheck warning: > > ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: > WARNING: Comparison of 0/1 to bool variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Patch applied to wireless-dri

[PATCH] rtlwifi: rtl8821ae: phy: Simplify bool comparison

2021-02-08 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: WARNING: Comparison of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 2 +- 1 file changed, 1

Re: [PATCH v2] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-02-08 Thread Kalle Valo
Jiapeng Zhong wrote: > Fix the following coccicheck warning: > ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: > WARNING: Comparison of 0/1 to bool variable > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Please use your own email address and

[PATCH v2] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-26 Thread Jiapeng Zhong
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: WARNING: Comparison of 0/1 to bool variable Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- Changes in v2: -Modify email address drivers/net/wireless/realtek/rtlwifi/rtl8821ae

Re: [PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-25 Thread Kalle Valo
YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: > WARNING: Comparison of 0/1 to bool variable > > Reported-by: Abaci Robot > Signed-off-by: YANG LI Patchwork gives me this From field: From: Jiape

Re: [PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-12 Thread Kalle Valo
Pkshih writes: > On Tue, 2021-01-12 at 16:33 +0800, YANG LI wrote: >> Fix the following coccicheck warning: >> ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: >> WARNING: Comparison of 0/1 to bool variable >> >> Reported-by: Abaci Robot >

Re: [PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-12 Thread Pkshih
On Tue, 2021-01-12 at 16:33 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: > WARNING: Comparison of 0/1 to bool variable > > Reported-by: Abaci Robot > Signed-off-by: YANG LI > I think yo

[PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: WARNING: Comparison of 0/1 to bool variable Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 5/5] rtlwifi: rtl8821ae: fix bool comparison in expressions

2021-01-10 Thread Aditya Srivastava
There are certain conditional expressions in rtl8821ae, where a boolean variable is compared with true/false, in forms such as (foo == true) or (false != bar), which does not comply with checkpatch.pl (CHECK: BOOL_COMPARISON), according to which boolean variables should be themselves used

Re: [PATCH] drivers: rtlwifi: rtl8821ae: defautly to de-faulty ,last in the series

2021-01-05 Thread Julian Calaby
Hi Bhaskar, On Tue, Jan 5, 2021 at 9:48 PM Bhaskar Chowdhury wrote: > > s/defautly/de-faulty/p > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/d

[PATCH] drivers: rtlwifi: rtl8821ae: defautly to de-faulty ,last in the series

2021-01-05 Thread Bhaskar Chowdhury
s/defautly/de-faulty/p Signed-off-by: Bhaskar Chowdhury --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c index

[PATCH 33/41] rtlwifi: rtl8821ae: phy: Remove a couple of unused variables

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c: In function ‘rtl8821ae_phy_switch_wirelessband’: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:597:14: warning: variable ‘rxpath’ set but not used [-Wunused-but-set-variable] drivers

[PATCH 34/41] rtl8821ae: phy: Place braces around empty if() body

2020-11-02 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c: In function ‘_rtl8812ae_phy_get_txpower_limit’: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:2453:3: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] Cc

Re: [PATCH -next 5/9] rtlwifi: rtl8821ae: fix comparison to bool warning in phy.c

2020-09-18 Thread Larry Finger
On 9/18/20 5:25 AM, Zheng Bin wrote: Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1816:5-13: WARNING: Comparison to bool drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1825:5-13: WARNING: Comparison to bool drivers/net/wireless/realtek/rtlwifi/rtl8821ae

Re: [PATCH -next 4/9] rtlwifi: rtl8821ae: fix comparison to bool warning in hw.c

2020-09-18 Thread Larry Finger
On 9/18/20 5:25 AM, Zheng Bin wrote: Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c:1897:5-13: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH -next 5/9] rtlwifi: rtl8821ae: fix comparison to bool warning in phy.c

2020-09-18 Thread Zheng Bin
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1816:5-13: WARNING: Comparison to bool drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1825:5-13: WARNING: Comparison to bool drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1839:5-13: WARNING: Comparison

[PATCH -next 4/9] rtlwifi: rtl8821ae: fix comparison to bool warning in hw.c

2020-09-18 Thread Zheng Bin
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c:1897:5-13: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless

Re: [PATCH] rtlwifi: rtl8821ae: make array static const and remove redundant assignment

2019-09-13 Thread Kalle Valo
and can be removed. > > Before: >text data bss dec hex filename > 118537 9591 0 128128 1f480 realtek/rtlwifi/rtl8821ae/phy.o > > After: >text data bss dec hex filename > 118331 9687 0 1280

[PATCH] rtlwifi: rtl8821ae: make array static const and remove redundant assignment

2019-09-05 Thread Colin King
bss dec hex filename 1185379591 0 128128 1f480 realtek/rtlwifi/rtl8821ae/phy.o After: textdata bss dec hex filename 1183319687 0 128018 1f412 realtek/rtlwifi/rtl8821ae/phy.o Saves 110 bytes, (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian

Re: [PATCH] rtlwifi: rtl8821ae: Remove set but not used variables 'cur_txokcnt' and 'b_last_is_cur_rdl_state'

2019-05-28 Thread Kalle Valo
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function > rtl8821ae_dm_check_rssi_monitor: > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:658:6: warning: variable > cur_txokcnt set but

[PATCH] rtlwifi: rtl8821ae: Remove set but not used variables 'cur_txokcnt' and 'b_last_is_cur_rdl_state'

2019-05-25 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function rtl8821ae_dm_check_rssi_monitor: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:658:6: warning: variable cur_txokcnt set but not used [-Wunused-but-set-variable] drivers/net

Re: [PATCH] rtlwifi: rtl8821ae: remove set but not used variable 'type' in translate_rx_signal_stuff

2018-12-13 Thread Kalle Valo
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c: In function > 'translate_rx_signal_stuff': > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c:309:6: warning: > variable 'type' set but not used

[PATCH 3.18 104/144] rtlwifi: rtl8821ae: Fix system lockups on boot

2018-11-08 Thread Greg Kroah-Hartman
nable bits before setting them was removed for all PCI drivers. This fixed an issue that caused TX to be blocked for 3-5 seconds. On some RTL8821AE units, this change causes soft lockups to occur on boot. For that reason, the portion of the earlier commit that applied to rtl8821ae is reverted. K

[PATCH 3.18 104/144] rtlwifi: rtl8821ae: Fix system lockups on boot

2018-11-08 Thread Greg Kroah-Hartman
nable bits before setting them was removed for all PCI drivers. This fixed an issue that caused TX to be blocked for 3-5 seconds. On some RTL8821AE units, this change causes soft lockups to occur on boot. For that reason, the portion of the earlier commit that applied to rtl8821ae is reverted. K

[PATCH 3.18 105/144] rtlwifi: rtl8821ae: Fix lockups on boot

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 ] In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot"), an attempt was made to fix a regression introduced

[PATCH 3.18 105/144] rtlwifi: rtl8821ae: Fix lockups on boot

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 ] In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot"), an attempt was made to fix a regression introduced

[PATCH AUTOSEL 3.18 76/98] rtlwifi: rtl8821ae: Fix lockups on boot

2018-10-25 Thread Sasha Levin
From: Larry Finger [ Upstream commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 ] In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot"), an attempt was made to fix a regression introduced in commit 1277fa2ab2f9 ("rtlwifi: Remove the clear interrupt routine f

[PATCH AUTOSEL 3.18 76/98] rtlwifi: rtl8821ae: Fix lockups on boot

2018-10-25 Thread Sasha Levin
From: Larry Finger [ Upstream commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 ] In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot"), an attempt was made to fix a regression introduced in commit 1277fa2ab2f9 ("rtlwifi: Remove the clear interrupt routine f

[PATCH AUTOSEL 3.18 75/98] rtlwifi: rtl8821ae: Fix system lockups on boot

2018-10-25 Thread Sasha Levin
d an issue that caused TX to be blocked for 3-5 seconds. On some RTL8821AE units, this change causes soft lockups to occur on boot. For that reason, the portion of the earlier commit that applied to rtl8821ae is reverted. Kernels 4.1 and newer are affected. See http://marc.info/?l=linux-wireless=1443733

[PATCH AUTOSEL 3.18 75/98] rtlwifi: rtl8821ae: Fix system lockups on boot

2018-10-25 Thread Sasha Levin
d an issue that caused TX to be blocked for 3-5 seconds. On some RTL8821AE units, this change causes soft lockups to occur on boot. For that reason, the portion of the earlier commit that applied to rtl8821ae is reverted. Kernels 4.1 and newer are affected. See http://marc.info/?l=linux-wireless=1443733

[PATCH 19/20] rtlwifi: rtl8821ae: phy: Mark expected switch fall-through

2018-10-22 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtlwifi

[PATCH 19/20] rtlwifi: rtl8821ae: phy: Mark expected switch fall-through

2018-10-22 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtlwifi

[PATCH 4.17 064/101] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.17 064/101] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.14 51/92] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.14 51/92] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.9 35/66] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.9 35/66] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.4 25/31] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

[PATCH 4.4 25/31] rtlwifi: rtl8821ae: fix firmware is not ready to run

2018-07-20 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 9a98302de19991d51e067b88750585203b2a3ab6 upstream. Without this patch, firmware will not run properly on rtl8821ae, and it causes bad user experience. For example, bad

Re: rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-27 Thread Kalle Valo
rry.fin...@lwfinger.net? Patch applied to wireless-drivers-next.git, thanks. e153292ae4d1 rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute" -- https://patchwork.kernel.org/patch/10292111/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Re: rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-27 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in RT_TRACE message text. > > Signed-off-by: Colin Ian King > Acked-by: Larry Finger "Absolute" -- https://patchwork.kernel.org/patch/10292111/

Re: [PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-19 Thread Larry Finger
On 03/19/2018 05:40 AM, Colin King wrote: From: Colin Ian King <colin.k...@canonical.com> Trivial fix to spelling mistake in RT_TRACE message text. Signed-off-by: Colin Ian King <colin.k...@canonical.com> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 16 -

Re: [PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-19 Thread Larry Finger
On 03/19/2018 05:40 AM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake in RT_TRACE message text. Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Acked

[PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-19 Thread Colin King
From: Colin Ian King <colin.k...@canonical.com> Trivial fix to spelling mistake in RT_TRACE message text. Signed-off-by: Colin Ian King <colin.k...@canonical.com> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 16 1 file changed, 8 insertions(+), 8 deleti

[PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "Aboslute" -> "Absolute"

2018-03-19 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in RT_TRACE message text. Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi

[PATCH 4.9 16/77] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger <larry.fin...@lwfinger.net> commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an

[PATCH 4.9 16/77] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an 8-bit register was read using

[PATCH 4.15 127/163] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger <larry.fin...@lwfinger.net> commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely tha

[PATCH 4.15 127/163] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an 8-bit register was read using

[PATCH 4.14 124/167] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger <larry.fin...@lwfinger.net> commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely tha

[PATCH 4.14 124/167] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an 8-bit register was read using

[PATCH 4.4 18/33] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger <larry.fin...@lwfinger.net> commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an

[PATCH 4.4 18/33] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c713fb071edc0efc01a955f65a006b0e1795d2eb upstream. There has been a coding error in rtl8821ae since it was first introduced, namely that an 8-bit register was read using

[PATCH 3.16 014/133] rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation

2017-11-21 Thread Ben Hutchings
nter <dan.carpen...@oracle.com> Acked-by: Larry Finger <larry.fin...@lwfinger.net> Signed-off-by: Kalle Valo <kv...@codeaurora.org> [bwh: Backported to 3.16: adjust filename, context, indentation] Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- drivers/staging/rtl8821ae/

[PATCH 3.16 014/133] rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation

2017-11-21 Thread Ben Hutchings
Signed-off-by: Kalle Valo [bwh: Backported to 3.16: adjust filename, context, indentation] Signed-off-by: Ben Hutchings --- drivers/staging/rtl8821ae/rtl8821ae/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/rtl8821ae/rtl8821ae/hw.c +++ b/drivers/staging/rtl8821ae/rtl8

[PATCH 4.9 26/48] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
> Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> Cc: Ping-Ke Shih <pks...@realtek.com> Signed-off-by: Kalle Valo <kv...@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw

[PATCH 4.9 26/48] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
d-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c @@ -1128,7

[PATCH 4.13 57/85] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
> Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> Cc: Ping-Ke Shih <pks...@realtek.com> Signed-off-by: Kalle Valo <kv...@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw

[PATCH 4.13 57/85] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
d-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c @@ -1122,7

[PATCH 4.4 20/27] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
> Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> Cc: Ping-Ke Shih <pks...@realtek.com> Signed-off-by: Kalle Valo <kv...@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw

[PATCH 4.4 20/27] rtlwifi: rtl8821ae: Fix connection lost problem

2017-10-24 Thread Greg Kroah-Hartman
d-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c @@ -1127,7

Re: rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed"

2017-08-24 Thread Kalle Valo
it, thanks. 2cc8918eb987 rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed" -- https://patchwork.kernel.org/patch/9915123/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Re: rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed"

2017-08-24 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in RT_TRACE message > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. 2cc8918eb987 rtlwifi: rtl8821ae: fix spelling mistake: "faill&quo

[PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed"

2017-08-22 Thread Colin King
From: Colin Ian King <colin.k...@canonical.com> Trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King <colin.k...@canonical.com> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH] rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed"

2017-08-22 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c b/drivers/net

[PATCH 03/11] rtlwifi: rtl8821ae: constify pci_device_id.

2017-07-17 Thread Arvind Yadav
/rtlwifi/rtl8821ae/sw.o File size After adding 'const': textdata bss dec hex filename 2587 864 03451 d7b realtek/rtlwifi/rtl8821ae/sw.o Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c | 2 +-

[PATCH 03/11] rtlwifi: rtl8821ae: constify pci_device_id.

2017-07-17 Thread Arvind Yadav
/rtlwifi/rtl8821ae/sw.o File size After adding 'const': textdata bss dec hex filename 2587 864 03451 d7b realtek/rtlwifi/rtl8821ae/sw.o Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] rtlwifi: rtl8821ae: remove unused variable

2017-06-16 Thread Larry Finger
On 06/13/2017 03:42 PM, Gustavo A. R. Silva wrote: Remove unused variable rtlhal. Addresses-Coverity-ID: 1248810 Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com> --- NACK!! That variable is used in file core.c in driver rtlwifi, which is loaded and used by rtl8821ae. Ple

Re: [PATCH] rtlwifi: rtl8821ae: remove unused variable

2017-06-16 Thread Larry Finger
On 06/13/2017 03:42 PM, Gustavo A. R. Silva wrote: Remove unused variable rtlhal. Addresses-Coverity-ID: 1248810 Signed-off-by: Gustavo A. R. Silva --- NACK!! That variable is used in file core.c in driver rtlwifi, which is loaded and used by rtl8821ae. Please do more than blindly follow

[PATCH] rtlwifi: rtl8821ae: remove unused variable

2017-06-13 Thread Gustavo A. R. Silva
Remove unused variable rtlhal. Addresses-Coverity-ID: 1248810 Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c b/d

[PATCH] rtlwifi: rtl8821ae: remove unused variable

2017-06-13 Thread Gustavo A. R. Silva
Remove unused variable rtlhal. Addresses-Coverity-ID: 1248810 Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/realtek

[PATCH 4.11 037/197] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 ++++--- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek/rtlwif

[PATCH 4.11 037/197] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek

[PATCH 4.4 019/103] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 ++++--- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek/rtlwif

[PATCH 4.4 019/103] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek

[PATCH 4.9 033/164] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 ++++--- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek/rtlwif

[PATCH 4.9 033/164] rtlwifi: rtl8821ae: setup 8812ae RFE according to device type

2017-05-23 Thread Greg Kroah-Hartman
Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 122 --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h |1 2 files changed, 107 insertions(+), 16 deletions(-) --- a/drivers/net/wireless/realtek

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Larry Finger
it up... The only potential problem would be conflicts arising from changes merging from two different directions. It applies to Kalle's wireless-drivers-next branch, and I will try to keep it in mind as additional patches are supplied to rtl8821ae. Larry

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Larry Finger
e's wireless-drivers-next branch, and I will try to keep it in mind as additional patches are supplied to rtl8821ae. Larry

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Geert Uytterhoeven
Hi Larry, On Fri, Feb 17, 2017 at 5:14 PM, Larry Finger wrote: > On 02/17/2017 09:36 AM, Geert Uytterhoeven wrote: >> As per symmetry with _rtl8821ae_dbi_read(), "wrtie" is not a funky >> register acronym, but a simple misspelling of "write". >> >> Signed-off-by: Geert

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Geert Uytterhoeven
Hi Larry, On Fri, Feb 17, 2017 at 5:14 PM, Larry Finger wrote: > On 02/17/2017 09:36 AM, Geert Uytterhoeven wrote: >> As per symmetry with _rtl8821ae_dbi_read(), "wrtie" is not a funky >> register acronym, but a simple misspelling of "write". >> >> Signed-off-by: Geert Uytterhoeven >> Cc: Larry

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Larry Finger
ches for this driver should go through linux-wirel...@vger.kernel.org. Kalle Valo is the wireless maintainer, but it is not necessary to send to him directly as he usually picks up the patches from Patchwork. Larry --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 10 +- 1 file

Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Larry Finger
wireless maintainer, but it is not necessary to send to him directly as he usually picks up the patches from Patchwork. Larry --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae

[PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Geert Uytterhoeven
chaoming...@realsil.com.cn> Cc: net...@vger.kernel.org --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index 4f8

[PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

2017-02-17 Thread Geert Uytterhoeven
As per symmetry with _rtl8821ae_dbi_read(), "wrtie" is not a funky register acronym, but a simple misspelling of "write". Signed-off-by: Geert Uytterhoeven Cc: Larry Finger Cc: Chaoming Li Cc: net...@vger.kernel.org --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.

[PATCH 4.2.y-ckt 031/273] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-03-07 Thread Kamal Mostafa
ed that D-Link DWA-582 cards, which use an RTL8812AE chip are not able to scan for 5G networks. The problems started with kernel 4.2, which is the first version that had commit d10101a60372 ("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this patch, the driver went fro

[PATCH 4.2.y-ckt 031/273] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-03-07 Thread Kamal Mostafa
ich use an RTL8812AE chip are not able to scan for 5G networks. The problems started with kernel 4.2, which is the first version that had commit d10101a60372 ("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this patch, the driver went from setting a default channel

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-17 Thread Larry Finger
- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c [...] @@ -168,12 +166,15 @@ int rtl8821ae_init_sw_vars(struc

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-17 Thread Larry Finger
int_clear was moved so that it is near that of the rest of the parameters. Signed-off-by: Larry Finger Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + 1 file changed, 5 insertions(+), 4 deletions

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Luis Henriques
Signed-off-by: Kalle Valo <kv...@codeaurora.org> > > Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> > > > > --- > >  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + > >  1 file changed, 5 insertions(+), 4 deletions(-) > >

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Luis Henriques
one of them used the wrong variable. The > > initialization of parameter int_clear was moved so that it is near that > > of the rest of the parameters. > > > > Signed-off-by: Larry Finger > > Signed-off-by: Kalle Valo > > Signed-off-by: Greg Kroah-Hartman &

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Ben Hutchings
oved so that it is near that > of the rest of the parameters. > > Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> > Signed-off-by: Kalle Valo <kv...@codeaurora.org> > Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> > > --- >  drive

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Ben Hutchings
rest of the parameters. > > Signed-off-by: Larry Finger > Signed-off-by: Kalle Valo > Signed-off-by: Greg Kroah-Hartman > > --- >  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + >  1 file changed, 5 insertions(+), 4 deletions(-) > > --- a/dr

[PATCH 4.4 113/117] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-02-14 Thread Greg Kroah-Hartman
E chip are not able to scan for 5G networks. The problems started with kernel 4.2, which is the first version that had commit d10101a60372 ("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this patch, the driver went from setting a default channel plan to using the value der

[PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-14 Thread Greg Kroah-Hartman
; Signed-off-by: Kalle Valo <kv...@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821a

[PATCH 4.4 113/117] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-02-14 Thread Greg Kroah-Hartman
networks. The problems started with kernel 4.2, which is the first version that had commit d10101a60372 ("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this patch, the driver went from setting a default channel plan to using the value derived from EEPROM. Bug report

[PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-14 Thread Greg Kroah-Hartman
--- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c @@ -95,8 +95,6 @@ int rtl8821ae_init_sw_vars(struct ieee80

[PATCH 4.3 192/200] rtlwifi: rtl8821ae: Fix lockups on boot

2016-02-14 Thread Greg Kroah-Hartman
4.3-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger <larry.fin...@lwfinger.net> commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 upstream. In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot&qu

  1   2   3   4   >