openwrt / netifd

[MIRROR] OpenWrt Network interface configuration daemon
https://git.openwrt.org/?p=project/netifd.git;
17 stars 19 forks source link

netifd does not support mcast_rate #7

Closed Noki closed 1 year ago

Noki commented 1 year ago

For Freifunk Berlin we have the following wireless config:

# Wifi Config is derived from wireless profile: 'freifunk_default'

# Radio: 11a_standard
config wifi-device 'radio0'
        option type 'mac80211'
        option band '5g'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
        option htmode 'HE20'
        option channel '36'
        option country 'DE'
        option legacy_rates '0'

config wifi-iface 'radio0_if0'
        option device 'radio0'
        option network 'dhcp'
        option ifname 'wlan5-ff'
        option mode 'ap'
        option encryption 'none'
        option ssid 'berlin.freifunk.net'
        option isolate '1'

config wifi-iface 'radio0_if1'
        option device 'radio0'
        option network 'dhcp'
        option ifname 'wlan5-ffowe'
        option mode 'ap'
        option encryption 'owe'
        option ssid 'berlin.freifunk.net Encrypted'
        option ieee80211w '1'
        option isolate '1'

config wifi-iface 'radio0_if2'
        option device 'radio0'
        option ifname 'wlan5-mesh'
        option mode 'mesh'
        option mesh_id 'Mesh-Freifunk-Berlin'
        option mesh_fwding '0'
        option mcast_rate '12000'
        option network 'mesh_5g'

# Radio: 11g_standard
config wifi-device 'radio1'
        option type 'mac80211'
        option band '2g'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option htmode 'HE20'
        option channel '13'
        option country 'DE'
        option legacy_rates '0'

config wifi-iface 'radio1_if0'
        option device 'radio1'
        option network 'dhcp'
        option ifname 'wlan2-ff'
        option mode 'ap'
        option encryption 'none'
        option ssid 'berlin.freifunk.net'
        option isolate '1'

config wifi-iface 'radio1_if1'
        option device 'radio1'
        option network 'dhcp'
        option ifname 'wlan2-ffowe'
        option mode 'ap'
        option encryption 'owe'
        option ssid 'berlin.freifunk.net Encrypted'
        option ieee80211w '1'
        option isolate '1'

config wifi-iface 'radio1_if2'
        option device 'radio1'
        option ifname 'wlan2-mesh'
        option mode 'mesh'
        option mesh_id 'Mesh-Freifunk-Berlin'
        option mesh_fwding '0'
        option mcast_rate '12000'
        option network 'mesh_2g'

Netifd does not bring up the mesh devices with this configuration and states that it could not find a parameter mcast_rate:

Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819): Could not find the parameter mcast-rate.
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819): Possible mesh parameters are:
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_retry_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_confirm_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_holding_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_max_peer_links
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_max_retries
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_ttl
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_element_ttl
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_auto_open_plinks
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_max_preq_retries
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_path_refresh_time
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_min_discovery_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_active_path_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_preq_min_interval
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_net_diameter_traversal_time
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_rootmode
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_rann_interval
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_gate_announcements
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_fwding
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_sync_offset_max_neighor
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_rssi_threshold
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_active_path_to_root_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_root_interval
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_hwmp_confirmation_interval
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_power_mode
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_awake_window
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_plink_timeout
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_connected_to_gate
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_nolearn
Tue Aug 15 16:42:52 2023 daemon.notice netifd: radio1 (1819):  - mesh_connected_to_as

Is this parameter deprecated or it this a bug?

Noki commented 1 year ago

looks to be fixed now. Probably I did not wait until everything was build properly...