Skip to contentSkip to conversation

Add TI wl1271 to texas instruments chip list

PATCH In review Nick Pelly 2 participants 2 messages Jun 11, 2009 Bluetooth drivers

lore
Share & tools
lore

Nick Pelly

author
#0 lore raw

PATCH 1/1 Add TI wl1271 to texas instruments chip list

---
 tools/hciattach_tialt.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
tools/hciattach_tialt.c +6 -3
index 1abf2f8..72633ad 100644
@@ -239,12 +239,15 @@ int texasalt_init(int fd, int speed, struct termios *ti)
 	{
 		unsigned short lmp_subv = resp[13] | (resp[14] << 8);
 		unsigned short brf_chip = (lmp_subv & 0x7c00) >> 10;
-		static const char *c_brf_chip[5] = {
+		static const char *c_brf_chip[8] = {
 			"unknown",
 			"unknown",
 			"brf6100",
 			"brf6150",
-			"brf6300"
+			"brf6300",
+			"unknown",
+			"unknown",
+			"wl1271"
 		};
 		char fw[100];
 
@@ -256,7 +259,7 @@ int texasalt_init(int fd, int speed, struct termios *ti)
 				"\tchip: %s (%d)\n",
 				lmp_subv & 0x7f,
 				((lmp_subv & 0x8000) >> (15-3)) | ((lmp_subv & 0x380) >> 7),
-				((brf_chip > 4) ? "unknown" : c_brf_chip[brf_chip]),
+				((brf_chip > 7) ? "unknown" : c_brf_chip[brf_chip]),
 				brf_chip);
 
 		sprintf(fw, "/etc/firmware/%s.bin", c_brf_chip[brf_chip]);
Signature · 1 line
1.6.3.1
maintainer
#1 lore raw

Hi Nick,

Quoted 1 line

we don't do signed-off stuff in bluez.git. So please don't send it anymore.

Quoted 3 lines
---
 tools/hciattach_tialt.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

Patch has been applied. Thanks.

Regards

Marcel