I havent a clue if this is any help or not, but this is some sort of part code for obtaining logging data from VR9/VRX318/VRX220 lantiq chipsets.
Sorry if its irrelevant, but rather me make an ass of myself than keep hold of some info that may or may not be useful.
This is just a snippet
cr PLAM 0 0 1 [,108,107,109,102,115,]// PLAM_NearEndFailureFlags - gs_g997_Failure_Flag_NE
cr PLAM 1 0 1 [,108,107,109,102,115,]// PLAM_FarEndFailureFlags - gs_g997_Failure_Flag_FE
cr PLAM 2 0 5 [,108,107,109,102,115,]// PLAM_TR1AlarmIndicators - gt_G997_TR1AlarmIndicators
cr INFO 67 0 7 [,109,102,115,]// INFO 67 0 (7) ATU-C Transmission System Capabilities
cr INFO 70 0 2 [,109,102,115,]// INFO 70 0 (2) Previous init: success/failure cause (ATU-R), Previous init: Last State transmitted US (ATU-R), HLINSCds
cr INFO 71 0 2 [,109,102,115,]// INFO 71 0 (2) Previous init: success/failure cause (ATU-C), Previous init: Last Statetransmitted DS (ATU-C), HLINSCus
cr INFO 74 0 512 [,109,102,115,]// INFO 74 0 (512) INFO_HLOG_DS - gsa_RxHlog
cr INFO 75 0 64 [,109,102,115,]// INFO 75 0 (64) HLOGpsus
cr INFO 76 0 256 [,109,102,115,]// INFO 76 0 (128) QLNpsds, VDSL: INFO_QLN_DS (76) guca_QLN
cr INFO 77 0 32 [,109,102,115,]// INFO 77 0 (32) QLNpsus
cr INFO 79 0 8 [,109,102,115,]// INFO 79 0 (3) HLOGMTds, VDSL: INFO_ChannelMeasurement_DS (79) gt_ChannelMeasurement_NE => HlinSC, HlinG, HlogMT, HlogG, QlnMT, QlnG, SnrMT, SnrG
# TTNet - Debug variables
mr gs_ExcessMarRedDB_ 4 [,109,102,115,] // gs_ExcessMarRedDB (Excess Margin reduction in DB (Q8.8)), gs_ExcessMarFGReduction (Fine gain reduction in dB (Q8.8))