On the maximum Shannon entropy of the full state space of a T-code decoder