ValidateWifi6.sleela
lib/wifi/6/examples/ValidateWifi6.sleela · 15 line(s) · sleela
#sleela 2.5
material;
< Demonstration of Wi-Fi 6 profile validation. >
Wifi6Model model;
print("SLeeLa Wi-Fi 6 reference profile");
print("20 MHz accepted: " + model.isValidChannelWidth(20));
print("160 MHz accepted: " + model.isValidChannelWidth(160));
print("320 MHz accepted: " + model.isValidChannelWidth(320));
print("8 spatial streams accepted: " + model.isValidSpatialStreamCount(8));
print("9 spatial streams accepted: " + model.isValidSpatialStreamCount(9));
print("6 GHz assumed by generic Wi-Fi 6 profile: " + model.allows6GHzAsGenericWifi6());
print("Discover real adapter capabilities at runtime: " + model.needsRuntimeDiscovery());