Hi, i have ar9331 SoC module I am using with openwrt, i can do wps in ap and station mode. This works almost always well when i am connecting a phone to it when the device is in ap mode, but most of the times, it does not work when it is in station mode and I try to connect it to another ap which has wps. for both modes, i have wps_pbc in wireless configs, and i initiate wps by using hostapd_cli or wpa_supplicant_cli using wps_pbc method. How can this issue be debugged?
Also, i need to have both ap and sta mode enabled at the same time, but when I do, the ap SSID seems to go on and off, any way to fix this? the sta mode is needed only for scanning other aAPs.