The absolute minimum information needed would be:
Upstream/Downstream Connection speed
Upstream/Downstream SNR margin
Bitloading (see extract from my modem below)
xdslcmd info --Bits
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 1024 Kbps, Downstream rate = 8896 Kbps
Bearer: 0, Upstream rate = 1019 Kbps, Downstream rate = 7599 Kbps
Tone number Bit Allocation
0 0
1 0
2 0
3 0
4 0
5 0
6 2
7 5
8 7
9 9
10 10
11 11
12 12
13 13
14 13
15 13
16 13
17 13
18 13
19 13
20 13
21 13
.. and so on, up to highest tone used
But it would still be a large scale re-write of the program, and I'm sorry but I don't have the time to do all this extra work. I really am sorry.