What is the equivalent of netsh wlan hostednetwork on MacOSX? With Windows is is possible to setup a netsh wlan hostednetwork even if the computer is already using a wlan connection for itself. However, a Mac's inbuilt Internet Sharing functionalities only support generating a wlan from a wired connection. What application/settings can I use to construct a wlan hostednetwork the same way it is done on Windows?
I think this is not possible. What do you try to archive? If you have the login credentials for the network your first mac uses, you could use those on any other device to connect to the wlan. The only thing I could think of is using a mac as a repeater. Questions regarding this were answered at: MacBook as WiFi extender and Macbook Pro as a wireless bridge? (Private hotspot from external wifi connection)

tl;dr: It is not possible. one solution is to use another external wifi card via usb.