Author: nbd
Date: 2014-06-12 16:44:26 +0200 (Thu, 12 Jun 2014)
New Revision: 41162

Modified:
   trunk/package/kernel/mac80211/patches/300-pending_work.patch
   trunk/package/kernel/mac80211/patches/820-b43-add-antenna-control.patch
Log:
b43: fix a regression on G-PHY devices

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/kernel/mac80211/patches/300-pending_work.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/300-pending_work.patch        
2014-06-12 14:44:23 UTC (rev 41161)
+++ trunk/package/kernel/mac80211/patches/300-pending_work.patch        
2014-06-12 14:44:26 UTC (rev 41162)
@@ -1,3 +1,26 @@
+commit 6e7341074823d2a45b81f2742cbf75f1da790031
+Author: Rafał Miłecki <[email protected]>
+Date:   Sat May 31 19:40:45 2014 +0200
+
+    b43: disable 5 GHz on G-PHY
+    
+    This fixes regression introduced by adding some G-PHY devices to the
+    list of dual band devices. There is simply no support for 5 GHz on
+    G-PHY devices in b43. It results in:
+    WARNING: CPU: 0 PID: 79 at drivers/net/wireless/b43/phy_g.c:75 
b43_gphy_channel_switch+0x125/0x130 [b43]()
+    b43-phy1 ERROR: PHY init: Channel switch to default failed
+    
+    Regression was introduced by the following commit:
+    
+    commit 773cfc508f4d64c14547ff8751b5cbd473124364
+    Author: Rafał Miłecki <[email protected]>
+    Date:   Mon May 19 23:18:55 2014 +0200
+    
+        b43: add more devices to the bands database
+    
+    Signed-off-by: Rafał Miłecki <[email protected]>
+    Signed-off-by: John W. Linville <[email protected]>
+
 commit 1186edbef91f15722e5bdf56326ce0abc2935ce7
 Author: Stanislaw Gruszka <[email protected]>
 Date:   Tue Jun 10 12:51:06 2014 +0200
@@ -2822,3 +2845,13 @@
                break;
        case B43_PHYTYPE_N:
        case B43_PHYTYPE_LP:
+--- a/drivers/net/wireless/b43/main.c
++++ b/drivers/net/wireless/b43/main.c
+@@ -5216,6 +5216,7 @@ static int b43_wireless_core_attach(stru
+       /* We don't support 5 GHz on some PHYs yet */
+       switch (dev->phy.type) {
+       case B43_PHYTYPE_A:
++      case B43_PHYTYPE_G:
+       case B43_PHYTYPE_N:
+       case B43_PHYTYPE_LP:
+       case B43_PHYTYPE_HT:

Modified: 
trunk/package/kernel/mac80211/patches/820-b43-add-antenna-control.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/820-b43-add-antenna-control.patch     
2014-06-12 14:44:23 UTC (rev 41161)
+++ trunk/package/kernel/mac80211/patches/820-b43-add-antenna-control.patch     
2014-06-12 14:44:26 UTC (rev 41162)
@@ -99,7 +99,7 @@
  };
  
  /* Hard-reset the chip. Do not call this directly.
-@@ -5295,6 +5335,8 @@ static int b43_one_core_attach(struct b4
+@@ -5296,6 +5336,8 @@ static int b43_one_core_attach(struct b4
        if (!wldev)
                goto out;
  
@@ -108,7 +108,7 @@
        wldev->use_pio = b43_modparam_pio;
        wldev->dev = dev;
        wldev->wl = wl;
-@@ -5385,6 +5427,9 @@ static struct b43_wl *b43_wireless_init(
+@@ -5386,6 +5428,9 @@ static struct b43_wl *b43_wireless_init(
  
        hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
  
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to