software/drivers/sd8887/src/wlan/mlan/mlan_cmdevt.c
/**
 *  @brief This function parse cal data from ASCII to hex
 *
 *  @param src          A pointer to source data
 *  @param len          Source data length
 *  @param dst          A pointer to a buf to store the parsed data
 *
 *  @return             The parsed hex data length
 */
@brief This function parse cal data from ASCII to hex
@param src          A pointer to source data
@param len          Source data length
@param dst          A pointer to a buf to store the parsed data

@return             The parsed hex data length
@brief This function parse cal data from ASCII to hex @param src A pointer to source data @param len Source data length @param dst A pointer to a buf to store the parsed data @return The parsed hex data length
static t_u32
wlan_parse_cal_cfg(t_u8 *src, t_size len, t_u8 *dst)
{
	t_u8 *ptr;
	t_u8 *dptr;
	ENTER();
	ptr = src;
	dptr = dst;
	while (ptr - src < len) {
		if (*ptr && (wlan_isspace(*ptr) || *ptr == '\t')) {
			ptr++;
			continue;
		}
		if (wlan_isxdigit(*ptr)) {
			*dptr++ = wlan_atox(ptr);
			ptr += 2;
		} else {
			ptr++;
		}
	}
	LEAVE();
	return dptr - dst;
}
static t_u32 wlan_parse_cal_cfg ( t_u8 * src , t_size len , t_u8 * dst ) { t_u8 * ptr ; t_u8 * dptr ; ENTER ( ) ; ptr = src ; dptr = dst ; while ( ptr - src < len ) { if ( * ptr && ( wlan_isspace ( * ptr ) || * ptr == ' \t ' ) ) { ptr ++ ; continue ; } if ( wlan_isxdigit ( * ptr ) ) { * dptr ++ = wlan_atox ( ptr ) ; ptr += 2 ; } else { ptr ++ ; } } LEAVE ( ) ; return dptr - dst ; }
@brief This function parse cal data from ASCII to hex
  @param src          A pointer to source data
  @param len          Source data length
  @param dst          A pointer to a buf to store the parsed data
@brief This function parse cal data from ASCII to hex @param src A pointer to source data @param len Source data length @param dst A pointer to a buf to store the parsed data