I'm fairly new to OpenWrt and at the moment I'm trying to understand how wl, wifi and nas interact with each other and what there role is.
I read thru the documentation but that was not sufficient to get a complete overview of there interaction.
Ok here's my understanding so far:
All three applications are user level processes that are somehow needed to provide wifi functionality.
wl is used to configure the wireless driver. This done via the kernel module wlcompat. wl sets internal register in the wifi device and also reads and writes nvram settings. (Does the wifi device have persistent storage i.e. flash or do all settings need to be stored outside of the wifi device?).
wifi has a similar role than wl but also runs as a background process to provide an unkown service(What is actually done in the background?). wifi also interfaces to the wlcompat kernel module to access the actual hardware.
nas is a user level background process that is somehow responsible for providing wifi encryption. Data received by the wifi device is passed to nas via wlcompat then decrypted and then passed back into the kernel where it is delivered to the network device.
All the above is based on my basic understanding and my assumptions are probably not completely true. So please add or correct my descriptions.