From: Larry Finger <Larry.Finger@lwfinger.net>
To: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>,
gilbertdion@gmail.com, wlanfae@realtek.com,
chaoming_li@realsil.com.cn
Cc: linux-wireless@vger.kernel.org
Subject: Re: Fwd: 8192 WiFi Realtek 8192E disconnects after a while and fails to reconnect
Date: Mon, 18 Jan 2016 14:30:44 -0600 [thread overview]
Message-ID: <569D4B74.4040709@lwfinger.net> (raw)
In-Reply-To: <569C10A9.8020200@gmail.com>
On 01/17/2016 04:07 PM, Mateusz Kulikowski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi Gilbert,
>
> Small update from my side - It took me a while to setup x86_64 machine,
> but today was finally able to do test.
>
>
> My result are the same as Larry:
> I got my board running for ~4 hours and there was no disconnect.
> For part of the time I was doing (some) activity, for around hour machine
> was idle.
>
> I also did suspend-resume cycle.
>
> System: Ubuntu 15.04 (from usb stick), kernel 3.19.0-15-generic, x86_64
> Machine: MSI AM1I, Sempron 2650,
> PCIe to mini-pcie "wifi" bridge (with antenna connector and proper RFKILL
> wiring).
>
>
> Are you able to do more troubleshooting?
>
> Perhaps try different AP/Channel/mode, (dis)connect power cable from laptop etc.
>
> I'll try to make another reproduction attempt, as without being able
> to reproduce it I will probably not be able to fix it.
The problem only shows up when you hit the NIC hard. Try downloading a large
file while browsing.
Some info from the Realtek engineer:
=============================
About 92EE's 64 bit mode (PCI DAC), there are three roles -- (PCI host, PCI
device, TRX desc).
All possible combinations are:
(32, 32, 32)
(64, 64, 64)
(32, 32, 64) <== special one
To setup 64 bit mode, please use followings:
1. PCI host
pci_set_dma_mask(pdev, DMA_BIT_MASK(64))
2. PCI device
configuration space 0x719[5] = 1 indicate 64 bit mode
3. TRX desc
register 0x382[15] = 1 indicate 64 bits mode
If we turn on DMA_IS_64BIT, it will be the combination (32, 32, 64).
It is rare to use because of 32 bit DMA address (SAC), but I think it will be work.
We may extend DMA_IS_64BIT to the combination (64, 64, 64) to be meaningful.
=============================
I did the easy step by effectively turning on DMA_IS_64BIT, and the driver
failed. I have not had time to investigate any other of the 64-bit fixes.
Larry
next prev parent reply other threads:[~2016-01-18 20:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKQFV0H+K46CO62w=9yNRvVaOpwmDj3UKXD0QOmF1XPs54GwnQ@mail.gmail.com>
2016-01-07 20:34 ` Fwd: 8192 WiFi Realtek 8192E disconnects after a while and fails to reconnect Gilbert Dion
2016-01-07 22:05 ` Mateusz Kulikowski
2016-01-17 22:07 ` Mateusz Kulikowski
2016-01-18 1:03 ` Larry Finger
2016-01-18 19:59 ` Mateusz Kulikowski
2016-01-18 20:30 ` Larry Finger [this message]
2016-01-09 14:14 ` Larry Finger
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=569D4B74.4040709@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=chaoming_li@realsil.com.cn \
--cc=gilbertdion@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mateusz.kulikowski@gmail.com \
--cc=wlanfae@realtek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.