diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-09-13 15:56:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:05 -0400 |
commit | 75b7f9437b1cf63750bb58efaaeb6d72d04b3c7f (patch) | |
tree | 4f12ac2cbd75bfdb638618c9aff568305cc55c82 /include | |
parent | 4dd88bec368a6e4caa86a511f7adbc4c08992c5c (diff) |
V4L/DVB (9007): S2API: Changed bandwidth to be expressed in HZ
Also added some compat code for the older API.
Added more ISDB message/command suggestions, current not connected in dvb-core.
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dvb/frontend.h | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index 05bdec9bc5aa..4f3fd641ccb8 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h | |||
@@ -257,7 +257,12 @@ typedef enum dtv_cmd_types { | |||
257 | 257 | ||
258 | DTV_FREQUENCY, | 258 | DTV_FREQUENCY, |
259 | DTV_MODULATION, | 259 | DTV_MODULATION, |
260 | DTV_BANDWIDTH, | 260 | |
261 | /* XXX PB: I would like to have field which describes the | ||
262 | * bandwidth of a channel in Hz or kHz - maybe we can remove the | ||
263 | * DTV_BANDWIDTH now and put a compat layer */ | ||
264 | DTV_BANDWIDTH_HZ, | ||
265 | |||
261 | DTV_INVERSION, | 266 | DTV_INVERSION, |
262 | DTV_DISEQC_MASTER, | 267 | DTV_DISEQC_MASTER, |
263 | DTV_SYMBOL_RATE, | 268 | DTV_SYMBOL_RATE, |
@@ -276,18 +281,34 @@ typedef enum dtv_cmd_types { | |||
276 | /* New commands are always appended */ | 281 | /* New commands are always appended */ |
277 | DTV_DELIVERY_SYSTEM, | 282 | DTV_DELIVERY_SYSTEM, |
278 | 283 | ||
279 | /* ISDB-T */ | 284 | /* ISDB */ |
285 | /* maybe a dup of DTV_ISDB_SOUND_BROADCASTING_SUBCHANNEL_ID ??? */ | ||
280 | DTV_ISDB_SEGMENT_IDX, | 286 | DTV_ISDB_SEGMENT_IDX, |
281 | DTV_ISDB_SEGMENT_WIDTH, | 287 | DTV_ISDB_SEGMENT_WIDTH, /* 1, 3 or 13 ??? */ |
288 | |||
289 | /* the central segment can be received independently or 1/3 seg in SB-mode */ | ||
290 | DTV_ISDB_PARTIAL_RECEPTION, | ||
291 | /* sound broadcasting is used 0 = 13segment, 1 = 1 or 3 see DTV_ISDB_PARTIAL_RECEPTION */ | ||
292 | DTV_ISDB_SOUND_BROADCASTING, | ||
293 | |||
294 | /* only used in SB */ | ||
295 | /* determines the initial PRBS of the segment (to match with 13seg channel) */ | ||
296 | DTV_ISDB_SOUND_BROADCASTING_SUBCHANNEL_ID, | ||
297 | |||
282 | DTV_ISDB_LAYERA_FEC, | 298 | DTV_ISDB_LAYERA_FEC, |
283 | DTV_ISDB_LAYERA_MODULATION, | 299 | DTV_ISDB_LAYERA_MODULATION, |
284 | DTV_ISDB_LAYERA_SEGMENT_WIDTH, | 300 | DTV_ISDB_LAYERA_SEGMENT_WIDTH, |
301 | DTV_ISDB_LAYERA_TIME_INTERLEAVER, | ||
302 | |||
285 | DTV_ISDB_LAYERB_FEC, | 303 | DTV_ISDB_LAYERB_FEC, |
286 | DTV_ISDB_LAYERB_MODULATION, | 304 | DTV_ISDB_LAYERB_MODULATION, |
287 | DTV_ISDB_LAYERB_SEGMENT_WIDTH, | 305 | DTV_ISDB_LAYERB_SEGMENT_WIDTH, |
306 | DTV_ISDB_LAYERB_TIME_INTERLEAVING, | ||
307 | |||
288 | DTV_ISDB_LAYERC_FEC, | 308 | DTV_ISDB_LAYERC_FEC, |
289 | DTV_ISDB_LAYERC_MODULATION, | 309 | DTV_ISDB_LAYERC_MODULATION, |
290 | DTV_ISDB_LAYERC_SEGMENT_WIDTH, | 310 | DTV_ISDB_LAYERC_SEGMENT_WIDTH, |
311 | DTV_ISDB_LAYERC_TIME_INTERLEAVING, | ||
291 | 312 | ||
292 | } dtv_cmd_types_t; | 313 | } dtv_cmd_types_t; |
293 | 314 | ||