All of lore.kernel.org
 help / color / mirror / Atom feed
* rtl8192cu in AP mode.
@ 2012-12-12 23:45 Richard Röjfors
  2012-12-13 18:30 ` Christian Lamparter
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Röjfors @ 2012-12-12 23:45 UTC (permalink / raw)
  To: linux-wireless

Hi everyone,

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.

If I send another DHCP request, I get the response immediately. So the
problem seems to be related to ARP. I ran some http when I got the
very-rare-arp-reply and that works too.

I thought that ARP responses might be sent really quickly compared to
dhcp and http since the replies would require interaction with
userspace. So I played with some delays before sending the arp response,
without any luck.

Any ideas anyone?

Thanks
Richard


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <455804885.580074.1401127662835.open-xchange@email.1and1.com>]

end of thread, other threads:[~2014-05-26 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.