* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
+ * Based on ETSI EN 300 468 V1.11.1 (2010-04)
+ *
*/
#ifndef _TERRESTRIAL_DELIVERY_H
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
+ * Based on ETSI EN 300 468 V1.11.1 (2010-04)
+ *
*/
#include "descriptors/desc_terrestrial_delivery.h"
const struct dvb_desc_terrestrial_delivery *tdel = (const struct dvb_desc_terrestrial_delivery *) desc;
dvb_log("| terrestrial delivery");
dvb_log("| length %d", tdel->length);
- dvb_log("| centre frequency %d", tdel->centre_frequency);
+ dvb_log("| centre frequency %d", tdel->centre_frequency * 10);
dvb_log("| mpe_fec_indicator %d", tdel->mpe_fec_indicator);
dvb_log("| time_slice_indicator %d", tdel->time_slice_indicator);
dvb_log("| priority %d", tdel->priority);
const unsigned dvbt_modulation[] = {
[0] = QPSK,
[1] = QAM_16,
- [2] = QAM_32,
+ [2] = QAM_64,
[3] = QAM_AUTO /* Reserved */
};
const unsigned dvbt_hierarchy[] = {
for (i = 0; i < t2->frequency_loop_length; i++) {
new = dvb_scan_add_entry(tr->parms, tr->first_entry, tr->entry,
- t2->centre_frequency[i],
+ t2->centre_frequency[i] * 10,
tr->shift, tr->pol);
if (!new)
return;
+
+ store_entry_prop(new, DTV_DELIVERY_SYSTEM,
+ SYS_DVBT2);
+ store_entry_prop(new, DTV_STREAM_ID,
+ t2->plp_id);
+ store_entry_prop(new, DTV_BANDWIDTH_HZ,
+ dvbt2_bw[t2->bandwidth]);
+ store_entry_prop(new, DTV_GUARD_INTERVAL,
+ dvbt2_interval[t2->guard_interval]);
+ store_entry_prop(new, DTV_TRANSMISSION_MODE,
+ dvbt2_transmission_mode[t2->transmission_mode]);
}
}
return;
new = dvb_scan_add_entry(tr->parms, tr->first_entry, tr->entry,
- d->centre_frequency, tr->shift, tr->pol);
+ d->centre_frequency * 10, tr->shift, tr->pol);
if (!new)
return;