gprs: Do not collect BVC FLOW CONTROL / ACK messages
These generate a high amount of traffic. They are good to debug
ip.access nanoBTS GPRS crashes/service outage but in general cause
too much traffic.
diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c
index 1db8edc..721f881 100644
--- a/src/osmo_client_core.c
+++ b/src/osmo_client_core.c
@@ -70,6 +70,11 @@
return 1;
bssgp_hdr = (struct bssgp_ud_hdr *) &hdr->data[3];
+ /* BVC flow control is creating too much noise. Drop it */
+ if (bssgp_hdr->pdu_type == BSSGP_PDUT_FLOW_CONTROL_BVC
+ || bssgp_hdr->pdu_type == BSSGP_PDUT_FLOW_CONTROL_BVC_ACK)
+ return 0;
+
/* We only need to check UL/DL messages for the sapi */
if (bssgp_hdr->pdu_type != BSSGP_PDUT_DL_UNITDATA
&& bssgp_hdr->pdu_type != BSSGP_PDUT_UL_UNITDATA)