Bug 43253

Summary: rtl8192se: regression in linux kernel 3.3.5
Product: Networking Reporter: Oleg Tsarev (zabivator)
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: RESOLVED CODE_FIX    
Severity: high CC: alan, Larry.Finger, linville
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Probable fix

Description Oleg Tsarev 2012-05-16 10:47:24 UTC
Hi everybody,

I updated my fedora 16, and new version of kernel (3.3.5) installed.
After that my wi-fi adapter never connect to any network (tries to connect, but withotu sucess), but see available networks ("iwlist scanning" works right).

I try to reboot back to 3.3.4 kernel and everything works fine.
Back to 3.3.5 - doesn't work again.

What the information required for investigate & fix this problem?

It is lines from dmesg:
[   11.085728] rtl8192se: rtl8192ce: FW Power Save off (module option)
[   11.085967] rtl8192se: Driver for Realtek RTL8192SE/RTL8191SE
[   11.085969] Loading firmware rtlwifi/rtl8192sefw.bin
Comment 1 Oleg Tsarev 2012-05-16 10:51:24 UTC
oleg (0) /external/video$ sudo ethtool -i wlan0
driver: rtl8192se
version: 3.3.4-3.fc16.x86_64
firmware-version: N/A
bus-info: 0000:03:00.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
oleg (0) /external/video$ sudo iwconfig
em1       no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"DIR-300NRU"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: B8:A3:86:BA:D6:48   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:168   Missed beacon:0

oleg (0) /external/video$
Comment 2 Larry Finger 2012-05-17 05:30:48 UTC
Created attachment 73319 [details]
Probable fix

This patch, which has just been merged with kernel 3.4-rc7+, fixes a racy condition associated with asynchronous firmware loading. The main difference for rtlwifi and friends between 3.3.4 and 3.3.5 is the switch from synchronous to asynch. firmware loading that is necessary due to changes in udev.

This patch will be backported to 3.3.X, and may be in 3.3.6.
Comment 3 Oleg Tsarev 2012-05-17 06:29:13 UTC
Thank you a lot for your feedback. Will wait the backport...