PDS backup and wifi MAC calibration

Adapted from Quarx2K defy implementation and others

Change-Id: I038cc2b453b22c13a4005e3f96e51172566d04a6