* [WIP v2] rtlwifi: rtl8192su subdriver
2012-05-03 5:08 [WIP] " Joshua Roys
@ 2012-05-08 2:18 ` Joshua Roys
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Roys @ 2012-05-08 2:18 UTC (permalink / raw)
To: linux-wireless; +Cc: Larry.Finger
Hello,
A few things have changed between this and the previous version. Larry Finger's patch for handling the race condition with mac80211 and the firmware callback is used instead (rtlwifi: fix for race condition when firmware is cached), and a new patch for disabling the LEDs in the usb core is added (mirroring rtl_pci_stop). All patches were rebased on wireless-testing from the 3rd. The subdriver handles shutdown much better, although there is still room for improvement. Some differences from rtl8192se were eliminated, although all PHY/BB/RF reg commands are still commented out. When any of those regs were accessed directly, the device would die. When accessed through the IOCMD regs, the firmware on the device would seem to disable automatic control of some important functions causing a large drop in receive sensitivity and general performance.
I discovered the RXFILTERMAP registers were set by the firmware after download causing the firmware to handle many management frames; allowing everything but beacons through still does not allow an association/authentication against a WPA2-PSK AP to succeed. The AP sees a probe request and sends a probe response, but the driver never sees the response. There are firmware commands available for offloading the joining of a BSS and the authentication bits which are likely the easiest solution. Also needing fixing are a few WARNs, for example if you happen to unload the module during a scan. Finally, the site survey results are now properly handed off to cfg80211.
Thanks,
Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [WIP v2] rtlwifi: rtl8192su subdriver
[not found] <4FEF0BD1.90405@gmail.com>
@ 2012-07-09 12:40 ` Joshua Roys
2012-07-09 13:31 ` Larry Finger
2012-07-13 21:16 ` Xose Vazquez Perez
0 siblings, 2 replies; 5+ messages in thread
From: Joshua Roys @ 2012-07-09 12:40 UTC (permalink / raw)
To: Xose Vazquez Perez; +Cc: wireless
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
On 06/30/2012 10:23 AM, Xose Vazquez Perez wrote:
> on Mon, 7 May 2012 Joshua Roys wrote:
>
>> Currently a WIP.
>
>> A few things have changed between this and the previous version.
>> Larry Finger's \
>> patch for handling the race condition with mac80211 and the firmware
>> callback is used \
>> instead (rtlwifi: fix for race condition when firmware is cached), and
>> a new patch \
> > [...]
>
> hi Joshua,
>
> any news on that ?
Hello,
Currently I'm still searching for the hidden/undocumented registers that
will allow the rtlwifi driver to drive the *su chips. (The rtlwifi
driver uses the softmac infrastructure while the current firmware for
the *su chips really needs a fullmac driver.)
Josh
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5059 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [WIP v2] rtlwifi: rtl8192su subdriver
2012-07-09 12:40 ` [WIP v2] rtlwifi: rtl8192su subdriver Joshua Roys
@ 2012-07-09 13:31 ` Larry Finger
2012-07-13 21:16 ` Xose Vazquez Perez
1 sibling, 0 replies; 5+ messages in thread
From: Larry Finger @ 2012-07-09 13:31 UTC (permalink / raw)
To: Joshua Roys; +Cc: Xose Vazquez Perez, wireless
On 07/09/2012 07:40 AM, Joshua Roys wrote:
> On 06/30/2012 10:23 AM, Xose Vazquez Perez wrote:
>> on Mon, 7 May 2012 Joshua Roys wrote:
>>
>>> Currently a WIP.
>>
>>> A few things have changed between this and the previous version.
>>> Larry Finger's \
>>> patch for handling the race condition with mac80211 and the firmware
>>> callback is used \
>>> instead (rtlwifi: fix for race condition when firmware is cached), and
>>> a new patch \
>> > [...]
>>
>> hi Joshua,
>>
>> any news on that ?
>
> Hello,
>
> Currently I'm still searching for the hidden/undocumented registers that will
> allow the rtlwifi driver to drive the *su chips. (The rtlwifi driver uses the
> softmac infrastructure while the current firmware for the *su chips really needs
> a fullmac driver.)
I don't think I believe the business about a fullmac driver. Driver r8712u,
which does handle the RTL8191SU, uses its own softmac driver.
Larry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [WIP v2] rtlwifi: rtl8192su subdriver
2012-07-09 12:40 ` [WIP v2] rtlwifi: rtl8192su subdriver Joshua Roys
2012-07-09 13:31 ` Larry Finger
@ 2012-07-13 21:16 ` Xose Vazquez Perez
2012-07-13 21:22 ` Joshua Roys
1 sibling, 1 reply; 5+ messages in thread
From: Xose Vazquez Perez @ 2012-07-13 21:16 UTC (permalink / raw)
To: Joshua Roys; +Cc: wireless
On 07/09/2012 02:40 PM, Joshua Roys wrote:
> Currently I'm still searching for the hidden/undocumented registers that will
> allow the rtlwifi driver to drive the *su chips. (The rtlwifi driver uses the
> softmac infrastructure while the current firmware for the *su chips really
> needs a fullmac driver.)
Is there any reason to think a fullmac driver is better than a softmac for this chip ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [WIP v2] rtlwifi: rtl8192su subdriver
2012-07-13 21:16 ` Xose Vazquez Perez
@ 2012-07-13 21:22 ` Joshua Roys
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Roys @ 2012-07-13 21:22 UTC (permalink / raw)
To: Xose Vazquez Perez; +Cc: wireless
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
On 07/13/2012 05:16 PM, Xose Vazquez Perez wrote:
> On 07/09/2012 02:40 PM, Joshua Roys wrote:
>
>> Currently I'm still searching for the hidden/undocumented registers
>> that will
> > allow the rtlwifi driver to drive the *su chips. (The rtlwifi driver
> uses the
> > softmac infrastructure while the current firmware for the *su chips
> really
> > needs a fullmac driver.)
>
> Is there any reason to think a fullmac driver is better than a softmac
> for this chip ?
The firmware provides a very similar set of services as called by
drivers/net/wireless/rndis_wlan.c (albeit through a different calling
interface). This would offload some processing to the device and
potentially allow the host to sleep more. The big reason not to is that
we have rtlwifi/softmac already...
Josh
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5059 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-13 21:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4FEF0BD1.90405@gmail.com>
2012-07-09 12:40 ` [WIP v2] rtlwifi: rtl8192su subdriver Joshua Roys
2012-07-09 13:31 ` Larry Finger
2012-07-13 21:16 ` Xose Vazquez Perez
2012-07-13 21:22 ` Joshua Roys
2012-05-03 5:08 [WIP] " Joshua Roys
2012-05-08 2:18 ` [WIP v2] " Joshua Roys
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).