All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Jean-Luc Duprat <jld@acm.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Realtek rtl8192se in AP mode?
Date: Thu, 05 Jan 2012 21:12:37 -0600	[thread overview]
Message-ID: <4F0666A5.6070004@lwfinger.net> (raw)
In-Reply-To: <CAP6E9idrT=gu6cnKqMzVMVEXqRHdyuADgBNJTdCebt1Rf1dcfg@mail.gmail.com>

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

On 12/25/2011 06:59 PM, Jean-Luc Duprat wrote:
> I am trying to find out whether the Realtek rtl8192se is
> known to be stable and reliable in AP mode.  It certainly
> became functional with kernel 3.0 and I can get the interface
> into master mode, but whenever I try to connect to it my laptop reports
> connection timeouts.  Digging a little more with wireshark, it
> seems that authentication packets exchanged, but no association
> packets are coming through...
>
> I have detailed the details of my configuration in a post in the fedora forums:
> http://forums.fedoraforum.org/showthread.php?p=1533542
>
> Since this is a small-factor mini-ITX box, I'd like to get the
> built-in adapter to work.  Any reports of success using this chip in AP mode?
> I'm happy to help track down and debug any issues.

Jean-Luc,

I have had some success in getting rtl8192se to work as an AP using the attached 
patch on top of the latest wireless-testing. A recent compat-wireless should 
also work.

I need to do a lot more testing, but I had a ping going for 8100 seconds with 2% 
packet loss. Obviously, there is room for improvement but at least there is 
progress. BTW, I'm using a 10ec:8174 device for testing.

Larry



[-- Attachment #2: rtl8192se_ap_fix --]
[-- Type: text/plain, Size: 676 bytes --]

Driver rtl8192se does not work in AP mode until this change is
applied.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
---

Index: wireless-testing-new/drivers/net/wireless/rtlwifi/ps.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/ps.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/ps.c
@@ -239,9 +239,6 @@ void rtl_ips_nic_on(struct ieee80211_hw
 	enum rf_pwrstate rtstate;
 	unsigned long flags;
 
-	if (mac->opmode != NL80211_IFTYPE_STATION)
-		return;
-
 	spin_lock_irqsave(&rtlpriv->locks.ips_lock, flags);
 
 	if (ppsc->inactiveps) {

  reply	other threads:[~2012-01-06  3:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-26  0:59 Realtek rtl8192se in AP mode? Jean-Luc Duprat
2012-01-06  3:12 ` Larry Finger [this message]
2012-01-25 11:15 ` Timon ter Braak
2012-01-25 21:38   ` Larry Finger
2012-01-26  8:45     ` Timon ter Braak
2012-01-26  8:49       ` Don deJuan
2012-01-26 15:35         ` Larry Finger
2013-05-27  5:00           ` Janice

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=4F0666A5.6070004@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=jld@acm.org \
    --cc=linux-wireless@vger.kernel.org \
    /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.