Bug 864166 (rtl8723ae)

Summary: No Driver for Network controller: Realtek Semiconductor Co., Ltd. Device 8723 (RTL8723ae)
Product: [Fedora] Fedora Reporter: Onuralp SEZER <thunderbirdtr>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 18CC: gansalmon, itamar, jforbes, jonathan, kernel-maint, madhu.chinakonda, thunderbirdtr, valent.turkovic
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-16 14:21:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
lspci result none

Description Onuralp SEZER 2012-10-08 18:45:38 UTC
Created attachment 623651 [details]
lspci result

Description of problem:
lspci wifi result 
 
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8723 

I have RTL8723 wifi ethernet card.I tried on Fedora 17/18 for compile driver. I get the source from this link ( I didn't ask question just I did search) 

http://ask.fedoraproject.org/question/2581/rtl8723ae-wireless-adapter-not-working-with-fedora

from there It point me to this link ;

http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-bt-is-not-recognized

From there I install these packages ; yum install kernel-devel gcc dkms patch

I even tried this little comment link too "http://people.redhat.com/sgruszka/compat_wireless.html" still no wifi or no module wtih "modprobe" command.


Wifi Driver link (I don't official or not but possibly not) after that I tried on ubuntu 12.04 for same codes and It's works but not so good. while connecting to WPA or WPA2 (in my around) takes time and signal str problem (sometimes high sometimes too low even I close the wireless modem) 

Also I as far as I understand somebody compiled on fedora 17 but after changes for error. He can only connect unsecure wireless connections no other WEP/WPA/WPA2 secured connections.I read another article about this wireless driver and It will be come in kernel 3.6 but on Fedora 18 I didn't see it. Also I checked the linuxwireless.com for firmware or anything but still no support from there too. ? 

For I'm using ubuntu 12.04 as a temporary solution. If Anything happen I can gladly install fedora or try on live mode for compiling and make it work for wifi card. 

Thank You

Comment 1 Onuralp SEZER 2012-10-08 18:53:29 UTC
Possible solution for driver ; 

https://patchwork.kernel.org/patch/1469851/

Comment 2 Onuralp SEZER 2012-10-11 16:31:16 UTC
I make it work but still have wifi-security problem I think 


[ 2164.621166] firemare: rtl8723fw_B.bin
[ 2164.626481] ieee80211 phy6: >Selected rate control algorithm 'rtl_rc'
[ 2164.626847] rtlwifi: wireless switch is on
[ 2164.642164] cfg80211: Calling CRDA for country: TR
[ 2164.644188] cfg80211: Regulatory domain changed to country: TR
[ 2164.644191] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2164.644193] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2164.644194] cfg80211:   (5170000 KHz - 5250000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 2164.644196] cfg80211:   (5250000 KHz - 5330000 KHz @ 20000 KHz), (N/A, 2000 mBm)


[ 2354.591399] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2356.702285] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2357.696463] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2361.555568] wlan0: authenticate with 00:1c:a8:a7:e6:ea
[ 2361.588154] wlan0: send auth to 00:1c:a8:a7:e6:ea (try 1/3)
[ 2361.594081] wlan0: authenticated
[ 2361.611710] wlan0: associate with 00:1c:a8:a7:e6:ea (try 1/3)
[ 2361.616229] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2361.812318] wlan0: associate with 00:1c:a8:a7:e6:ea (try 2/3)
[ 2362.012940] wlan0: associate with 00:1c:a8:a7:e6:ea (try 3/3)
[ 2362.213552] wlan0: association with 00:1c:a8:a7:e6:ea timed out
[ 2363.691662] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2364.768193] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL
[ 2365.692529] rtlwifi-0:rtl_action_proc():<10000-1> sta is NULL

Comment 3 Valent Turkovic 2012-10-12 12:27:32 UTC
I'm installing fresh Fedora 17 on girlfriends laptop and got bitten by this bug.

I also tried patching this driver but it fails for me ;(

These are the steps I took:
wget http://dl.dropbox.com/u/57056576/DRIVERS/REALTEK/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz

tar xvzf rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz

cd rtl*

curl https://patchwork.kernel.org/patch/1469851/raw/ -o patch.txt

patch -p1 < patch.txt

make

Comment 4 Valent Turkovic 2012-10-12 12:28:35 UTC
this is the error I see:

# make
make -C /lib/modules/3.6.1-1.fc17.x86_64/build M=/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make[1]: Entering directory `/usr/src/kernels/3.6.1-1.fc17.x86_64'
  CC [M]  /root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o
/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘_rtl_init_mac80211’:
/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1
make[1]: *** [_module_/root/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.6.1-1.fc17.x86_64'
make: *** [all] Error 2

Comment 5 Onuralp SEZER 2012-10-13 04:15:26 UTC
It failed because Wi-fi security module is has not completed also I was make comment one line in "base.c"line number is 320

/*IEEE80211_HW_BEACON_FILTER |*/

I made like that It was compiled.

Comment 6 Valent Turkovic 2012-10-15 09:40:12 UTC
can you please give getailed step-by-step instructions how you managed to compile this kernel module? I didn't understand your last comment.(In reply to comment #5)
> It failed because Wi-fi security module is has not completed also I was make
> comment one line in "base.c"line number is 320
> 
> /*IEEE80211_HW_BEACON_FILTER |*/
> 
> I made like that It was compiled.

can you please give getailed step-by-step instructions how you managed to compile this kernel module? I didn't understand your comment.

Comment 7 Onuralp SEZER 2012-10-15 16:24:43 UTC
I downloaded source first then opened tar and I edited "base.c" file  my edit was make comment line 320. and line is (IEEE80211_HW_BEACON_FILTER |) to (/*IEEE80211_HW_BEACON_FILTER |*/)

then I will become root and 

su -
make 
make install 
modprobe -v rtl8723e

and wifi working (but only unsecure networks)

is it clear now :) 

Thank you
Onuralp

Comment 8 Justin M. Forbes 2012-10-16 14:21:56 UTC
This driver will certainly be enabled when it makes it upstream, but it is not something that we will carry as a patch at this point in its development.