Discussion:
[wifi] Selecting band frequency
Christian Gagneraud
2013-08-15 03:49:15 UTC
Permalink
Hi there,

I'm doing some tests with a dual-band WiFi USB stick on Linux, it seems
to be doable using NetworkManager (not tested, just read some posts),
but I couldn't find anything in connman documentation.
Is this feature supported by connman?

Regards,
Chris
Patrik Flykt
2013-08-15 07:43:06 UTC
Permalink
Hi,
Post by Christian Gagneraud
I'm doing some tests with a dual-band WiFi USB stick on Linux, it seems
to be doable using NetworkManager (not tested, just read some posts),
but I couldn't find anything in connman documentation.
Is this feature supported by connman?
Connecting a dual-band 2.4/5GHz WiFi device to any WiFi network "just
works" as scanning and connecting is handled by wpa_supplicant.

Tethering is a different issue, 2.4 GHz is currently selected in order
to be compatible with all possible devices.

Which of the above scenarios did you have in mind?


Cheers,

Patrik
Christian Gagneraud
2013-08-15 23:21:32 UTC
Permalink
Post by Patrik Flykt
Hi,
Post by Christian Gagneraud
I'm doing some tests with a dual-band WiFi USB stick on Linux, it seems
to be doable using NetworkManager (not tested, just read some posts),
but I couldn't find anything in connman documentation.
Is this feature supported by connman?
Connecting a dual-band 2.4/5GHz WiFi device to any WiFi network "just
works" as scanning and connecting is handled by wpa_supplicant.
Yes indeed, i discovered that "it almost just works", the only thing I
had to do was set up the regulatory domain of the WiFi device (Got some
help from linux-wireless). It turned out that NZ and CN are not
compatible in the 5GHz band and my device comes pre-configured with CN.
Basically I could see the 5GHz SSID with connman, but I couldn't connect
(association failure), once switched to NZ, it worked like a charm!
Post by Patrik Flykt
Tethering is a different issue, 2.4 GHz is currently selected in order
to be compatible with all possible devices.
Which of the above scenarios did you have in mind?
Right now, just the first one, I might need tethering or not in the
future. It's good to know this kind of things before even having to ask
them! Thank you very much Patrick!
Is it connman that takes this decision or is it hostpapd? (Does connman
even use hostapd for WiFi thetering BTW?)

Regards,
Chris
Post by Patrik Flykt
Cheers,
Patrik
_______________________________________________
connman mailing list
https://lists.connman.net/mailman/listinfo/connman
Patrik Flykt
2013-08-16 07:30:50 UTC
Permalink
Post by Christian Gagneraud
Is it connman that takes this decision or is it hostpapd? (Does connman
even use hostapd for WiFi thetering BTW?)
ConnMan uses wpa_supplicant also for tethering and needs to provide the
intended frequency as wpa_supplicant is not able to select one by
itself.

Cheers,

Patrik
Marcel Holtmann
2013-08-16 19:09:13 UTC
Permalink
Hi Patrik,
Post by Patrik Flykt
Post by Christian Gagneraud
I'm doing some tests with a dual-band WiFi USB stick on Linux, it seems
to be doable using NetworkManager (not tested, just read some posts),
but I couldn't find anything in connman documentation.
Is this feature supported by connman?
Connecting a dual-band 2.4/5GHz WiFi device to any WiFi network "just
works" as scanning and connecting is handled by wpa_supplicant.
Yes indeed, i discovered that "it almost just works", the only thing I had to do was set up the regulatory domain of the WiFi device (Got some help from linux-wireless). It turned out that NZ and CN are not compatible in the 5GHz band and my device comes pre-configured with CN. Basically I could see the 5GHz SSID with connman, but I couldn't connect (association failure), once switched to NZ, it worked like a charm!
if it is possible find a SSID on a 5GHz and we can not connect to it due to regulatory enforcement, then we should not connect to it. Can someone please fix wpa_supplicant to not tell us about that SSID.

Regards

Marcel

Loading...