Oh, one more note: The information that yuo have in provider.h exists as part of osmocom-bb/src/host/layer23/src/networks.c
We should move this into libosmocore, at that point you can also use it from your tool or from other software.
Regards, Harald