With wl18xx driver, we can run AP and Mesh on the same phy: # iw dev wlan0 interface add wlan0_ap type __ap # iw dev wlan0 interface add wlan0_mesh type mesh # hostapd & # wpa_supplicant -Dnl80211 -i wlan0_mesh However, with mac80211_hwsim: ccessfully initialized wpa_supplicant nl80211: Could not set interface 'p2p-dev-wlan0_m' UP nl80211: deinit ifname=p2p-dev-wlan0_m disabled_11b_rates=0 p2p-dev-wlan0_m: Failed to initialize driver interface P2P: Failed to enable P2P Device interface wlan0_mesh: leaving mesh wlan0_mesh: mesh leave error=-95 wlan0_mesh: interface state UNINITIALIZED->ENABLED wlan0_mesh: AP-ENABLED wlan0_mesh: joining mesh cs2_ssid wlan0_mesh: mesh join error=-16 This is with kernel 5.4. mac80211_hwsim loaded with channels=3. Is this a known limitation with mac80211_hwsim? Br, Peter Astrand _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap