I have a requirement for keeping the WiFi channel fixed for some testing purpose. I am using the WL18x7MOD module in my design. Is there a way for doing that ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a requirement for keeping the WiFi channel fixed for some testing purpose. I am using the WL18x7MOD module in my design. Is there a way for doing that ?
The WiFi channel can only be fixed if you are using it as an Access Point (AP). You can edit 'channel' variable in hostapd.conf.
If you want a fixed WiFi channel and you are using the WL18xx as a station (client), then you will have to set the channel in the AP being connected to.
We haven't tested this but may try adding "freq=<frequency>" argument to p2p_connect command and check if it forces the DUT on specific channel .
Is there a way to know the current "freq"=<frequency> value, I wanted to know whether there is some sort of file in which it is written into ?
I tried to add a frequency parameter in wpa_supplicant.conf to use in a particular frequency, but I am not getting the desired frequency. I am getting either channel 1 or channel 6 or channel 11 in all cases I have tested so far.
Thanks SN for your response,
Actually we have used Android in our implementation, and it is the Android who is the doing the underlying calls, so I don't think we have much hope there.
But what about the wpa_supplicant.conf, I tried to modify the parameters but didn't get the desired results.
We are unable to offer much guidance on this since we don't test our solution on Android, nor have we tested setting channel frequency for p2p connection in wpa supplicant conf file.