+
+ local swm = s:option(Flag, "sw_merge", translate("wifi_nosbeacon"))
+ swm:depends({mode="adhoc"})
+ swm.optional = true
+
+ local nos = s:option(Flag, "nosbeacon", translate("wifi_nosbeacon"))
+ nos:depends({mode="sta"})
+ nos.optional = true
+
+ local probereq = s:option(Flag, "probereq", translate("wifi_noprobereq"))
+ probereq.optional = true
+ probereq.enabled = "0"
+ probereq.disabled = "1"