-
Notifications
You must be signed in to change notification settings - Fork 69
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
New TLV: 84 Diplexer Band Edge #68
Comments
This patch caused warnings when compiling:
I think NUM_IDENTIFIERS in docsis_common.h must be incremented with 4 (clean compile with this change) |
Hmm, odd. I didn't have to increment it myself and was able to compile it.
However, when checking the identifiers, there are more than that number:
So, my 4 additions would put it over the max. However, some of those are duplicates.
It's possible they're getting optimized out when I'm compiling it. |
@Sicarius128 Thank you for fast reply, and thank you for your patch :) Just for the record, it did compile successfully without tweaking NUM_IDENTIFIERS, but there was the before mentioned warning with excess elements. I did not test the binary compiled with warnings. The build platform i use is Docker "php:8-apache-buster" with following extra packages installed: I did test docsis-files compiled with your patch + NUM_IDENTIFIERS incremented, and it seems to work just fine, the modems accept the docsis-files and TLV84 signaling seems to work just fine |
This patch compiles without incrementing NUM_IDENTIFIERS, however, it causes some problems at runtime. Specifically, it causes an extra malformed TLV to appear at the end of decoded binaries: |
I have no idea what this comment is trying to indicate. In the patch in #68, Sicarius128 changed the 1422 to 1426 to match the addition of more options. I'm just going to remove it instead.
I merged this. Usual disclaimer: I am just doing a "rescue maintainer" job here. I do not use this software any more. |
Thanks @Sicarius128 @kriip @prushik ! |
New TLV 84 as per MULPIv3.1-I19 Annex C.1.2.23
Old:
New:
Patch attached. Hopefully in a better format this time.
docsis_symtable.h.patch.txt
The text was updated successfully, but these errors were encountered: