Arrange the mode and scenario accordingly based on mdnie header file in the kernel