Skip to content
Success

Changes

Summary

  1. gsm_bts_num(): use hashtable to lookup bts (details)
Commit 8bcbc2c21b28f379ace9d84bc502483b1beaaac5 by Pau Espin Pedrol
gsm_bts_num(): use hashtable to lookup bts

gsm_bts_num() is mostly used to lookup bts object from its nr in VTY and
CTRL interfaces.
However, it's also used in hotter paths like pcu_rx().
It is also used during local neighbor resolution, mostly at startup or
when the VTY is re-applied from CTRL interface.

Related: SYS#7062
Change-Id: I7312da7d9aa80c6d0f2e92e9c7d20d32ce453ad1
The file was modifiedsrc/osmo-bsc/net_init.c
The file was modifiedinclude/osmocom/bsc/gsm_data.h
The file was modifiedsrc/osmo-bsc/bts.c
The file was modifiedsrc/osmo-bsc/gsm_data.c
The file was modifiedinclude/osmocom/bsc/bts.h