break;
case FE_ATSC:
- dmc.dmc_fe_params.frequency = freq;
+ dmc.dmc_fe_params.frequency = freq * 1000;
if(!val2str(constellation, qamtab))
return "Invalid VSB constellation";
var items = [];
switch (adapterData.deliverySystem) {
+ case 'ATSC':
+ items.push(new Ext.form.NumberField({
+ fieldLabel : 'Frequency (kHz)',
+ name : 'frequency',
+ allowNegative : false,
+ allowBlank : false,
+ minValue : adapterData.freqMin,
+ maxValue : adapterData.freqMax
+ }));
+
+ items.push(new Ext.form.ComboBox({
+ fieldLabel : 'Modulation',
+ name : 'constellation',
+ hiddenName : 'constellationID',
+ editable : false,
+ allowBlank : false,
+ displayField : 'title',
+ valueField : 'id',
+ mode : 'remote',
+ triggerAction : 'all',
+ store : new Ext.data.JsonStore({
+ root : 'entries',
+ fields : [ 'title', 'id' ],
+ url : 'dvb/feopts/constellations/' + adId
+ })
+ }));
+
+ break;
+
+
case 'DVB-T':
items.push(new Ext.form.NumberField({