summaryrefslogtreecommitdiffstats
path: root/src/gsm/abis_nm.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix introducing osmocom speficic OML attributesHarald Welte2014-05-191-0/+7
| | | | | | | | | | | | | | | | | | | 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)
* abis: Use the right return value for abis_nm_pchan4chcombHolger Hans Peter Freyther2014-01-021-1/+1
| | | | | | | | | abis_nm_pchan4chcomb will return a pchan for a given channel combination but returned a value of the channel combination. Fix it to return the physical channel combination. Fixes: Coverity CID 1040767
* turn abis_nm_debugp_foh() into a macroHarald Welte2013-02-101-12/+10
| | | | | | this will avoid printing 'abis_nm.c' as the filename in the log, which is pretty useless during debugging. We want to know where abis_nm_debugp_foh() is being used from, not where it is implemented.
* misc: Use static const struct for LAPD and AbisHolger Hans Peter Freyther2012-11-221-1/+1
|
* doc: Fix the Doxygen section endingsSylvain Munaut2012-04-181-1/+1
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* doxygen: Add documentation for Abis OMLHarald Welte2011-08-171-4/+29
|
* make sure abis_nm <-> osmocom pchan type conversion always worksHarald Welte2011-06-291-0/+2
|
* Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbscHarald Welte2011-05-241-0/+32
|
* abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_nameHarald Welte2011-05-231-14/+4
| | | | | | | | and export the underlying raw value_string arrays instead: abis_nm_obj_class_names / abis_nm_adm_state_names. This permits the caller to use get_string_value() as well as get_value_string().
* rename abis_nm_adm_name() to abis_nm_adm_state_name()Harald Welte2011-05-231-1/+1
|
* abis_nm: import definitions and common code on A-bis OML from OpenBSCHarald Welte2011-05-221-0/+406