[linux-dvb] Kernel locking in dst [Corrected PATCH]
Henrik Sjoberg
henke at epact.se
Tue Oct 18 20:07:13 CEST 2005
>>> state->decode_snr = state->rxbuffer[2] << 8 | state->rxbuffer[3];
>>> } else if ((state->dst_type == DST_TYPE_IS_TERR) || (state->dst_type
>>> == DST_TYPE_IS_CABLE)) {
>>> state->decode_lock = (state->rxbuffer[1]) ? 1 : 0;
>>>- state->decode_strength = state->rxbuffer[4] << 8;
>>> state->decode_snr = state->rxbuffer[3] << 8;
>>>+ if (state->dst_hw_cap & DST_TYPE_HAS_CA) {
>>>+ state->decode_strength = state->rxbuffer[5] << 8;
>>>+ } else {
>>>+ state->decode_strength = state->rxbuffer[4] << 8;
>>>+ }
>>>
>>>
>
>
> What's this one for ? It surely doesn't belong to the lock issue.. If
> you need it for some reason, please do send it as a different patch.
>
> Manu
>
Ah, you're correct. This is another problem I'm seeing. The signal
strength is at pos 5 and not 4 on my card (VP-3040). The reason why I
haven't sent it in as a patch is that I don't know the critera for when
the signal strength is at pos 5. Right now I'm using CA module as
criteria.
Henrik
More information about the linux-dvb
mailing list