public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>, wlanfae@realtek.com
Subject: Re: r8712u cannot set essid
Date: Sun, 24 Apr 2011 22:23:56 -0500	[thread overview]
Message-ID: <4DB4E94C.2060505@lwfinger.net> (raw)
In-Reply-To: <BANLkTi=fFg6+3DcBNwEOex0jASf1WiBRDQ@mail.gmail.com>

On 04/24/2011 09:16 PM, Jeff Chua wrote:
> I'm having problem trying to set essid on the "Realtek RTL8188S WLAN
> Adapter" with the r8172u module on 2.6.39-rc4. There's no error. Just
> can't set.
>
>
> # dmesg ...
> r8712u: module is from the staging directory, the quality is unknown,
> you have been warned.
> r8712u: DriverVersion: v7_0.20100831
> r8712u: register rtl8712_netdev_ops to netdev_ops
> r8712u: USB_SPEED_HIGH with 4 endpoints
> r8712u: Boot from EFUSE: Autoload OK
> r8712u: CustomerID = 0x0000
> r8712u: MAC Address from efuse = 90:61:0c:01:8f:b0
> usbcore: registered new interface driver r8712u
> r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
> r8712u: 1 RCR=0x153f00e
> r8712u: 2 RCR=0x553f00e
>
> # iwconfig wlan1 essid "tryanything"
> # iwconfig wlan1
> wlan1     IEEE 802.11b  ESSID:""  Nickname:"rtl_wifi"
>            Mode:Ad-Hoc  Cell: Not-Associated   Bit Rate:0 kb/s
>            Sensitivity:0/0
>            Retry:off   RTS thr:off   Fragment thr:off
>            Encryption key:off
>            Power Management:off
>            Link Quality:0  Signal level:0  Noise level:0
>            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>            Tx excessive retries:0  Invalid misc:0   Missed beacon:0

The code requires the interface to be up before the essid can be set. If you do 
it with the iwconfig command, you will see an error message.

I'm not sure if this is a reasonable requirement before allowing the essid to be 
set. Any thoughts?

Larry

  reply	other threads:[~2011-04-25  3:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-25  2:16 r8712u cannot set essid Jeff Chua
2011-04-25  3:23 ` Larry Finger [this message]
2011-04-25  4:32   ` Jeff Chua
2011-04-25 11:14     ` Jeff Chua
2011-04-25 12:10       ` Jeff Chua
2011-04-25 19:18     ` Larry Finger
2011-04-26  0:21       ` Jeff Chua
2011-04-26  0:48         ` Larry Finger
2011-04-26  3:26           ` Jeff Chua
2011-04-26 15:32             ` Larry Finger
2011-04-26 16:24               ` Jeff Chua
2011-04-26 19:30                 ` Jeff Chua
2011-04-26 20:12                   ` Larry Finger
2011-04-27 15:45                     ` Jeff Chua

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=4DB4E94C.2060505@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wlanfae@realtek.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