linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Mike Thompson <mpthompson@gmail.com>
Cc: Linux Wireless <linux-wireless@vger.kernel.org>
Subject: Re: Problems with rtl8192cu driver in Access Point mode
Date: Wed, 08 Aug 2012 09:59:11 -0500	[thread overview]
Message-ID: <50227EBF.9030400@lwfinger.net> (raw)
In-Reply-To: <CAEOSq-Nac1-6SbfQTLCO7bkQVWgLxZE4x0oNbviyyyToPZzo5w@mail.gmail.com>

On 08/08/2012 02:53 AM, Mike Thompson wrote:
> Hello,
>
> I'm attempting to use an rtl8192cu based USB wifi adapter in Access
> Point mode with the hostapd software on a very small 3-chip iMX233 ARM
> system.  I can run the adapter fine using the driver in station mode
> and I'm able to connect to wifi network.  However, I'm not having much
> luck running the adapter in Access Point mode.  I've seen hints in the
> Linux Wireless email archives that there seems to be issues with the
> rtlwifi/rtl8192cu driver in access point mode.  Has anyone had success
> with this driver in access point mode?
>
> Basically, a remote station (a Windows laptop in this case) can
> connect to the rtl8192cu based access point configured as an open
> network.  However, I'm unable to ping from the laptop to the access
> point or back the other way.  Using tcpdump on the access point, I can
> see the ARP requests from the laptop arriving on the access point and
> the response being sent, but the laptop never seems to receive the ARP
> response.  Likewise, the ARP requests from the access point never seem
> to arrive at laptop.  However, if I manually create entries in the ARP
> tables for each device, I can then ping and other traffic will begin
> to flow over the wireless connection without apparent problems -- even
> subsquent ARP requests are passed.  It's almost as if regular IP
> packets can be transmitted from the station, but ARP type packets
> won't flow until IP packets have proceeded the ARP packets which won't
> occur until the ethernet/IP addressing has been resolved.
>
> I'm currently using a very recent compat-wireless driver from
> 2012-07-03 with an older 2.6.35 kernel.  I've tried at least three
> prior versions of the rtlwifi/rtl8192cu driver (between 2.6.35 to
> 3.5), but they all exhibit the same symptom.
>
> Any hints on where I can begin debugging the issue?

Do you have a 3rd system that can use wireshark or kismet to capture the data on 
the air? That way we would know if the ARP responses are being lost inside 
rtl8192cu, or if they are just being badly formatted and being rejected by the 
laptop's receiver.

Larry


  reply	other threads:[~2012-08-08 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08  7:53 Problems with rtl8192cu driver in Access Point mode Mike Thompson
2012-08-08 14:59 ` Larry Finger [this message]
2012-08-08 17:39   ` Mike Thompson
2012-08-09  7:44   ` Mike Thompson

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=50227EBF.9030400@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mpthompson@gmail.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 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).