JB to Lollipop upgrade

Is there a way to keep settings through an upgrade from JellyBean to Lollipop.


I need the devices to keep current wireless settings only as the upgrade process needs to be done remotely.


The customer uses static address on MC40's and want the Lollipop upgrade to be pushed using SOTI.


I have no problems with doing the upgrade but lose all settings which does not matter except the wireless settings