 When the diode is off (unpowered) the noise from it will be thermal noise defined by the above formula.The bandwidth to be used is the bandwidth of the receiver.When the diode is on (powered) the noise from it will be increased from the thermal noise by a figure called the "Excess Noise Ratio".