[PATCH 1/3] libteam: add API for carrier control