Photospheric Network as the Energy Source for the quiet-Sun corona