]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2013 18:28:18 +0000 (10:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2013 18:28:18 +0000 (10:28 -0800)
added patches:
rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch
rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch
rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch

queue-3.4/rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.4/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.4/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.4/rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch
new file mode 100644 (file)
index 0000000..b5889da
--- /dev/null
@@ -0,0 +1,33 @@
+From 78dbfecb95be4635b995af3bd29fa10013409fcd Mon Sep 17 00:00:00 2001
+From: Larry Finger <Larry.Finger@lwfinger.net>
+Date: Tue, 5 Nov 2013 15:15:29 -0600
+Subject: rtlwifi: rtl8192cu: Fix incorrect signal strength for unassociated AP
+
+From: Larry Finger <Larry.Finger@lwfinger.net>
+
+commit 78dbfecb95be4635b995af3bd29fa10013409fcd upstream.
+
+The routine that processes received frames was returning the RSSI value for the
+signal strength; however, that value is available only for associated APs. As
+a result, the strength was the absurd value of 10 dBm. As a result, scans
+return incorrect values for the strength, which causes unwanted attempts to roam.
+
+Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/net/wireless/rtlwifi/rtl8192cu/trx.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
++++ b/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
+@@ -349,7 +349,7 @@ bool rtl92cu_rx_query_desc(struct ieee80
+                                                p_drvinfo);
+       }
+       /*rx_status->qual = stats->signal; */
+-      rx_status->signal = stats->rssi + 10;
++      rx_status->signal = stats->recvsignalpower + 10;
+       /*rx_status->noise = -stats->noise; */
+       return true;
+ }
diff --git a/queue-3.4/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.4/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch
new file mode 100644 (file)
index 0000000..c51b6c8
--- /dev/null
@@ -0,0 +1,33 @@
+From 3545f3d5f4af715c914394123ce7725a9cf0a1c4 Mon Sep 17 00:00:00 2001
+From: Larry Finger <Larry.Finger@lwfinger.net>
+Date: Tue, 5 Nov 2013 15:15:30 -0600
+Subject: rtlwifi: rtl8192de: Fix incorrect signal strength for unassociated AP
+
+From: Larry Finger <Larry.Finger@lwfinger.net>
+
+commit 3545f3d5f4af715c914394123ce7725a9cf0a1c4 upstream.
+
+The routine that processes received frames was returning the RSSI value for the
+signal strength; however, that value is available only for associated APs. As
+a result, the strength was the absurd value of 10 dBm. As a result, scans
+return incorrect values for the strength, which causes unwanted attempts to roam.
+
+Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/net/wireless/rtlwifi/rtl8192de/trx.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
++++ b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
+@@ -529,7 +529,7 @@ bool rtl92de_rx_query_desc(struct ieee80
+                                                  p_drvinfo);
+       }
+       /*rx_status->qual = stats->signal; */
+-      rx_status->signal = stats->rssi + 10;
++      rx_status->signal = stats->recvsignalpower + 10;
+       /*rx_status->noise = -stats->noise; */
+       return true;
+ }
diff --git a/queue-3.4/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.4/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch
new file mode 100644 (file)
index 0000000..0f34d11
--- /dev/null
@@ -0,0 +1,36 @@
+From b4ade797668e33b4e8353c2701ce01d7084dfafa Mon Sep 17 00:00:00 2001
+From: Larry Finger <Larry.Finger@lwfinger.net>
+Date: Tue, 5 Nov 2013 15:15:28 -0600
+Subject: rtlwifi: rtl8192se: Fix incorrect signal strength for unassociated AP
+
+From: Larry Finger <Larry.Finger@lwfinger.net>
+
+commit b4ade797668e33b4e8353c2701ce01d7084dfafa upstream.
+
+The routine that processes received frames was returning the RSSI value for the
+signal strength; however, that value is available only for associated APs. As
+a result, the strength was the absurd value of 10 dBm. As a result, scans
+return incorrect values for the strength, which causes unwanted attempts to roam.
+
+This patch fixes https://bugzilla.kernel.org/show_bug.cgi?id=63881.
+
+Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
+Reported-by: Matthieu Baerts <matttbe@gmail.com>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/net/wireless/rtlwifi/rtl8192se/trx.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/wireless/rtlwifi/rtl8192se/trx.c
++++ b/drivers/net/wireless/rtlwifi/rtl8192se/trx.c
+@@ -582,7 +582,7 @@ bool rtl92se_rx_query_desc(struct ieee80
+       }
+       /*rx_status->qual = stats->signal; */
+-      rx_status->signal = stats->rssi + 10;
++      rx_status->signal = stats->recvsignalpower + 10;
+       /*rx_status->noise = -stats->noise; */
+       return true;
index a4019d60090b0e962a80ce316a55afb533fa2d4e..989cf627e2f65de2901754034d03a6c1c97b3d8f 100644 (file)
@@ -25,3 +25,6 @@ mtd-gpmi-fix-kernel-bug-due-to-racing-dma-operations.patch
 ext4-avoid-bh-leak-in-retry-path-of-ext4_expand_extra_isize_ea.patch
 xen-blkback-fix-reference-counting.patch
 staging-vt6656-fix-for-tx-usb-resets-from-vendors-driver.patch
+rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch
+rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch
+rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch