]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.12-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2013 18:28:15 +0000 (10:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2013 18:28:15 +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.12/rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.12/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.12/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch [new file with mode: 0644]
queue-3.12/series

diff --git a/queue-3.12/rtlwifi-rtl8192cu-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.12/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.12/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.12/rtlwifi-rtl8192de-fix-incorrect-signal-strength-for-unassociated-ap.patch
new file mode 100644 (file)
index 0000000..b9a969d
--- /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
+@@ -525,7 +525,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.12/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch b/queue-3.12/rtlwifi-rtl8192se-fix-incorrect-signal-strength-for-unassociated-ap.patch
new file mode 100644 (file)
index 0000000..3606110
--- /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
+@@ -329,7 +329,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 698c29978f93e054b5186e62330ccc6a8e7a0d05..047b46855a5a2d90f4c9c949f3a1fd8505d28613 100644 (file)
@@ -73,3 +73,6 @@ mtd-gpmi-fix-kernel-bug-due-to-racing-dma-operations.patch
 mtd-gpmi-fix-the-null-pointer.patch
 ext4-avoid-bh-leak-in-retry-path-of-ext4_expand_extra_isize_ea.patch
 xen-blkback-fix-reference-counting.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