DvbTunerTechnicalInfo V4LHelper::GetTechnicalInfo() { DvbTunerTechnicalInfo result; memset(&result, 0, sizeof(result)); if (m_frontendHandle == -1) return result; fe_status_t status; if (ioctl(m_frontendHandle, FE_READ_STATUS, &status) >= 0) { result.fe_status = (unsigned int) status; } result.signal = GetSignal(); result.snr = GetSNR(); result.ber = GetBER(); result.ucb = GetUCB(); return result; }
static int dvbfe_read_ber(struct dvb_frontend* fe, u32* ber) { DECLARE_DEV; DBG_fCDVBFE("calling GetBER()\n"); return GetBER(p->context, ber); }