Re: [PATCH] rtl8xxxu: increase polling timeout for firmware startup

2016-05-22 Thread Dan Lenski
Daniel Lenski wrote: > - Hypothesis: since the rtl8xxxu driver does not explicitly power off the > device before attempting to power it on, if it boots up in an unknown > state, it will remain in this state until explicitly power-cycled. I am now pretty sure that this is the true cause of

[PATCH] rtl8xxxu: increase polling timeout for firmware startup

2016-05-18 Thread Dan Lenski
Here is a patch to increase the polling timeout for rtl8xxxu firmware startup. This patch now applies cleanly to Jes Sorensen's rtl8xxxu-devel tree (86c89dd4782030c4f9e0c82424a8b92f9fdb35aa). The patch to make this a module parameter was removed. Dan Lenski (1): rtl8xxxu: Increase default

[PATCH] rtl8xxxu: Increase default polling timeout for firmware startup

2016-05-18 Thread Dan Lenski
_MAX (1000) is too short, and the MCU fails to start up as quickly as expected. With a longer value (5000), the driver starts up consistently and successfully after cold-boot. Signed-off-by: Dan Lenski <dlen...@gmail.com> --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 2 +- 1

[PATCH 1/2] rtl8xxxu: Increase default polling timeout for firmware startup

2016-05-17 Thread Dan Lenski
_MAX (1000) is too short, and the MCU fails to start up as quickly as expected. With a longer value (5000), the driver starts up consistently and successfully after cold-boot. Signed-off-by: Dan Lenski <dlen...@gmail.com> --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 2 +- 1

[PATCH 0/2] rtl8xxxu: increase polling timeout for firmware startup

2016-05-17 Thread Dan Lenski
Here are patches patch to increase the polling timeout for rtl8xxxu firmware startup, and to make it configurable. Resubmitting with changes per Julian Calaby's comments. Dan Lenski (2): rtl8xxxu: Increase default polling timeout for firmware startup rtl8xxxu: Make polling timeout

[PATCH] Make firmware startup polling timeout configurable, and increase default

2016-05-17 Thread Dan Lenski
This patch: - increases the default value for the maximum number of polling loops to wait for the rtl8xxxu MCU to start after the firmware is loaded (from 1000 to 5000) - makes this a configurable module parameter With RTL8723AU chipset, I frequently encounter "Firmware failed to start"

[PATCH] increase rtl8xxxu polling timeout for firmware startup

2016-05-17 Thread Dan Lenski
Here is the patch to increase the polling timeout for rtl8xxxu firmware startup, and to make it configurable, as referred to in my previous message. Dan Lenski (1): Make firmware startup polling timeout configurable, and increase default drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c

[PATCH] fix MAC-setting for r8723au

2015-12-20 Thread Dan Lenski
Dan Dan Lenski (1): enable setting MAC address for r8723au drivers/staging/rtl8723au/os_dep/os_intfs.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a mess

[PATCH] enable setting MAC address for r8723au

2015-12-20 Thread Dan Lenski
Signed-off-by: Dan Lenski <dlen...@gmail.com> --- drivers/staging/rtl8723au/os_dep/os_intfs.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/os_intfs.c b/drivers/staging/rtl8723au/os_dep/os_intfs.c index b8848c2..228e19f