Enabled AP and P2P modes.