@@ -21,6 +21,7 @@ let
2121 hw_mode=${cfg.hwMode}
2222 channel=${toString cfg.channel}
2323 ${optionalString (cfg.countryCode != null) ''country_code=${cfg.countryCode}''}
24+ ${optionalString (cfg.countryCode != null) ''ieee80211d=1''}
2425
2526 # logging (debug level)
2627 logger_syslog=-1
@@ -167,7 +168,10 @@ in
167168 Set as needed to indicate country in which device is operating.
168169 This can limit available channels and transmit power.
169170 These two octets are used as the first two octets of the Country String
170− (dot11CountryString)
171+ (dot11CountryString).
172+ If set this enables IEEE 802.11d. This advertises the countryCode and
173+ the set of allowed channels and transmit power levels based on the
174+ regulatory limits.
171175 '';
172176 };
173177