Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/36205?usp=email )
Change subject: Introduce counter for per-hnb cumulative active CS RAB duration ......................................................................
Patch Set 4:
(1 comment)
File src/osmo-hnbgw/hnbgw.c:
https://gerrit.osmocom.org/c/osmo-hnbgw/+/36205/comment/753ff269_b0484ca7 PS3, Line 78: if (!hnb->persistent)
That's for a weird consequence of all the persistent stuff: […]
I think you're understanding the code wrong. A 'persistent' data structure is always allocated on-demand whenever it does not exist upon the first connect of the HNB with the related "UMTS CGI-like" identity.
So every hnb_context will always have a "persistent" struct associated with it after the HNB-REGISTER-ACCEPT.
"persistent" just means that the data persists across re-connect.