%+header%> <% local mtkwifi = require("mtkwifi") local devs = mtkwifi.get_all_devs() -- Go blame the M.A.N. designer if you think the code looks odd. -- 1. there may be more than one interface that supports M.A.N. -- 2. all interfaces that supports M.A.N will share the same params in their profiles. -- so we choose only one dev to manipulate those M.A.N params, then copy them to other devs. local dev = nil -- this is the dev we choose local cfgs = nil -- profile of chosen dev %>