linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Vincent Brillault <gentoo@lerya.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Warnings with ASUS PCE-N15 (RTL8188CE)
Date: Mon, 25 Mar 2013 15:05:35 -0500	[thread overview]
Message-ID: <5150AE0F.2040306@lwfinger.net> (raw)
In-Reply-To: <20130325195104.GA11212@Fea.lerya.net>

On 03/25/2013 02:51 PM, Vincent Brillault wrote:
> Thanks for your quick response, comments inline.
>
> On Mon 25.Mar'13 at 14:11:27 -0500, Larry Finger wrote:
>> I think the difference in our two systems is in the use of NetworkManager and
>> the associated applet. With it, rtl_op_bss_info_changed() does not seem to be
>> called before sta is ready.
>>
>> Attached is a patch that will force mac->mode when sta has not been established.
>> Perhaps that will be enough.
> I does work. I don't have any warning when loading the module and
> establishing the connection. What will happen if the network is not
> really a WIRELESS_MODE_G but a WIRELESS_MODE_B ?

It should not matter, but I will make it B instead of G. Once the connection is 
established, then the handshaking with the AP will set sta and the mode to 
whatever the AP supports.

>> It not, I will need to set up your distro and run the wireless exactly the way
>> you do to duplicate your results. Please provide the distro name and version,
>> the architecture, the sequence of commands, and the contents of any special
>> scripts you run.
> If you want to duplicate my system, here are those information:
> Distribution: Gentoo Linux (profile hardened/linux/x86)
> Architecture: i686
> Current Kernel: manually installed wireless-testing 3.9.0-rc3+ with your
> patches
>
> I've attached my kernel .config, a emerge --info (contains
> information about my system configuration). It's a stable gentoo system,
> with the following unstables packages:
> '''
> =sys-kernel/linux-firmware-99999999 **
> =net-wireless/wpa_supplicant-2.0 ~x86
> =dev-libs/libnl-3.2.21 ~x86
> '''
>
> wpa_supplicant is using the following USE flags:
> '''
> net-wireless/wpa_supplicant -ssl fasteap wps ap wimax p2p eap-sim
> '''
>
> I did not modified the standard init scripts from Gentoo, my
> configuration of the interface (/etc/conf.d/net) is:
> '''
> config_wlan0="dhcp"
> wpa_supplicant_wlan0="-f /var/log/wpa_supplicant.log -W nl80211 -t"
> '''
>
> The uncommented part of my wpa_supplicant configuration file only
> contains the following:
> '''
> ctrl_interface=/var/run/wpa_supplicant
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> country=FR
> network={
>    ssid="${myssid}"
>    scan_ssid=1
>    proto=WPA RSN
>    key_mgmt=WPA-PSK
>    pairwise=CCMP
>    group=TKIP
>    psk=${mypsk}
> }
> '''
>
> In order to have the errors I mention, I run the following:
> (inside a compat-drivers pull, just for unloading the module)
> '''
> /etc/init.d/net.wlan0 stop && make wlunload; dmesg -c > /dev/null;
> modprobe rtl8192ce; /etc/init.d/net.wlan0 start;
> '''
>
>
> I know this is not a standard distribution and that's why, if you have
> any idea of things I can do to help you, please tell me.

I will let you change that G to a B and test some more. If all goes well, then I 
will not need to set up that test bed, but at least I have the necessary details 
if ever required.

Larry



  reply	other threads:[~2013-03-25 20:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 19:29 Warnings with ASUS PCE-N15 (RTL8188CE) Vincent Brillault
2013-03-08 21:58 ` Vincent Brillault
2013-03-09  1:53   ` Larry Finger
2013-03-09 11:32     ` Vincent Brillault
2013-03-09 18:24       ` Larry Finger
2013-03-11 18:38         ` Vincent Brillault
2013-03-13  8:00           ` Vincent Brillault
2013-03-17 14:12             ` Vincent Brillault
2013-03-25 18:29               ` Vincent Brillault
2013-03-25 19:11                 ` Larry Finger
2013-03-25 19:51                   ` Vincent Brillault
2013-03-25 20:05                     ` Larry Finger [this message]
2013-04-09  9:47                       ` Vincent Brillault
2013-04-09 15:32                         ` Larry Finger
2013-04-09 16:04                           ` Vincent Brillault
2013-04-09 18:03                             ` Larry Finger

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=5150AE0F.2040306@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=gentoo@lerya.net \
    --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;
as well as URLs for NNTP newsgroup(s).