I'm using the murata 1DX module (broadcom 43430 chip) on an Atmel platform running a Linux kernel 3.10.
My Hostapd version is 2.9 and my wpa_supplicant is v2.5.
The driver sources (v4.14.52-2018_0928) are coming from the Cypress website : https://community.cypress.com/docs/DOC-15932
Actually, I'm able to connect to a Wifi network linked to the Internet on the wlan0 network interface then to set up an access point with hostapd on the uap0 interface, sharing Internet access to the access point clients.
Hostapd is always started after being connected to a Wifi network, on the same Wifi channel used by the Wifi station.
In my use case, the Wifi connection can be disconnected (manually or because of bad network conditions) for a while. In those cases I kill the access point for two reasons :
- Final user should not be able to connect to the access point if Internet is not reachable from this path.
- I can't be sure that the new Wifi connection still use the same Wifi channel. (The access point is not working if not created on the same channel than the Station.)
With other radio modules (from other manufacturers), I was able to manage a "suspend/resume" behaviour of the access point, driven by a shell script launched automatically by wpa_supplicant when wlan0 goes up or down.
In the "resume" step I watched the Wifi channel used by the wlan0 connection, modified the hostapd configuration file to set the same channel before re-launching hostapd.
With the Murata 1DX module, as a first try, I did the same and found out that each time my access point network interface (uap0) was set up or down (manually or not), the wlan0 was also set accordingly to up or down.
With the wpa_supplicant trigged script, it led to a kind of infinite loop of "ups and downs" on wlan0 and uap0.
Finally I understood that it is because the uap0 interface depends on the wlan0 one. Indeed, to create the uap0 interface I did the following :
ifconfig wlan0 up
iw dev wlan0 interface add uap0 type __ap
On other modules I did another way (not working with the 1DX Murata module) :
iw phy phy0 interface add uap0 type managed
As a second way, with the 1DX module I tried to change on the fly the channel used by hostapd with the following command without success :
$hostapd_cli chan_switch 100 2462 vht
Selected interface 'uap0'
$hostapd_cli chan_switch 100 2462 ht
Selected interface 'uap0'
Could you provide some support regarding the management of the access point channel please ?
I saw that the Cypress archive included a 2.6 version of Hostapd, does this specific Cypress's version embeds modifications that can fix my issues ?
Mobile : +33 (0)6 30 93 58 71
P Afin de contribuer au respect de l'environnement, merci de n'imprimer ce mail qu'en cas de nécessité
" Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous avez reçu ce mail par erreur, et afin de ne pas violer le secret des correspondances, vous ne devez pas le transmettre à d'autres personnes ni le reproduire Toute divulgation, distribution ou copie du présent courriel et des documents attaches sans autorisation préalable de son émetteur est interdite."