summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/prim.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-05-19 11:25:46 +0200
committerHarald Welte <laforge@gnumonks.org>2014-05-19 11:25:46 +0200
commit5b5650f3de0213a459b4184bab3ab2d0d833c4a4 (patch)
tree430c771244ae37d7cd95960fc1781ed6aeed1213 /include/osmocom/core/prim.h
parentc22d72cdedcea9dfd2f6286fb89d352c80808327 (diff)
Fix introducing osmocom speficic OML attributes
Rename NM_ATT_O_REDUCEPOWER to NM_ATT_OSMO_REDUCEPOWER, which makes it more clear that this is an osmcoom specific attribute. Also, we cannot simply overload 0x01 as an already defined OML attribute. The problem is quite simple: When we use abis_nm_att_tlvdef during the TLV parse, 0x01 will match to NM_ATT_ABIS_CHANNEL, which is defined as { TLV_TYPE_FIXED, 3 }. So instead, we need to introduce a new abis_nm_osmo_att_tlvdef[], which has to be patched into abis_nm_att_tlvdef[] by the means of tlv_def_patch(), exactly how we do it for bs-11 and nanobts specific attributes. I'm using 0xfe for the attribute, as 0xfe doesn't overlap with the IPA specific attribues (and we might want to combine/merge the 12.21 plus IPA plus osmocom spefici attributes)
Diffstat (limited to 'include/osmocom/core/prim.h')
0 files changed, 0 insertions, 0 deletions