cleanup, use #defines for WAKE options

Change-Id: Ib8566d3d67eee499521c4f471a208979da9b6f6c