New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huawei Commercial gNB - NG error indication ("id-RANNodeName" and "id-Extended-RANNodeName") #994
Comments
So, I've added forcely APC_EXTENSIBLE.
There seems to be a problem with the asn1c compiler in open5gs. So, I manually created branch issues994 to handle this problem. You can find my patch code in this commit a3195bc. It's not a fundamental solution, but it work well at least in open5gs simulation environment. And also, @riebl provided the following patch in the @mouse07410 vlm_master as below. However, there is no APC_EXTENSION in RAN NodeName UTF8String of Extended RAN NodeName. I'll try, but I'm not sure if I can fix it. Thank you for sharing this issue. |
I've fixed and updated it to the main branch. It was solved by manually modifying the code generated by asn1c. The asn1c decoding/encoding does not work properly when UTF8String requires APC_EXTENSIBLE(...).
The following code shows that UTF8String is not a known multiplier and there is a bug where APC_EXTENSIBLE is lost in this case. For your reference, in PrintableString and VisibleString, APC_EXTENSIBLE is generated well. Because they are a known multiplier.
If you analyze the asn1c source code a little more, range->non_PER_visible is set to 1 in Not a known multipler.
In this case, it is returned from line 2036 according to line 2034 of the code below. Lines 2098-2101 cannot be executed. So, APC_EXTENSIBLE is lost in UTF8String.
I haven't been tracking this issue anymore. I solved it manually as Open5GS only uses UTF8String in AMFNameUTF8String and RANNodeNameUTF8String. Let me know if you have any further questions. Thank you so much for sharing this issue. |
Hi Sukchan, Thanks a lot! With your update I was able to integrate the Huawei model is a BTS 5900 in case you want to add to your list. I was able to get up to 1Gbps (which is the max of my current interface) on a single device. Best regards |
Hi, is BTS 5900 operating in 5G NSA or SA mode? |
Hi,
I am trying to integrate a Huawei commercial gNB but I am getting an "error indication" after the ng setup request. I believe the error is caused because of mal functioning of parsing 2 fields of the ng setup request, the "id-RANNodeName" and "id-Extended-RANNodeName". Should I be able to parse both items? I am attaching the pcap too.
test.pcapng.zip
BR
The text was updated successfully, but these errors were encountered: