Name: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
Proto: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)
Type:int
Parameter:
Type | Parameter | Name |
---|
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 | |