So I'm trying to set up a secure network with several mesh points using Archer C7 v2 routers. I can get the routers to recognize each other as mesh points in a network by just modifying the /etc/config/wireless files, but I want to use wpa_supplicant for a more secure connection. It does not appear to be set up for creating mesh points by default, so I uncommented the CONFIG_MESH=y option in the wpa_supplicant-full.config file. When I clean and rebuild, the package 'package/network/services/hostapd' will not compile. I get all kinds of errors relating to the crypto functions, with the first error being "undefined reference to 'crypto_bignum_bits'" following by numerous other similar undefined symbol errors ('crypto_bignum_whatever').
I tried changing the CONFIG_TLS setting in hostapd-full.config from the setting "internal" to both "OpenSSL" and "GnuTLS" with similar results. For example, with OpenSSL the first error I get is "undefined reference to 'tls_init'" followed by a whole bunch of other similar undefined reference errors.
I have made sure all the supporting libraries are selected when I do "make menuconfig", so I am at a loss at this point. It's almost like the build system is not passing on the CONFIG_MESH to the wpa_supplicant Makefile, which is where the crypto gets included, but that's just a guess.
I was able to speed up testing difference configurations by just building the affected package rather than run the top level make with the following command:
make package/network/services/hostapd/{clean,compile} V=s
Any ideas on what I'm missing here would be greatly appreciated. I have Googled it, but haven't really found anything useful.