From 5898abcf73501b821a407c2c0bc5d912965d9fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 29 May 2022 18:18:00 +0200 Subject: nixos/modules/hostapd: add wmm_enabled option --- nixos/modules/hostapd.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nixos/modules/hostapd.nix b/nixos/modules/hostapd.nix index 0ca66d0..0dc6f95 100644 --- a/nixos/modules/hostapd.nix +++ b/nixos/modules/hostapd.nix @@ -164,6 +164,18 @@ let ''; }; + wmm_enabled = mkOption { + type = types.bool; + default = true; + description = '' + Default WMM parameters (IEEE 802.11 draft; 11-03-0504-03-000e): + for 802.11a or 802.11g networks + These parameters are sent to WMM clients when they associate. + The parameters will be used by WMM clients for frames transmitted to the + access point. + ''; + }; + ieee80211n = mkOption { type = types.bool; default = true; @@ -441,6 +453,7 @@ let country_code=${icfg.countryCode} ieee80211d=1 ${optionalString (icfg.ieee80211h) "ieee80211h=1"} + wmm_enabled=${boolean icfg.wmm_enabled} ${optionalString icfg.ieee80211n '' ieee80211n=1 ht_capab=${mapCapab icfg.ht_capab} -- cgit v1.2.3