Modify setAEIChannel.