I'm using mod-ubus to configure wireless, I can add new section config wifi-config with the required wifi settings, commit wireless, everything is ok. My problem is that my wifi config wifi-iface 'sta' needs to have ssid/key/encryption set separately via an additional JSON request.
Why do a need "config wifi-config"? Why not just set the config wifi-iface 'sta' instead?