On 08/13/2013 11:23 AM, Phillip Moss wrote:
Hi all, I have a rtl8723ae wifi card on my laptop. When connecting to any wifi Access Point the wifi signal fluctuates from full strength to very low. In order to connect and stay connected I must be no farther than two meters from my router otherwise I get disconnected. I have tried the kernel driver on multiple distros as well as the vendor drivers for older kernel versions. All seem to have the same problem. The card works ok on Windows 7 with vendor drivers. I have also tried compiling backports-3.10-rc1-2 with no luck. During a signal loss period I get no logs but if I take the laptop too far from the AP dmesg reports:
Philip, Could you try the attached patch? Larry
diff --git a/drivers/net/wireless/rtlwifi/rtl8723ae/trx.c b/drivers/net/wireless/rtlwifi/rtl8723ae/trx.c index c72758d..75cf6fe 100644 --- a/drivers/net/wireless/rtlwifi/rtl8723ae/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8723ae/trx.c @@ -130,7 +130,7 @@ static void _rtl8723ae_query_rxphystatus(struct ieee80211_hw *hw, /* CCK gain is smaller than OFDM/MCS gain, * so we add gain diff. From experience, the val is 6 */ - pwdb_all += 6; + pwdb_all += 10; if (pwdb_all > 100) pwdb_all = 100; /* modify the offset to make the same