awgtpman: testpoint restrictions are antiquated
tpman has some arbitrary limits on testpoint creation that should be eliminated, and some calculations that are sometimes incorrect. This issue perhaps properly should be split into several issues.
Everything is tracked with fixed-width buffers that should be std library data structures. Number of test points and number of users per testpoint are arbitrarily limited by the size of the buffers used to track them. Sizes of structures are dissociated from structures.
Total data rate calculation is incorrect for slow models < 16 kHz. So the ceiling on data rate is low by maybe a factor of 8.
There is no consideration of global data rate or where a model is. The limit of models in the cornerstation should be greater than from the end station (as long as the ends are combined into a sub-1G pipe). The limiting factor is how much traffic a link can handle without causing missed daq epochs for any model. The hard limit in code is probably too high for the ends and certainly too low for the corner.
Finally, and perhaps of no importance, there are nested loops used to check all these fixed structures. The performance of these checks could easily be improved.
Relevant code is in requesttp_1_svc in testpoint_server.c