public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: handygewinnspiel@gmx.de
Cc: linux-media@vger.kernel.org
Subject: Re: [w_scan PATCH] Add Brazil support on w_scan
Date: Thu, 31 Mar 2011 16:52:31 -0300	[thread overview]
Message-ID: <4D94DB7F.2030500@redhat.com> (raw)
In-Reply-To: <4D94DB00.8060909@redhat.com>

Em 31-03-2011 16:50, Mauro Carvalho Chehab escreveu:
> Em 31-03-2011 14:15, handygewinnspiel@gmx.de escreveu:
>>
>>> Em 29-03-2011 20:21, Mauro Carvalho Chehab escreveu:
>>>> Em 29-03-2011 17:11, handygewinnspiel@gmx.de escreveu:
>>>>> So I changed it now to scan any srate for 6MHz networks, but skip over
>>> those which are unsupported by bandwidth limitation.
>>> ...
>>>> Anyway, I'll test the today's version and reply if I detect any troubles
>>> on it.
>>>
>>> Test results:
>>>
>>> 	$ ./w_scan -c BR -fc 
>>> Took about 30 mins for scan. As the board I'm using doesn't support
>>> QAM_AUTO
>>> for DVB-C, it seek only QAM_64
>>
>> This is unexpected && should be fixed to fit to w_scan's default behaviour: first QAM_64, then QAM_256.
>>
>> Can you pls re-check with the following change in countries.c line 500ff
>>
>> /*
>>  * start/stop values for dvbc qam loop
>>  * 0 == QAM_64, 1 == QAM_256, 2 == QAM_128
>>  */
>> int dvbc_qam_max(int channel, int channellist) {
>> switch(channellist) {
>>        case DVBC_FI:    return 2; //QAM128
>> +      case DVBC_BR:
>>        case DVBC_FR:
>>        case DVBC_QAM:   return 1; //QAM256
>>        default:         return 0; //no qam loop
>>        }
>> }
>>
>>     
>> int dvbc_qam_min(int channel, int channellist) {
>> switch(channellist) {
>>        case DVBC_FI:
>> +      case DVBC_BR:
>>        case DVBC_FR:
>>        case DVBC_QAM:   return 0; //QAM64
>>        default:         return 0; //no qam loop
>>        }
>> }

Forgot to comment: the above fixed w_scan probe with default parameters.

Thanks!
Mauro

      reply	other threads:[~2011-03-31 19:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-28 14:29 [w_scan PATCH] Add Brazil support on w_scan Mauro Carvalho Chehab
2011-03-28 17:20 ` handygewinnspiel
2011-03-28 18:46   ` Mauro Carvalho Chehab
2011-03-29 20:11     ` handygewinnspiel
2011-03-29 23:21       ` Mauro Carvalho Chehab
2011-03-31 10:45         ` Mauro Carvalho Chehab
2011-03-31 17:15           ` handygewinnspiel
2011-03-31 19:50             ` Mauro Carvalho Chehab
2011-03-31 19:52               ` Mauro Carvalho Chehab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D94DB7F.2030500@redhat.com \
    --to=mchehab@redhat.com \
    --cc=handygewinnspiel@gmx.de \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox