diff options
author | Patrick Boettcher <pboettcher@dibcom.fr> | 2009-08-03 13:39:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:14:24 -0400 |
commit | b6e760f3097501e60e76fbcb7a313d42da930c1f (patch) | |
tree | 11c810b34f9d215003a86d2d7baa66ce63f2c106 /include | |
parent | fc27f04698275ed28e64ba615e60e4d716a11e42 (diff) |
V4L/DVB (12892): DVB-API: add support for ISDB-T and ISDB-Tsb (version 5.1)
This patch increments the DVB-API to version 5.1 in order to reflect the addition of ISDB-T and ISDB-Tsb on Linux' DVB-API.
Changes in detail:
- added a small document to describe how to use the API to tune to an ISDB-T or ISDB-Tsb channel
- added necessary fields to dtv_frontend_cache
- added a smarter clear-cache function which resets all fields of the dtv_frontend_cache
- added a TRANSMISSION_MODE_4K to fe_transmit_mode_t
Signed-off-by: Olivier Grenie <olgrenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dvb/frontend.h | 44 | ||||
-rw-r--r-- | include/linux/dvb/version.h | 2 |
2 files changed, 36 insertions, 10 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index 51c8d2d49e42..25b01c14727b 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h | |||
@@ -173,7 +173,8 @@ typedef enum fe_modulation { | |||
173 | typedef enum fe_transmit_mode { | 173 | typedef enum fe_transmit_mode { |
174 | TRANSMISSION_MODE_2K, | 174 | TRANSMISSION_MODE_2K, |
175 | TRANSMISSION_MODE_8K, | 175 | TRANSMISSION_MODE_8K, |
176 | TRANSMISSION_MODE_AUTO | 176 | TRANSMISSION_MODE_AUTO, |
177 | TRANSMISSION_MODE_4K | ||
177 | } fe_transmit_mode_t; | 178 | } fe_transmit_mode_t; |
178 | 179 | ||
179 | typedef enum fe_bandwidth { | 180 | typedef enum fe_bandwidth { |
@@ -268,15 +269,40 @@ struct dvb_frontend_event { | |||
268 | #define DTV_FE_CAPABILITY 16 | 269 | #define DTV_FE_CAPABILITY 16 |
269 | #define DTV_DELIVERY_SYSTEM 17 | 270 | #define DTV_DELIVERY_SYSTEM 17 |
270 | 271 | ||
271 | #define DTV_API_VERSION 35 | 272 | /* ISDB-T and ISDB-Tsb */ |
272 | #define DTV_API_VERSION 35 | 273 | #define DTV_ISDBT_PARTIAL_RECEPTION 18 |
273 | #define DTV_CODE_RATE_HP 36 | 274 | #define DTV_ISDBT_SOUND_BROADCASTING 19 |
274 | #define DTV_CODE_RATE_LP 37 | ||
275 | #define DTV_GUARD_INTERVAL 38 | ||
276 | #define DTV_TRANSMISSION_MODE 39 | ||
277 | #define DTV_HIERARCHY 40 | ||
278 | 275 | ||
279 | #define DTV_MAX_COMMAND DTV_HIERARCHY | 276 | #define DTV_ISDBT_SB_SUBCHANNEL_ID 20 |
277 | #define DTV_ISDBT_SB_SEGMENT_IDX 21 | ||
278 | #define DTV_ISDBT_SB_SEGMENT_COUNT 22 | ||
279 | |||
280 | #define DTV_ISDBT_LAYERA_FEC 23 | ||
281 | #define DTV_ISDBT_LAYERA_MODULATION 24 | ||
282 | #define DTV_ISDBT_LAYERA_SEGMENT_COUNT 25 | ||
283 | #define DTV_ISDBT_LAYERA_TIME_INTERLEAVING 26 | ||
284 | |||
285 | #define DTV_ISDBT_LAYERB_FEC 27 | ||
286 | #define DTV_ISDBT_LAYERB_MODULATION 28 | ||
287 | #define DTV_ISDBT_LAYERB_SEGMENT_COUNT 29 | ||
288 | #define DTV_ISDBT_LAYERB_TIME_INTERLEAVING 30 | ||
289 | |||
290 | #define DTV_ISDBT_LAYERC_FEC 31 | ||
291 | #define DTV_ISDBT_LAYERC_MODULATION 32 | ||
292 | #define DTV_ISDBT_LAYERC_SEGMENT_COUNT 33 | ||
293 | #define DTV_ISDBT_LAYERC_TIME_INTERLEAVING 34 | ||
294 | |||
295 | #define DTV_API_VERSION 35 | ||
296 | |||
297 | #define DTV_CODE_RATE_HP 36 | ||
298 | #define DTV_CODE_RATE_LP 37 | ||
299 | #define DTV_GUARD_INTERVAL 38 | ||
300 | #define DTV_TRANSMISSION_MODE 39 | ||
301 | #define DTV_HIERARCHY 40 | ||
302 | |||
303 | #define DTV_ISDBT_LAYER_ENABLED 41 | ||
304 | |||
305 | #define DTV_MAX_COMMAND DTV_ISDBT_LAYER_ENABLED | ||
280 | 306 | ||
281 | typedef enum fe_pilot { | 307 | typedef enum fe_pilot { |
282 | PILOT_ON, | 308 | PILOT_ON, |
diff --git a/include/linux/dvb/version.h b/include/linux/dvb/version.h index 25b823b81734..540b0583d9fb 100644 --- a/include/linux/dvb/version.h +++ b/include/linux/dvb/version.h | |||
@@ -24,6 +24,6 @@ | |||
24 | #define _DVBVERSION_H_ | 24 | #define _DVBVERSION_H_ |
25 | 25 | ||
26 | #define DVB_API_VERSION 5 | 26 | #define DVB_API_VERSION 5 |
27 | #define DVB_API_VERSION_MINOR 0 | 27 | #define DVB_API_VERSION_MINOR 1 |
28 | 28 | ||
29 | #endif /*_DVBVERSION_H_*/ | 29 | #endif /*_DVBVERSION_H_*/ |