Lines Matching refs:frmlen_adj
355 int frmlen, frmlen_wrote, frmlen_adj; in ldacBT_encode() local
443 frmlen_adj = (hLdacBT->tx.tx_size - ptfbuf->used) / nFrmToPkt; in ldacBT_encode()
444 if( frmlen_adj > hLdacBT->tgt_frmlen ) { in ldacBT_encode()
445 frmlen_adj = hLdacBT->tgt_frmlen; in ldacBT_encode()
447 frmlen_adj -= LDACBT_FRMHDRBYTES; in ldacBT_encode()
448 if( frmlen_adj >= pCfg->frmlen ){ in ldacBT_encode()
449 if( ldacBT_update_frmlen( hLdacBT, frmlen_adj ) == LDACBT_S_OK ){ in ldacBT_encode()
483 frmlen_adj = (hLdacBT->tx.tx_size - ptfbuf->used) / nFrmToPkt; in ldacBT_encode()
484 if( frmlen_adj > hLdacBT->tgt_frmlen ) { in ldacBT_encode()
485 frmlen_adj = hLdacBT->tgt_frmlen; in ldacBT_encode()
487 if( ldacBT_update_frmlen( hLdacBT, frmlen_adj ) == LDACBT_S_OK ){ in ldacBT_encode()