Antenna are mostly passive, but the gain is both for the TX and RX direction… but maybe you would benefit first to read something like