services: iwd: Remove deprecated configuration field.

ap-ranges is deprecated in favor of ap-address-pool.

* rosenthal/services/networking.scm (%iwd-config-general,uglify-field-name)
(iwd-configuration): Remove ap-ranges.
This commit is contained in:
Hilton Chain 2023-10-08 20:50:08 +08:00
parent 6b1a540e24
commit 5dbef96272
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -21,7 +21,6 @@
(define %iwd-config-general
'(enable-network-configuration?
ap-ranges
use-default-interface?
address-randomization
address-randomization-range
@ -64,7 +63,6 @@
(define (uglify-field-name field-name)
(case field-name
((ap-ranges) "APRanges")
((control-port-over-nl80211?) "ControlPortOverNL80211")
((disable-anqp?) "DisableANQP")
((disable-ocv?) "DisableOCV")
@ -155,10 +153,6 @@
(boolean #f)
"Enable network configuration.")
(ap-ranges
maybe-cidr4
"IP range for DHCP server (AP mode).")
(use-default-interface?
(boolean #f)
"Do not allow iwd to destroy / recreate wireless interfaces at startup,