Support epoch option in adhoc mode