Patch attached as diff -ruN (dpatch version is also included)
diff -ruN dvbsnoop-1.4.50/src/strings/dvb_str.c dvbsnoop-1.4.50.mod/src/strings/dvb_str.c --- dvbsnoop-1.4.50/src/strings/dvb_str.c 2006-07-19 22:05:45.000000000 +0200 +++ dvbsnoop-1.4.50.mod/src/strings/dvb_str.c 2010-11-05 13:45:16.000000000 +0100 @@ -4056,6 +4056,23 @@ } +/* + -- MIP, TPS Bandwidth + -- TS 101 191 +*/ +char *dvbstrTS_MIP_Bandwidth_SCHEME (u_int i) + +{ + STR_TABLE Table[] = { + { 0x00, 0x00, "7 MHz" }, + { 0x01, 0x01, "8 MHz" }, + { 0x02, 0x02, "6 MHz" }, + { 0x03, 0x03, "reserved" }, + { 0,0, NULL } + }; + + return findTableID (Table, i); +} diff -ruN dvbsnoop-1.4.50/src/strings/dvb_str.h dvbsnoop-1.4.50.mod/src/strings/dvb_str.h --- dvbsnoop-1.4.50/src/strings/dvb_str.h 2006-02-13 01:17:12.000000000 +0100 +++ dvbsnoop-1.4.50.mod/src/strings/dvb_str.h 2010-11-05 13:42:31.000000000 +0100 @@ -292,6 +292,7 @@ char *dvbstrTS_MIP_Syncronization (u_int i); char *dvbstrTS_MIP_FunctionTag (u_int i); char *dvbstrTS_MIP_ChannelBandwidth (u_int i); +char *dvbstrTS_MIP_Bandwidth_SCHEME (u_int i); diff -ruN dvbsnoop-1.4.50/src/ts/ts_mip.c dvbsnoop-1.4.50.mod/src/ts/ts_mip.c --- dvbsnoop-1.4.50/src/ts/ts_mip.c 2006-02-13 02:31:01.000000000 +0100 +++ dvbsnoop-1.4.50.mod/src/ts/ts_mip.c 2010-11-05 13:43:01.000000000 +0100 @@ -114,7 +114,7 @@ outBit_S2x_NL (3,"transmission_mode: ", b, 96+10, 2, (char *(*)(u_long))dvbstrTerrTransmissionMode_FLAG); outBit_S2x_NL (3,"bandwidth: ", b, 96+12, 2, - (char *(*)(u_long))dvbstrTerrBandwidth_SCHEME); + (char *(*)(u_long))dvbstrTS_MIP_Bandwidth_SCHEME); outBit_S2x_NL (3,"priority: ", b, 96+14, 1, (char *(*)(u_long))dvbstrTerrPriority); outBit_S2x_NL (3,"DVB-H signalling: ", b, 96+15, 2,
#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_mip-bandwidth-strings-table.dpatch by Francesco Saverio Schiavarelli <fschi...@libero.it> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add MIP TPS bandwidth decoding table as per ETSI TS 101 191 @DPATCH@ diff -u dvbsnoop-1.4.50/src/strings/dvb_str.c dvbsnoop-1.4.50.mod/src/strings/dvb_str.c --- dvbsnoop-1.4.50/src/strings/dvb_str.c 2006-07-19 22:05:45.000000000 +0200 +++ dvbsnoop-1.4.50.mod/src/strings/dvb_str.c 2010-11-05 13:45:16.000000000 +0100 @@ -4056,6 +4056,23 @@ } +/* + -- MIP, TPS Bandwidth + -- TS 101 191 +*/ +char *dvbstrTS_MIP_Bandwidth_SCHEME (u_int i) + +{ + STR_TABLE Table[] = { + { 0x00, 0x00, "7 MHz" }, + { 0x01, 0x01, "8 MHz" }, + { 0x02, 0x02, "6 MHz" }, + { 0x03, 0x03, "reserved" }, + { 0,0, NULL } + }; + + return findTableID (Table, i); +} diff -u dvbsnoop-1.4.50/src/strings/dvb_str.h dvbsnoop-1.4.50.mod/src/strings/dvb_str.h --- dvbsnoop-1.4.50/src/strings/dvb_str.h 2006-02-13 01:17:12.000000000 +0100 +++ dvbsnoop-1.4.50.mod/src/strings/dvb_str.h 2010-11-05 13:42:31.000000000 +0100 @@ -292,6 +292,7 @@ char *dvbstrTS_MIP_Syncronization (u_int i); char *dvbstrTS_MIP_FunctionTag (u_int i); char *dvbstrTS_MIP_ChannelBandwidth (u_int i); +char *dvbstrTS_MIP_Bandwidth_SCHEME (u_int i);
#! /bin/sh /usr/share/dpatch/dpatch-run ## 15_mip-bandwidth-decoding-fix.dpatch by Francesco Saverio Schiavarelli <fschi...@libero.it> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes wrong MIP TPS bandwidth value decoding @DPATCH@ diff -u dvbsnoop-1.4.50/src/ts/ts_mip.c dvbsnoop-1.4.50.mod/src/ts/ts_mip.c --- dvbsnoop-1.4.50/src/ts/ts_mip.c 2006-02-13 02:31:01.000000000 +0100 +++ dvbsnoop-1.4.50.mod/src/ts/ts_mip.c 2010-11-05 13:43:01.000000000 +0100 @@ -114,7 +114,7 @@ outBit_S2x_NL (3,"transmission_mode: ", b, 96+10, 2, (char *(*)(u_long))dvbstrTerrTransmissionMode_FLAG); outBit_S2x_NL (3,"bandwidth: ", b, 96+12, 2, - (char *(*)(u_long))dvbstrTerrBandwidth_SCHEME); + (char *(*)(u_long))dvbstrTS_MIP_Bandwidth_SCHEME); outBit_S2x_NL (3,"priority: ", b, 96+14, 1, (char *(*)(u_long))dvbstrTerrPriority); outBit_S2x_NL (3,"DVB-H signalling: ", b, 96+15, 2,