APER support - experimental
This commit is basically the same as the one done for OpenAirInterface, only adapted to work with the current asn1c master branch. It surely does not work in the general case. There are no tests at all. The only validation that has been done is to have a commercial UE successfully connect to the openair's eNodeB. RRC release 10 and 14 were tried. S1AP release 10. This is not directly related to APER, but since I mentioned RRC, RRC has extension version groups. asn1c does not work with them (the last time I checked). So we hack RRC to syntactically replace [[ and ]] by an "optional sequence" for which the UPER encoding is the same as [[ and ]]. See openair commit 2f3d6bc99ac55f582c16c071df793238e242010e. (openairinterface5g@2f3d6bc9) The differences with the previous patches used so far by openair are: - 64 bits code not included (asn_int642INTEGER and co.) - no "_compare" functions (they are not needed for openair's softmodem as far as I checked) The code may fail to work on 32 bits machines (think ARM). It has only been tested on 64 bits. Apart from RRC and S1AP (and maybe not even all possible messages of those standards), anything else may fail to work properly. This commit has not to be considered as a correct APER implementation. This is a hack, sufficient to support the needs of openair (hopefully). Do not use it without extensive testing. You've been warned.
Showing with 3147 additions and 0 deletions