[PATCH 0/2] rtl8xxxu: Fix allows wpa_supplicant to authenticate

2016-10-30 Thread John Heenan
is run. Patched code with a suitable Makefile will be available from https://github.com/johnheenan/rtl8xxxu for testing by Cube i9 owners John Heenan (2): rtl8xxxu: Fix for authentication failure rtl8xxxu: Fix for bogus data used to determine macpower drivers/net/wireless/real

[PATCH 1/2] rtl8xxxu: Fix for authentication failure

2016-10-30 Thread John Heenan
. Along with 'Fix for bogus data used to determine macpower', wpa_supplicant now reliably and successfully authenticates. For rtl8xxxu-devel branch of git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git Signed-off-by: John Heenan --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_

[PATCH 2/2] rtl8xxxu: Fix for bogus data used to determine macpower

2016-10-30 Thread John Heenan
kernel/git/jes/linux.git Signed-off-by: John Heenan --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index f25b4df..aae05f3 10

Re: [PATCH 2/2] rtl8xxxu: Fix for bogus data used to determine macpower

2016-10-30 Thread John Heenan
. Before it did not. That is a powerful statement Have a nice day. John Heenan On 30 October 2016 at 22:00, Jes Sorensen wrote: > John Heenan writes: >> Code tests show data returned by rtl8xxxu_read8(priv, REG_CR), used to set >> macpower, is never 0xea. It is only ever 0x01 (f

[PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-10-31 Thread John Heenan
patch. With this patch wpa_supplicant reliably and consistently connects with an AP. Before a workaround such as executing rmmod and modprobe before each call to wpa_supplicant worked with some distributions. Signed-off-by: John Heenan --- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 24

Re: [PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-10-31 Thread John Heenan
On 1 November 2016 at 07:25, Jes Sorensen wrote: > John Heenan writes: >> The rtl8723bu wireless IC shows evidence of a more agressive approach to >> power saving, powering down its RF side when there is no wireless >> interfacing but leaving USB interfacing intact. This mak

Re: [PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-11-01 Thread John Heenan
ieee80211_unregister_hw. rtl8xxxu_probe and rtl8xxxu_disconnect are USB driver functions John Heenan On 1 November 2016 at 08:15, John Heenan wrote: > On 1 November 2016 at 07:25, Jes Sorensen wrote: >> John Heenan writes: > >> >>> @@ -5776,9 +5781,17 @@ static int rtl8xxx

[PATCH v2] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-11-01 Thread John Heenan
AP. Before a workaround such as executing rmmod and modprobe before each call to wpa_supplicant worked with some distributions. Signed-off-by: John Heenan --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-11-01 Thread John Heenan
larified. I will leave it for the moment as it currently serves no direct useful purpose. John Heenan On 1 November 2016 at 17:24, John Heenan wrote: > I have a prepared another patch that is not USB VID/PID dependent for > rtl8723bu devices. It is more elegant. I will send it after t

Re: [PATCH 1/2] rtl8xxxu: Fix for authentication failure

2016-11-03 Thread John Heenan
On 3 November 2016 at 11:00, Larry Finger wrote: > On 10/30/2016 05:20 AM, John Heenan wrote: >> >> This fix enables the same sequence of init behaviour as the alternative >> working driver for the wireless rtl8723bu IC at >> https://github.com/lwfinger