linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Brillault <gentoo@lerya.net>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Warnings with ASUS PCE-N15 (RTL8188CE)
Date: Mon, 25 Mar 2013 19:29:11 +0100	[thread overview]
Message-ID: <20130325182910.GA10274@Fea.lerya.net> (raw)
In-Reply-To: <20130317141201.GA2557@Fea.lerya.net>

Hi Larry and everyone else on the list,

I've seen your 25 patches and applied them in hope my problems were
resolved. They are not :'(

I've tried to look further, I think that the root of this problem is in
core.c, in the rtl_op_bss_info_changed function. This function make a
call to get_sta on the new bssid. The problem is that at this point, the
sta is still not inserted, thus cannot be accessed by this method. As
far as I understand the code, this specific rtl_op_bss_info_changed is
responsible for setting rtlmac->mode, which explains why this mode is
never set on my system.

Example of logs (I've added some printk myself):
[ 1468.664159] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 1468.664271] cfg80211: Ignoring regulatory request Set by core since
the driver uses its own custom regulatory domain
[ 1468.664334] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 1468.664612] rtlwifi: wireless switch is on
[ 1476.203273] rtl_op_add_interface called: opmode 2, addr
30:85:a9:f4:ac:50
[ 1476.213917] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1477.330146] wlan0: authenticate with 00:21:1e:4d:57:60
[ 1477.330154] wlan0: Allocated STA 00:21:1e:4d:57:60
[ 1477.349758] rtl_op_bss_info_changed: changed & BSS_CHANGED_BSSID:
calling get_sta on 0:21:1e:4d:57:60
[ 1477.349758] Sta not found !
[ 1477.349758] wlan0: Inserted STA 00:21:1e:4d:57:60
[ 1477.349758] wlan0: send auth to 00:21:1e:4d:57:60 (try 1/3)
[ 1477.353936] wlan0: authenticated
[ 1477.353942] wlan0: moving STA 00:21:1e:4d:57:60 to state 2
[ 1477.353963] rtl8192ce 0000:03:00.0 wlan0: disabling HT as WMM/QoS is
not supported by the AP
[ 1477.353967] rtl8192ce 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is
not supported by the AP
[ 1477.354903] wlan0: associate with 00:21:1e:4d:57:60 (try 1/3)
[ 1477.360928] wlan0: RX AssocResp from 00:21:1e:4d:57:60 (capab=0x451
status=0 aid=2)
[ 1477.360934] wlan0: moving STA 00:21:1e:4d:57:60 to state 3
[ 1477.360938] rtl_op_sta_add: sta 0:21:1e:4d:57:60
[ 1477.360957] wlan0: moving STA 00:21:1e:4d:57:60 to state 4
[ 1477.360975] wlan0: associated
[ 1477.360983] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1477.363615] get_highest_rix called, rtlmac->opmode = 2, rtlmac->mode
= 0
[ 1477.363619] get_highest_rix called, sta not null, mode 4
[ 1477.363623] ------------[ cut here ]------------
[ 1477.363660] WARNING: at net/mac80211/tx.c:771
ieee80211_tx_h_rate_ctrl+0x3a4/0x48a [mac80211]()
[ 1477.363663] Hardware name: To Be Filled By O.E.M.


The problem seems to be at 1477.349758.

My system is using the latest wireless-testing version, plus your 25
patches. For the authentication, net-wireless/wpa_supplicant-2.0 with
libnl-3.2.21 is used.

Please contact me of you need any more debug information or if you need
me to run other tests.

Sincerely yours,
Vincent Brillault

  reply	other threads:[~2013-03-25 18:31 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 [this message]
2013-03-25 19:11                 ` Larry Finger
2013-03-25 19:51                   ` Vincent Brillault
2013-03-25 20:05                     ` Larry Finger
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=20130325182910.GA10274@Fea.lerya.net \
    --to=gentoo@lerya.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).