Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-19 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 20:01:53 -0200 Mauro Carvalho Chehab mche...@redhat.com escreveu: Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth simon.farnswo...@onelan.com escreveu: ... So, how do you provide such information? ... I just finished to code it on my experimental tree:

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 05:40 AM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:31 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth simon.farnswo...@onelan.com escreveu: On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16,

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari cr...@iki.fi escreveu: What goes to these units in general, dB conversion is done by the driver about always. It is quite hard or even impossible to find out that formula unless you has adjustable test signal generator. Also we could not

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 06:50 PM, Mauro Carvalho Chehab wrote: Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari cr...@iki.fi escreveu: What goes to these units in general, dB conversion is done by the driver about always. It is quite hard or even impossible to find out that formula unless you has

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:31 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth simon.farnswo...@onelan.com escreveu: On

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver with the Linux DVB. And not all devices can output in dB scale proposed by you, But any device

Re: [linux-media] Re: [linux-media] Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Klaus Schmidinger
On 17.01.2013 18:37, Klaus Schmidinger wrote: On 17.01.2013 18:22, Antti Palosaari wrote: On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 19:15:22 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/17/2013 06:50 PM, Mauro Carvalho Chehab wrote: Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari cr...@iki.fi escreveu: What goes to these units in general, dB conversion is done by the driver about

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari cr...@iki.fi wrote: Resetting counters when user tunes channel sounds the only correct option. This might not be correct, especially when we have true Multiple Input Streams. The tune might be single, but the filter setup would be different.

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 19:22:06 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver with the Linux

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari cr...@iki.fi wrote: Resetting counters when user tunes channel sounds the only correct option. This might not be correct, especially when we have true

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari cr...@iki.fi wrote: Resetting counters when user tunes channel sounds the only correct option. This

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 21:11:08 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari cr...@iki.fi wrote:

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Fri, Jan 18, 2013 at 12:41 AM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari cr...@iki.fi wrote: Resetting

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 11:29 PM, Manu Abraham wrote: On Fri, Jan 18, 2013 at 12:41 AM, Antti Palosaari cr...@iki.fi wrote: On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Fri, 18 Jan 2013 00:22:00 +0200 Antti Palosaari cr...@iki.fi escreveu: My propose was to ask if we could add some generic calculations for the DVB-core, so that implementing only one method for the driver is enough. If app is asking relative value and driver does dB, then DVB-core makes

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 22:37:40 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 07:12 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 17:26:17 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:49 PM, Antti Palosaari wrote: I am a little bit lazy to read all

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 09:56:12 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Wed, Jan 16, 2013 at 2:07 AM, Antti Palosaari cr...@iki.fi wrote: On 01/15/2013 07:12 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 17:26:17 +0200 Antti Palosaari cr...@iki.fi escreveu: On

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Wed, Jan 16, 2013 at 7:26 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 09:56:12 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Wed, Jan 16, 2013 at 2:07 AM, Antti Palosaari cr...@iki.fi wrote: On 01/15/2013 07:12 PM, Mauro Carvalho Chehab wrote: Em

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 20:49:05 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Wed, Jan 16, 2013 at 7:26 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 09:56:12 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Wed, Jan 16, 2013 at 2:07 AM, Antti

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: If you have sufficient documentation, you can scale your demodulator statistics to fit in that window area. I had done something similarly with a MB86A16 demodulator. IIRC, some effort was done on the STV0900

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Luca Olivetti
Al 16/01/2013 5:26, En/na Manu Abraham ha escrit: The simplest and easiest way to achieve commonality between the various demodulators is to use the existing API and scale whatever documented demodulators to that scacle, to best possible way, rather than adding more ambiguity and breakage.

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 23:56:48 +0530 Manu Abraham abraham.m...@gmail.com escreveu: Consider this simple situation: Your new API is using get_frontend and is polling the hardware, Now an existing application is also doing monitoring of the statistics. So, now all the decision box calculations

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Simon Farnsworth
On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab snip It is a common sense that the existing API is broken. If my proposal requires adjustments, please comment on each specific patchset, instead of filling this thread of

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Thu, Jan 17, 2013 at 12:59 AM, Simon Farnsworth simon.farnswo...@onelan.com wrote: On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab snip It is a common sense that the existing API is broken. If my proposal requires

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Thu, Jan 17, 2013 at 12:52 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 23:56:48 +0530 Manu Abraham abraham.m...@gmail.com escreveu: Consider this simple situation: Your new API is using get_frontend and is polling the hardware, Now an existing application is

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth simon.farnswo...@onelan.com escreveu: On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab snip It is a common sense that the existing API is broken. If my proposal

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 03:07:21 +0530 Manu Abraham abraham.m...@gmail.com escreveu: With ISDB-T, with the 3 layers, you have BER/UNC for each of the layers, though the rate difference could be very little. Where? There's no way to report per-layer report with DVBv3. And no, the difference is

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Thu, Jan 17, 2013 at 3:41 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Thu, 17 Jan 2013 03:07:21 +0530 Manu Abraham abraham.m...@gmail.com escreveu: With ISDB-T, with the 3 layers, you have BER/UNC for each of the layers, though the rate difference could be very little.

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-16 Thread Manu Abraham
On Thu, Jan 17, 2013 at 3:31 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth simon.farnswo...@onelan.com escreveu: On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab snip

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Johannes Stezenbach
On Tue, Jan 15, 2013 at 12:30:46AM -0200, Mauro Carvalho Chehab wrote: Add DVBv5 methods to retrieve QoS statistics. According to http://en.wikipedia.org/wiki/Qos: Quality of service in computer network trafficking refers to resource reservation control mechanisms I think it is misleading to

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Antti Palosaari
On 01/15/2013 10:20 AM, Johannes Stezenbach wrote: On Tue, Jan 15, 2013 at 12:30:46AM -0200, Mauro Carvalho Chehab wrote: Add DVBv5 methods to retrieve QoS statistics. According to http://en.wikipedia.org/wiki/Qos: Quality of service in computer network trafficking refers to resource

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Antti Palosaari
On 01/15/2013 04:30 AM, Mauro Carvalho Chehab wrote: v6: Add DocBook documentation. v7: Some fixes as suggested by Antti v8: Documentation fix, compilation fix and name the stats struct, for its reusage inside the core v9: counters need 32 bits. So, change the

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Manu Abraham
On Tue, Jan 15, 2013 at 8:00 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Add DVBv5 methods to retrieve QoS statistics. Those methods allow per-layer and global statistics. Implemented 2 QoS statistics on mb86a20s, one global only (signal strengh), and one per layer (BER). Tested

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 10:55:48 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 10:20 AM, Johannes Stezenbach wrote: On Tue, Jan 15, 2013 at 12:30:46AM -0200, Mauro Carvalho Chehab wrote: Add DVBv5 methods to retrieve QoS statistics. According to http://en.wikipedia.org/wiki/Qos:

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 11:34:37 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:30 AM, Mauro Carvalho Chehab wrote: v6: Add DocBook documentation. v7: Some fixes as suggested by Antti v8: Documentation fix, compilation fix and name the stats struct,

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Antti Palosaari
On 01/15/2013 03:10 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 11:34:37 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:30 AM, Mauro Carvalho Chehab wrote: v6: Add DocBook documentation. v7: Some fixes as suggested by Antti v8: Documentation fix,

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 16:49:07 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 03:10 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 11:34:37 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:30 AM, Mauro Carvalho Chehab wrote: v6: Add DocBook

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 16:08:14 +0530 Manu Abraham abraham.m...@gmail.com escreveu: On Tue, Jan 15, 2013 at 8:00 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Add DVBv5 methods to retrieve QoS statistics. Those methods allow per-layer and global statistics. Implemented 2 QoS

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Antti Palosaari
On 01/15/2013 04:49 PM, Antti Palosaari wrote: I am a little bit lazy to read all those patches, but I assume it is possible: * return SNR (CNR) as both dB and linear? * return signal strength as both dBm and linear? And what happens when when multiple statistics are queried, but fronted cannot

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Devin Heitmueller
On Tue, Jan 15, 2013 at 10:21 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Lets say SS, SNR, BER, UCB are queried, but only SS and SNR are ready to be returned, whilst rest are not possible? As I remember DVBv5 API is broken by design and cannot return error code per request. The

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 10:47:50 -0500 Devin Heitmueller dheitmuel...@kernellabs.com escreveu: On Tue, Jan 15, 2013 at 10:21 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Lets say SS, SNR, BER, UCB are queried, but only SS and SNR are ready to be returned, whilst rest are not possible? As

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Mauro Carvalho Chehab
Em Tue, 15 Jan 2013 17:26:17 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:49 PM, Antti Palosaari wrote: I am a little bit lazy to read all those patches, but I assume it is possible: * return SNR (CNR) as both dB and linear? * return signal strength as both dBm and

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Antti Palosaari
On 01/15/2013 07:12 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 17:26:17 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:49 PM, Antti Palosaari wrote: I am a little bit lazy to read all those patches, but I assume it is possible: * return SNR (CNR) as both dB and

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-15 Thread Manu Abraham
On Wed, Jan 16, 2013 at 2:07 AM, Antti Palosaari cr...@iki.fi wrote: On 01/15/2013 07:12 PM, Mauro Carvalho Chehab wrote: Em Tue, 15 Jan 2013 17:26:17 +0200 Antti Palosaari cr...@iki.fi escreveu: On 01/15/2013 04:49 PM, Antti Palosaari wrote: I am a little bit lazy to read all those

[PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-14 Thread Mauro Carvalho Chehab
Add DVBv5 methods to retrieve QoS statistics. Those methods allow per-layer and global statistics. Implemented 2 QoS statistics on mb86a20s, one global only (signal strengh), and one per layer (BER). Tested with a modified version of dvbv5-zap, that allows monitoring those stats. Test data