Dynamical properties of an harmonic oscillator impacting a vibrating wall