doc: add Frequency to station diagnostics
PATCH 1/3 doc: add Frequency to station diagnostics
--- doc/station-diagnostic-api.txt | 2 ++ 1 file changed, 2 insertions(+)
doc/station-diagnostic-api.txt +2 -0
@@ -21,6 +21,8 @@ Methods dict GetDiagnostics() ConnectedBss - MAC address of currently connected BSS. + Frequency - Frequency of currently connected BSS. + RSSI [optional] - The RSSI of the currently connected BSS. RxMode [optional] - The phy technology being used
Signature · 1 line
2.26.2
PATCH 2/3 station: add Frequency to diagnostics dictionary
--- src/station.c | 2 ++ 1 file changed, 2 insertions(+)
src/station.c +2 -0
@@ -3557,6 +3557,8 @@ static void station_get_diagnostic_cb(dbus_append_dict_basic (builder,"ConnectedBss" ,'s' ,util_address_to_string (info->addr)); +dbus_append_dict_basic (builder,"Frequency" ,'u' , + &station->connected_bss->frequency);diagnostic_info_to_dict (info, builder);
Signature · 1 line
2.26.2
PATCH 3/3 client: add Frequency to station show
In reply to James Prestwood--- client/diagnostic.c | 1 + 1 file changed, 1 insertion(+)
client/diagnostic.c +1 -0
@@ -87,6 +87,7 @@ static const struct diagnostic_dict_mapping diagnostic_mapping[] = { { "RSSI", 'n', "dBm" }, { "RxMCS", 'y' }, { "TxMCS", 'y' }, + { "Frequency", 'u' }, { NULL } };
Signature · 1 line
2.26.2
Hi James,
Quoted 4 lines · James Prestwood
--- doc/station-diagnostic-api.txt | 2 ++ 1 file changed, 2 insertions(+)
All applied, thanks.
Regards,
-Denis