···274274 channel = mkOption {
275275 default = 0;
276276 example = 11;
277277- type = types.int;
277277+ type = types.ints.positive;
278278 description = ''
279279 The channel to operate on. Use 0 to enable ACS (Automatic Channel Selection).
280280 Beware that not every device supports ACS in which case {command}`hostapd`
···571571 options = {
572572 logLevel = mkOption {
573573 default = 2;
574574- type = types.int;
574574+ type = types.ints.between 0 4;
575575 description = ''
576576 Levels (minimum value for logged events):
577577 0 = verbose debugging
···957957 vlanid = mkOption {
958958 default = null;
959959 example = 1;
960960- type = types.nullOr types.int;
960960+ type = types.nullOr types.ints.unsigned;
961961 description = "If this attribute is given, all clients using this entry will get tagged with the given VLAN ID.";
962962 };
963963