From: alupu@verizon.net
To: Larry.Finger@lwfinger.net
Cc: linux-wireless@vger.kernel.org
Subject: Re: r8712u staging in kernel 3.2.9
Date: Fri, 09 Mar 2012 13:06:10 -0600 (CST) [thread overview]
Message-ID: <30444020.391741.1331319970885.JavaMail.root@vms170029> (raw)
[-- Attachment #1: Type: text/plain, Size: 504 bytes --]
> On 03/07/12 11:16 AM, Larry Finger wrote:
> To help debug the problem, the attached patch will log the setting of
> the ESSID in the driver.
> For some reason, there is one garbage printout and the correct
> one for every call, but that should not cause a problem.
Hi Larry,
I applied the "debug" patch you sent and I followed your test instructions.
Still, the same problem.
Moreover I didn't see any debug output; maybe I'm missing something.
The log of my test is attached.
Regards,
-- Alex
[-- Attachment #2: temp3.txt --]
[-- Type: text/plain, Size: 5272 bytes --]
[/linux-3.2.9/drivers/staging/rtl8712]$ ls -og rtl871x_ioctl_linux*
-rw-rw-r-- 1 70837 2012-03-09 12:58 rtl871x_ioctl_linux.c
-rw-rw-r-- 1 70549 2012-02-29 19:32 rtl871x_ioctl_linux.c-orig
-rw-r--r-- 1 237684 2012-03-09 13:11 rtl871x_ioctl_linux.o
------
[/linux-3.2.9/drivers/staging/rtl8712]$ diff rtl871x_ioctl_linux.c-orig \
rtl871x_ioctl_linux.c
1296c1296,1297
< if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
---
> if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) {
> printk(KERN_INFO "*********** in %s - Returned -EBUSY\n", __func__);
1298c1299,1301
< if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
---
> }
> if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
> printk(KERN_INFO "*********** in %s - Returned 0\n", __func__);
1300c1303,1305
< if (wrqu->essid.length > IW_ESSID_MAX_SIZE)
---
> }
> if (wrqu->essid.length > IW_ESSID_MAX_SIZE) {
> printk(KERN_INFO "*********** in %s - Returned -E2BIG\n", __func__);
1301a1307
> }
1340a1347
> printk(KERN_INFO "r8712u: Set ESSID to %s\n", ndis_ssid.Ssid);
-----------------------------------------------------------------
[~/Temp]$ iwconfig --version
iwconfig Wireless-Tools version 29
Compatible with Wireless Extension v11 to v22.
Kernel Currently compiled with Wireless Extension v22.
------
usb 8-1: new high-speed USB device number 2 using ehci_hcd
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 = 00:1a:ef:25:2d:f9
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
usbcore: registered new interface driver r8712u
------
[~/Temp]$ iwconfig --version
iwconfig Wireless-Tools version 29
Compatible with Wireless Extension v11 to v22.
Kernel Currently compiled with Wireless Extension v22.
wlan0 Recommend Wireless Extension v16 or later,
Currently compiled with Wireless Extension v22.
------
[~/Temp]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated 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
------
[~/Temp]$ iwconfig wlan0 essid radius
r8712u: Set ESSID to radius
------
[~/Temp]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated 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
------
[~/Temp]$ iwconfig wlan0 key restricted 1234f0033edaebf3f7dab4ceca
r8712u: r8711_wx_set_enc: IW_ENCODE_RESTRICTED
------
[~/Temp]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated 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
------
Excerpt from 'dmesg':
usb 8-1: new high-speed USB device number 2 using ehci_hcd
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 = 00:1a:ef:25:2d:f9
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
usbcore: registered new interface driver r8712u
r8712u: Set ESSID to radius
r8712u: r8711_wx_set_enc: IW_ENCODE_RESTRICTED
------
Tail of 'kern.log':
Mar 9 13:23:25 AlexLFS kernel: usb 8-1: new high-speed USB device number 2
using ehci_hcd
Mar 9 13:23:25 AlexLFS kernel: r8712u: module is from the staging directory,
the quality is unknown, you have been warned.
Mar 9 13:23:25 AlexLFS kernel: r8712u: DriverVersion: v7_0.20100831
Mar 9 13:23:25 AlexLFS kernel: r8712u: register rtl8712_netdev_ops to
netdev_ops
Mar 9 13:23:25 AlexLFS kernel: r8712u: USB_SPEED_HIGH with 4 endpoints
Mar 9 13:23:25 AlexLFS kernel: r8712u: Boot from EFUSE: Autoload OK
Mar 9 13:23:25 AlexLFS kernel: r8712u: CustomerID = 0x0000
Mar 9 13:23:25 AlexLFS kernel: r8712u: MAC Address from efuse =
00:1a:ef:25:2d:f9
Mar 9 13:23:25 AlexLFS kernel: r8712u: Loading firmware from
"rtlwifi/rtl8712u.bin"
Mar 9 13:23:25 AlexLFS kernel: usbcore: registered new interface driver
r8712u
Mar 9 13:26:48 AlexLFS kernel: r8712u: Set ESSID to radius
Mar 9 13:29:59 AlexLFS kernel: r8712u: r8711_wx_set_enc: IW_ENCODE_RESTRICTED
Mar 9 13:42:39 AlexLFS kernel: usb 8-1: USB disconnect, device number 2
next reply other threads:[~2012-03-09 20:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-09 19:06 alupu [this message]
2012-03-10 2:17 ` r8712u staging in kernel 3.2.9 Larry Finger
-- strict thread matches above, loose matches on Subject: below --
2012-03-13 4:13 alupu
2012-03-12 23:02 alupu
2012-03-13 0:54 ` Larry Finger
2012-03-12 1:46 alupu
2012-03-12 2:54 ` Larry Finger
2012-03-11 22:36 alupu
2012-03-12 0:19 ` Larry Finger
2012-03-11 19:57 alupu
2012-03-11 19:57 alupu
2012-03-10 18:10 alupu
2012-03-11 4:23 ` Larry Finger
2012-03-10 4:53 alupu
2012-03-07 5:31 alupu
2012-03-07 16:15 ` Larry Finger
[not found] <31991817.2926129.1331079358141.JavaMail.root@vznit170116>
2012-03-07 3:22 ` Larry Finger
2012-03-07 1:44 alupu
2012-03-06 2:22 alupu
2012-03-06 20:21 ` Larry Finger
2012-03-05 17:07 alupu
2012-03-05 19:10 ` 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=30444020.391741.1331319970885.JavaMail.root@vms170029 \
--to=alupu@verizon.net \
--cc=Larry.Finger@lwfinger.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).