From fe48a4b35cf6373ba033134944da10aa51d1d85a Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Thu, 27 Jul 2023 16:15:47 +0200 Subject: [PATCH] wifi: parse access point announced bandwidth Parse the access point announced bandwidth in MHz. This is considering both HT and VHT. Please notice that for VHT 80+80 MHz we are representing it as 160 MHz. --- ...freedesktop.NetworkManager.AccessPoint.xml | 7 ++ src/core/devices/wifi/nm-wifi-ap.c | 41 +++++++++ src/core/devices/wifi/nm-wifi-ap.h | 3 + src/core/nm-core-utils.c | 85 +++++++++++++++++++ src/core/nm-core-utils.h | 1 + src/core/supplicant/nm-supplicant-interface.c | 11 ++- src/core/supplicant/nm-supplicant-types.h | 2 + src/libnm-client-impl/libnm.ver | 5 ++ src/libnm-client-impl/nm-access-point.c | 39 +++++++++ src/libnm-client-public/nm-access-point.h | 4 + 10 files changed, 196 insertions(+), 2 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.AccessPoint.xml b/introspection/org.freedesktop.NetworkManager.AccessPoint.xml index 7340bda308..287bfaa9a4 100644 --- a/introspection/org.freedesktop.NetworkManager.AccessPoint.xml +++ b/introspection/org.freedesktop.NetworkManager.AccessPoint.xml @@ -79,6 +79,13 @@ --> + + +