debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04076
[Bug 2116940] Re: Nmcli incorrectly reports Wi-Fi channel as 0 for 6 GHz AP
** Merge proposal linked:
https://code.launchpad.net/~antoinelassagne/ubuntu/+source/network-manager/+git/network-manager/+merge/488966
** Merge proposal linked:
https://code.launchpad.net/~antoinelassagne/ubuntu/+source/network-manager/+git/network-manager/+merge/488967
** Merge proposal linked:
https://code.launchpad.net/~antoinelassagne/ubuntu/+source/network-manager/+git/network-manager/+merge/488968
** Description changed:
+ SRU Justification:
+
+ [ Impact ]
+
+ * All systems compatible with wifi 6E (6 ghz endpoint) are currently
+ reporting an incorrect channel when using the `nmcli` tool to scan the
+ network.
+
+ * This patch provides minimal changes to address this problem. It adds
+ the <frequency-channel> pairs that are missing in the code, and handles
+ the few case where hard-coded exits where implemented for frequencies >
+ 5.9 ghz.
+
+
+ [ Test Plan ]
+
+ 1. Run `nmcli device wifi list` without / with the patch. See that the
+ channel is not zero anymore
+
+ 2. Run the Wireless Network certification suite from Checkbox, that will
+ * Connect and disconnect to all kind of wifi
+ * Scan the network
+
+ All the tests should be successfull.
+
+ wireless/wireless_scanning_interface
+ wireless/wireless_connection_wpa_bg_nm_interface
+ wireless/wireless_connection_open_bg_nm_interface
+ wireless/wireless_connection_wpa_n_nm_interface
+ wireless/wireless_connection_open_n_nm_interface
+ wireless/wireless_connection_wpa_ac_nm_interface
+ wireless/wireless_connection_open_ac_nm_interface
+ wireless/wireless_connection_wpa_ax_nm_interface
+ wireless/wireless_connection_wpa3_ax_nm_interface
+ wireless/wireless_connection_open_ax_nm_interface
+ wireless/wireless_connection_wpa_be_nm_interface
+ wireless/wireless_connection_wpa3_be_nm_interface
+ wireless/wireless_connection_open_be_nm_interface
+
+
+ [ Where problems could occur ]
+
+ * Some function where existing or returning (0,0) when using wifi 6E
+ before this patch. I made sure that it would not cause an unexpected
+ behavior later.
+
+
+ [ Other Info ]
+
+ * The patch is a subset of an upstream, unmerged, PR: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2110
+ The above upstream PR contains other changes that are not relevant for a SRU (refactoring, for example). It went through several rounds of review already but is a bit stalled lately. Since one of our partners (nvidia) asks for a fix, I am proposing this patch and will help the PR move forward in parallel. Once the PR is merged upstream, the patch can be dropped from Questing.
+
+
+
+ original description:
+
We are observing that when connecting to a 6 GHz Wi-Fi access point
(channel 169), the nmcli tool incorrectly reports the channel as 0,
while other tools like iw dev and wpa_cli reflect the correct value.
The issue affects the accuracy of WiFi scanning, potentially leading to
incorrect channel information and difficulties in using the WiFi
network.
Repro steps:
- Power on the target
- Turn on the wifi 6GHz band network (Using WiFi7 TP BE19000)
- Set the region to US
$ sudo iw reg set US
- Scan the network using the cmd:
$ nmcli dev wifi list
Expected Result:
The channel set in the router should display in scan list
Additional comments:
After connecting to 6G WiFi, and executed the command
$ sudo iw dev
We are able to see the channel as 169,
and verified that in router page 6G AP channel is set to 169 itself.
However, when scanning 6G AP using nmcli, the channel is displaying as 0.
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2116940
Title:
Nmcli incorrectly reports Wi-Fi channel as 0 for 6 GHz AP
Status in network-manager package in Ubuntu:
New
Status in network-manager source package in Noble:
New
Status in network-manager source package in Plucky:
New
Status in network-manager source package in Questing:
New
Bug description:
SRU Justification:
[ Impact ]
* All systems compatible with wifi 6E (6 ghz endpoint) are currently
reporting an incorrect channel when using the `nmcli` tool to scan the
network.
* This patch provides minimal changes to address this problem. It
adds the <frequency-channel> pairs that are missing in the code, and
handles the few case where hard-coded exits where implemented for
frequencies > 5.9 ghz.
[ Test Plan ]
1. Run `nmcli device wifi list` without / with the patch. See that
the channel is not zero anymore
2. Run the Wireless Network certification suite from Checkbox, that will
* Connect and disconnect to all kind of wifi
* Scan the network
All the tests should be successfull.
wireless/wireless_scanning_interface
wireless/wireless_connection_wpa_bg_nm_interface
wireless/wireless_connection_open_bg_nm_interface
wireless/wireless_connection_wpa_n_nm_interface
wireless/wireless_connection_open_n_nm_interface
wireless/wireless_connection_wpa_ac_nm_interface
wireless/wireless_connection_open_ac_nm_interface
wireless/wireless_connection_wpa_ax_nm_interface
wireless/wireless_connection_wpa3_ax_nm_interface
wireless/wireless_connection_open_ax_nm_interface
wireless/wireless_connection_wpa_be_nm_interface
wireless/wireless_connection_wpa3_be_nm_interface
wireless/wireless_connection_open_be_nm_interface
[ Where problems could occur ]
* Some function where existing or returning (0,0) when using wifi 6E
before this patch. I made sure that it would not cause an unexpected
behavior later.
[ Other Info ]
* The patch is a subset of an upstream, unmerged, PR: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2110
The above upstream PR contains other changes that are not relevant for a SRU (refactoring, for example). It went through several rounds of review already but is a bit stalled lately. Since one of our partners (nvidia) asks for a fix, I am proposing this patch and will help the PR move forward in parallel. Once the PR is merged upstream, the patch can be dropped from Questing.
original description:
We are observing that when connecting to a 6 GHz Wi-Fi access point
(channel 169), the nmcli tool incorrectly reports the channel as 0,
while other tools like iw dev and wpa_cli reflect the correct value.
The issue affects the accuracy of WiFi scanning, potentially leading
to incorrect channel information and difficulties in using the WiFi
network.
Repro steps:
- Power on the target
- Turn on the wifi 6GHz band network (Using WiFi7 TP BE19000)
- Set the region to US
$ sudo iw reg set US
- Scan the network using the cmd:
$ nmcli dev wifi list
Expected Result:
The channel set in the router should display in scan list
Additional comments:
After connecting to 6G WiFi, and executed the command
$ sudo iw dev
We are able to see the channel as 169,
and verified that in router page 6G AP channel is set to 169 itself.
However, when scanning 6G AP using nmcli, the channel is displaying as 0.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2116940/+subscriptions
References