Re: [ANNOUNCE] DVB API improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manu Abraham wrote:
> Patrick Boettcher wrote:
>> Manu,
>>
>> On Wed, 24 Sep 2008, Manu Abraham wrote:
>>
>>> Mauro Carvalho Chehab wrote:
>>> [..]
>>>> The main arguments in favor of S2API over Multiproto are:
>>>>
>>> [..]
>>>
>>>>     - Capability of allowing improvements even on the existing
>>>> standards,
>>>>       like allowing diversity control that starts to appear on newer DVB
>>>>       devices.
>>>
>>> I just heard from Patrick, what he meant by this at the meeting and the
>>> reason why he voted for S2API, due to a fact that he was convinced
>>> incorrectly. Multiproto _already_has_ this implementation, while it is
>>> non-existant in S2API.
>> In order to not have people getting me wrong here, I'm stating now in
>> public:
>>
>> 1) I like the idea of having diversity optionally controlled by the
>> application.
>>
>> 2) My vote for S2API is final.
>>
>> It is final, because the S2API is mainly affecting
>> include/linux/dvb/frontend.h to add user-API support for new standards.
>> I prefer the user-API of S2API over the one of multiproto because of 1).
> 
> After adding in diversity to frontend.h,
> 
> Would you prefer to update the diversity related event on the event list
> as well ?

Patch attached for the user space API to multiproto, it updates the
event list as well. If it looks ok, i will push this changeset out as well.


Regards,
Manu
--- multiproto.orig/linux/include/linux/dvb/frontend.h	2008-09-24 14:06:49.000000000 +0400
+++ multiproto/linux/include/linux/dvb/frontend.h	2008-09-24 14:58:02.000000000 +0400
@@ -466,6 +466,7 @@ struct dvbt_params {
 	enum dvbfe_hierarchy		hierarchy;
 	enum dvbfe_alpha		alpha;
 	enum dvbfe_stream_priority	priority;
+	__u8				diversity;
 
 	__u8				pad[32];
 };
@@ -502,6 +503,7 @@ struct dvbh_params {
 	enum dvbfe_mpefec		mpefec;
 	enum dvbfe_timeslicing		timeslicing;
 	enum dvbfe_stream_priority	priority;
+	__u8				diversity;
 
 	__u32				bandwidth;
 	__u8				pad[32];
@@ -566,6 +568,7 @@ struct dvbfe_dvbc_info {
 struct dvbfe_dvbt_info {
 	enum dvbfe_modulation		modulation;
 	enum dvbfe_stream_priority	stream_priority;
+	__u8				diversity;
 
 	__u8				pad[32];
 };
@@ -574,6 +577,7 @@ struct dvbfe_dvbt_info {
 struct dvbfe_dvbh_info {
 	enum dvbfe_modulation		modulation;
 	enum dvbfe_stream_priority	stream_priority;
+	__u8				diversity;
 
 	__u8				pad[32];
 };
@@ -623,6 +627,7 @@ enum dvbfe_status {
 	DVBFE_HAS_SYNC			= (1 <<  3),	/*  SYNC found			*/
 	DVBFE_HAS_LOCK			= (1 <<  4),	/*  OK ..			*/
 	DVBFE_TIMEDOUT			= (1 <<  5),	/*  no lock in last ~2 s	*/
+	DVBFE_DIVERSITY_TOGGLE		= (1 <<  6),    /* signal too low, toggling..	*/
 	DVBFE_STATUS_DUMMY		= (1 << 31)
 };
 
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux