linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Q: c->bandwidth_hz = (c->symbol_rate * rolloff) / 100
@ 2012-08-12  0:22 Antti Palosaari
  2012-08-12  1:24 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Antti Palosaari @ 2012-08-12  0:22 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media

Hellou

I saw there is nowadays logic in dvb-frontend which calculates 
bandwidth_hz value in cache. Calculation formula seems to be correct. 
But that makes me wonder if that is wise as it gives occupied bandwidth 
instead of nominal. For example I have typical DVB-C annex A, 8 MHz 
bandwidth, symbol rate 6875000 and roll-off factor 0.15. That gives 
calculation result is 7 906 250 Hz for nominal 8 000 000 Hz channel.

This value is used only by tuner. Only visible effect is thus every 
tuner driver should use if statement to compare to find out nominal 
value as tuner chips usually configures low-pass filter steps of 8/7/6/5 
MHz.

For me it sounds better if tuner just gets nominal bandwidth - maybe 
calculating real used bw could be nice too as it is possible to return 
userspace.

Shortly: I see it better to give nominal RF channel value for tuner.

regards
Antti

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-12  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-12  0:22 Q: c->bandwidth_hz = (c->symbol_rate * rolloff) / 100 Antti Palosaari
2012-08-12  1:24 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).