aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-12-21 05:50:19 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-22 15:43:28 -0500
commite41596a118a5cb15a045ef773dc117b2596e6a86 (patch)
treea2dea10dbbec3677090681058bd0797639de4580 /drivers/net/wireless/b43
parentd0ce2d170585b7061a08af061d64ebb08c6782dd (diff)
b43: use correct firmware for newer cores
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r--drivers/net/wireless/b43/main.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 1aec160e3d2f..5fb0bc6710f6 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2121,8 +2121,10 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
2121 filename = "ucode13"; 2121 filename = "ucode13";
2122 else if (rev == 14) 2122 else if (rev == 14)
2123 filename = "ucode14"; 2123 filename = "ucode14";
2124 else if (rev >= 15) 2124 else if (rev == 15)
2125 filename = "ucode15"; 2125 filename = "ucode15";
2126 else if ((rev >= 16) && (rev <= 20))
2127 filename = "ucode16_mimo";
2126 else 2128 else
2127 goto err_no_ucode; 2129 goto err_no_ucode;
2128 err = b43_do_request_fw(ctx, filename, &fw->ucode); 2130 err = b43_do_request_fw(ctx, filename, &fw->ucode);
@@ -2165,7 +2167,9 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
2165 goto err_no_initvals; 2167 goto err_no_initvals;
2166 break; 2168 break;
2167 case B43_PHYTYPE_N: 2169 case B43_PHYTYPE_N:
2168 if ((rev >= 11) && (rev <= 12)) 2170 if (rev >= 16)
2171 filename = "n0initvals16";
2172 else if ((rev >= 11) && (rev <= 12))
2169 filename = "n0initvals11"; 2173 filename = "n0initvals11";
2170 else 2174 else
2171 goto err_no_initvals; 2175 goto err_no_initvals;
@@ -2209,7 +2213,9 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
2209 goto err_no_initvals; 2213 goto err_no_initvals;
2210 break; 2214 break;
2211 case B43_PHYTYPE_N: 2215 case B43_PHYTYPE_N:
2212 if ((rev >= 11) && (rev <= 12)) 2216 if (rev >= 16)
2217 filename = "n0bsinitvals16";
2218 else if ((rev >= 11) && (rev <= 12))
2213 filename = "n0bsinitvals11"; 2219 filename = "n0bsinitvals11";
2214 else 2220 else
2215 goto err_no_initvals; 2221 goto err_no_initvals;