Cognitive optimization of the transmitter-receiver pair