Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Richard Röjfors" <richard.rojfors@gmail.com>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: rtl8192cu in AP mode.
Date: Fri, 14 Dec 2012 15:25:50 +0100	[thread overview]
Message-ID: <1355495150.10239.63.camel@rorics.office.pelagicore.net> (raw)
In-Reply-To: <201212141500.17643.chunkeey@googlemail.com>

On Fri, 2012-12-14 at 15:00 +0100, Christian Lamparter wrote:
> On Friday 14 December 2012 10:08:27 Richard Röjfors wrote:
> > On Thu, 2012-12-13 at 19:30 +0100, Christian Lamparter wrote:
> > > On Thursday, December 13, 2012 12:45:56 AM Richard Röjfors wrote:
> > > > I've been playing with an rtl8192 the last days, I want it to act as an
> > > > access point. It's connected to an ARM9 box.
> > > > 
> > > > I'm using the latest compat-wireless, with some additional patches for
> > > > beacon support.
> > > > 
> > > > My hostapd conf looks like this:
> > > > interface=wlan0
> > > > ssid=Test
> > > > driver=nl80211
> > > > hw_mode=b
> > > > channel=6
> > > > dtim_period=1
> > > > 
> > > > It almost works. Running hostapd and the networks shows up for my other
> > > > machine, which can connect to the network.
> > > > 
> > > > I also get dhcp-requests through and corresponding dhcp responses. But
> > > > then the oddness starts. ARP requests sent from the client is received
> > > > on the AP side, the IP stack returns an ARP response, and I see it
> > > > beeing sent by _rtl_submit_tx_urb and usb_submit_urb returns 0. But
> > > > nothing is received on the other end.
> > > > Sometimes, very rarely a response can get through, maybe 1 of 100 or so,
> > > > or even less.
> > > 
> > > What's your client? Does it switch to power save mode after DHCP response
> > > and is it an 11n client as well [same device? different device/driver -
> > > yes I know you haven't enabled 11n, but still.]?
> > 
> > I have tested with two clients, my GNU/Linux laptop. It has a intel wlan
> > chipset. How would I know if it switches to power save?
> iw dev wlanX get power_save

Thanks will check.

> 
> if it says "Power save: off", then it will never switch into power-save
> mode.
> 
> however, rtl8192cu doesn't generate any beacons
> <http://comments.gmane.org/gmane.linux.kernel.wireless.general/96712>
> so the AP mode isn't fully implemented anyway. So, it's a bit
> pointless to debug the issue any further at this time.

I applied this patch hoping to get beacon support, it has the effect
that the clients don't disconnect from the network at least.

http://www.spinics.net/lists/linux-wireless/msg96128.html


> > Btw I saw another difference on the 8192cu AP compared to other AP's
> > nearby. Kismet say it had a beacon time of 0, while others had non-zero.
> > I applied a patch I found on the list for some beacon handling.
> Wait. Are you still talking about rtl8192cu (rtlwifi), or are you now
> referring to 8192cu (the vendor driver)

I'm only refering to rtl8192cu (rtlwifi).

--Richard



  reply	other threads:[~2012-12-14 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 23:45 rtl8192cu in AP mode Richard Röjfors
2012-12-13 18:30 ` Christian Lamparter
2012-12-14  9:08   ` Richard Röjfors
2012-12-14 14:00     ` Christian Lamparter
2012-12-14 14:25       ` Richard Röjfors [this message]
2012-12-14 15:08         ` Christian Lamparter
     [not found] <455804885.580074.1401127662835.open-xchange@email.1and1.com>
2014-05-26 18:18 ` François Gervais

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=1355495150.10239.63.camel@rorics.office.pelagicore.net \
    --to=richard.rojfors@gmail.com \
    --cc=chunkeey@googlemail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox