case 0x80:
case IPMI_NAME_ASCII6BIT:
ipmi_sensor_name(char *name, int len, u_int8_t typelen, u_int8_t *bits){	int	i, slen;	char	bcdplus[] = "0123456789 -.:,_";	slen = typelen & 0x1F;	switch (typelen & 0xC0) {	case 0x00:		//unicode		break;	case 0x40:		/* Characters are encoded in 4-bit BCDPLUS */		if (len < slen * 2 + 1) 			slen = (len >> 1) - 1;		for (i = 0; i < slen; i++) {			*(name++) = bcdplus[bits[i] >> 4];			*(name++) = bcdplus[bits[i] & 0xF];		}		break;	case 0x80:		/* Characters are encoded in 6-bit ASCII		 *   0x00 - 0x3F maps to 0x20 - 0x5F */		/* XXX: need to calculate max len: slen = 3/4 * len */		if (len < slen + 1)			slen = len - 1;		for (i = 0; i < slen * 8; i += 6) {			*(name++) = getbits(bits, i, 6) + ' ';		}		break;	case 0xC0:		/* Characters are 8-bit ascii */		if (len < slen + 1)			slen = len - 1;		while (slen--)			*(name++) = *(bits++);		break;	}	*name = 0;}