aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-01-29 13:44:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-20 08:41:50 -0400
commitca689488ee6f850000b8d12f0f41e810bff28a7c (patch)
tree5097cee48780ca4cb30e973e9c4de8c1450349e1 /include
parent4ad34da0300d7196be25ef79ef3f054756cdc739 (diff)
[media] linux-dvb v5 API support for ATSC-MH
Add the following properties for controlling an ATSC-MH frontend: DTV_ATSCMH_FIC_VER DTV_ATSCMH_PARADE_ID DTV_ATSCMH_NOG DTV_ATSCMH_TNOG DTV_ATSCMH_SGN DTV_ATSCMH_PRC DTV_ATSCMH_RS_FRAME_MODE DTV_ATSCMH_RS_FRAME_ENSEMBLE DTV_ATSCMH_RS_CODE_MODE_PRI DTV_ATSCMH_RS_CODE_MODE_SEC DTV_ATSCMH_SCCC_BLOCK_MODE DTV_ATSCMH_SCCC_CODE_MODE_A DTV_ATSCMH_SCCC_CODE_MODE_B DTV_ATSCMH_SCCC_CODE_MODE_C DTV_ATSCMH_SCCC_CODE_MODE_D DTV_ATSCMH_FIC_ERR DTV_ATSCMH_CRC_ERR DTV_ATSCMH_RS_ERR Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dvb/frontend.h54
1 files changed, 53 insertions, 1 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index cb4428ab81ed..5aedd5ae7f8f 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -320,7 +320,27 @@ struct dvb_frontend_event {
320 320
321#define DTV_ENUM_DELSYS 44 321#define DTV_ENUM_DELSYS 44
322 322
323#define DTV_MAX_COMMAND DTV_ENUM_DELSYS 323/* ATSC-MH */
324#define DTV_ATSCMH_FIC_VER 45
325#define DTV_ATSCMH_PARADE_ID 46
326#define DTV_ATSCMH_NOG 47
327#define DTV_ATSCMH_TNOG 48
328#define DTV_ATSCMH_SGN 49
329#define DTV_ATSCMH_PRC 50
330#define DTV_ATSCMH_RS_FRAME_MODE 51
331#define DTV_ATSCMH_RS_FRAME_ENSEMBLE 52
332#define DTV_ATSCMH_RS_CODE_MODE_PRI 53
333#define DTV_ATSCMH_RS_CODE_MODE_SEC 54
334#define DTV_ATSCMH_SCCC_BLOCK_MODE 55
335#define DTV_ATSCMH_SCCC_CODE_MODE_A 56
336#define DTV_ATSCMH_SCCC_CODE_MODE_B 57
337#define DTV_ATSCMH_SCCC_CODE_MODE_C 58
338#define DTV_ATSCMH_SCCC_CODE_MODE_D 59
339#define DTV_ATSCMH_FIC_ERR 60
340#define DTV_ATSCMH_CRC_ERR 61
341#define DTV_ATSCMH_RS_ERR 62
342
343#define DTV_MAX_COMMAND DTV_ATSCMH_RS_ERR
324 344
325typedef enum fe_pilot { 345typedef enum fe_pilot {
326 PILOT_ON, 346 PILOT_ON,
@@ -360,6 +380,38 @@ typedef enum fe_delivery_system {
360 380
361#define SYS_DVBC_ANNEX_AC SYS_DVBC_ANNEX_A 381#define SYS_DVBC_ANNEX_AC SYS_DVBC_ANNEX_A
362 382
383/* ATSC-MH */
384
385enum atscmh_sccc_block_mode {
386 ATSCMH_SCCC_BLK_SEP = 0,
387 ATSCMH_SCCC_BLK_COMB = 1,
388 ATSCMH_SCCC_BLK_RES = 2,
389};
390
391enum atscmh_sccc_code_mode {
392 ATSCMH_SCCC_CODE_HLF = 0,
393 ATSCMH_SCCC_CODE_QTR = 1,
394 ATSCMH_SCCC_CODE_RES = 2,
395};
396
397enum atscmh_rs_frame_ensemble {
398 ATSCMH_RSFRAME_ENS_PRI = 0,
399 ATSCMH_RSFRAME_ENS_SEC = 1,
400};
401
402enum atscmh_rs_frame_mode {
403 ATSCMH_RSFRAME_PRI_ONLY = 0,
404 ATSCMH_RSFRAME_PRI_SEC = 1,
405 ATSCMH_RSFRAME_RES = 2,
406};
407
408enum atscmh_rs_code_mode {
409 ATSCMH_RSCODE_211_187 = 0,
410 ATSCMH_RSCODE_223_187 = 1,
411 ATSCMH_RSCODE_235_187 = 2,
412 ATSCMH_RSCODE_RES = 3,
413};
414
363 415
364struct dtv_cmds_h { 416struct dtv_cmds_h {
365 char *name; /* A display name for debugging purposes */ 417 char *name; /* A display name for debugging purposes */