Marvell 802.11n SDIO/PCI-E/USB FullMAC driver.
The firmware can be obtained from firmware tree.
mwifiex does support access point mode, but an access point interface must be created using iw dev mlan0 interface add uap0 type __ap
This interface can then be used with hostapd.
Supported PHY modes:
To start AP operations in 11a mode, driver needs to first provide regulatory hint to cfg80211 core about current country settings.
Otherwise cfg80211 puts device into world domain where almost all channels from 11a band are disabled.
This can be done by loading driver with regulatory alpha setting. Load mwifiex driver with following setting to enable 11a band operations:
insmod mwifiex.ko reg_alpha2=<country-code>
mwifiex supports P2P operation mode, but P2P interface must be created using iw dev mlan0 interface add p2p0 type __p2pcl
This interface can then be used with wpa_supplicant.
mwifiex driver does not support a separate interface for P2P device mode. Same interface which was used for P2P negotiation will later be used for P2P operations in GO or Client mode.
To avoid creation of separate interface after P2P negoation by wpa_supplicant, please include following setting in your P2P conf file