linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Drunk Cat <natserver2@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: alfa awus036nhr v2 and module rtl8xxxu
Date: Tue, 09 Feb 2016 16:00:46 -0500	[thread overview]
Message-ID: <wrfj60xxd2f5.fsf@redhat.com> (raw)
In-Reply-To: <wrfjd1scmkz6.fsf@redhat.com> (Jes Sorensen's message of "Thu, 04 Feb 2016 12:41:33 -0500")

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

Jes Sorensen <Jes.Sorensen@redhat.com> writes:
> Larry Finger <Larry.Finger@lwfinger.net> writes:
>> On 02/04/2016 10:45 AM, Jes Sorensen wrote:
>>> Drunk Cat <natserver2@gmail.com> writes:
>>>> problem: it does not connect to any wifi network you can see the time out on
>>>> dmesg
>>>>
>>>>
>>>>> lsusb
>>>>
>>>> Bus 002 Device 007: ID 0bda:817f Realtek Semiconductor Corp. RTL8188RU
>>>> 802.11n WLAN Adapter
>>>>
>>>>> iwconfig
>>>> wlp0s20u1  IEEE 802.11bgn  ESSID:off/any
>>>>            Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
>>>>            Retry short limit:7   RTS thr=2347 B   Fragment thr:off
>>>>            Power Management:off
>>>>> dmesg
>>>
>>> Not sure what distribution you are running, but I am seeing problems
>>> with NetworkManager in recent Fedora.
>>>
>>> Could you try the following:
>>> 1) Unplug the WiFi dongle
>>> 2) (Re)load the driver (rmmod rtl8xxxu ; insmod rtl8xxxu)
>>> 3) Restart NetworkManager 'systemctl restart NetworkManager'
>>> 4) Plug in the WiFi dongle
>>
>> Jes,
>>
>> I can confirm what Drunk Cat sees. There is something different about
>> the RTL8192RU as using the iwconfig utility shows no APs in the
>> scan. I hope to get to debugging the problem soon.
>
> OK - thats unfortunate. Most likely the wrong antenna path is being
> enabled for it, or something like that.
>
> Once I finish up the 8723bu/8192eu patchset, I'll try to find some time
> to look at it, if you don't nail it before.

One more time with the actual patch ...

Jes


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rtl8xxxu-1t2r.patch --]
[-- Type: text/x-patch, Size: 576 bytes --]

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
index b0adc2d..e4b8d75 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
@@ -3810,7 +3810,7 @@ static int rtl8xxxu_init_phy_bb(struct rtl8xxxu_priv *priv)
 		rtl8xxxu_write32(priv, REG_FPGA1_TX_INFO, val32);
 
 		val32 = rtl8xxxu_read32(priv, REG_CCK0_AFE_SETTING);
-		val32 &= 0xff000000;
+		val32 &= 0x00ffffff;
 		val32 |= 0x45000000;
 		rtl8xxxu_write32(priv, REG_CCK0_AFE_SETTING, val32);
 

  parent reply	other threads:[~2016-02-09 21:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 23:36 alfa awus036nhr v2 and module rtl8xxxu Drunk Cat
2016-02-04 16:45 ` Jes Sorensen
2016-02-04 17:39   ` Larry Finger
2016-02-04 17:41     ` Jes Sorensen
2016-02-05 16:43       ` Larry Finger
2016-02-09 20:59       ` Jes Sorensen
2016-02-09 21:00       ` Jes Sorensen [this message]
2016-02-10  1:11         ` Larry Finger
2016-02-10  2:00           ` Jes Sorensen
     [not found]             ` <CAOhKHAXH-PCyWQSpuuZ=-6BnE0PeDks-4p9A3G_86OHLfEdU=w@mail.gmail.com>
2016-02-10 15:49               ` Larry Finger
2016-02-28 23:01                 ` Jes Sorensen
2016-02-29  6:57                   ` Larry Finger
2016-02-29 12:28                     ` Jes Sorensen
2016-02-29 21:34                       ` Larry Finger
2016-03-03 21:54                         ` Jes Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wrfj60xxd2f5.fsf@redhat.com \
    --to=jes.sorensen@redhat.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=natserver2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).