函数名称:decode_bch - decode received codeword and find bit error locations*@bch: BCH control structure*@data: received data, ignored if @calc_ecc is provided*@len: data length in bytes, must always be provided*@recv_ecc: received ecc, if NULL then assume it was
函数原型:int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len, const uint8_t *recv_ecc, const uint8_t *calc_ecc, const unsigned int *syn, unsigned int *errloc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|
struct bch_control * | bch | |
const uint8_t * | data | |
unsigned int | len | |
const uint8_t * | recv_ecc | |
const uint8_t * | calc_ecc | |
const unsigned int * | syn | |
unsigned int * | errloc | |