Some papers report gain in dB while some in dBi. So what is the difference between the two? Because gain is always measured with respect to some reference antenna for example dBd is used when gain is measured with respect to a dipole antenna. Its really confusing me with the reference level taken while mentioning it in dB.