Skip to content

w1f1: reduce WLAN instance creations + make wifi state work properly thru st3m.wifi when using w1f1

Phileas requested to merge cursed-w1f1-change into main

on "make wifi state work properly thru st3m.wifi when using w1f1":

without a WLAN object st3m.wifi is blind about if we're connected or not, or if the interface is enabled or not.

we don't create one by default as it spawns the wlan task and consumes a buncha ram and breaks a bunch of apps unless enable wlan on boot is enabled.

so previously when using w1f1 without enable wlan on boot, wlan state wouldn't be inherently visible to other apps, incl the menu's wlan symbol. this fixes that.

Merge request reports

Loading