One failure of wave nature of light in photoelectric effect was that increasing the intensity of light did not increase the kinetic energy of electrons. I don't understand how this is true.
We know that an increase of intensity means an increase of energy $E$. Again, $E=hf$, where $f$ is frequency, so increasing intensity increases energy, which in turn increases frequency, since $E$ is proportional to $f$. Then, why is wave nature of light failing to explain photoelectric effect?