3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

test: update get-diagnostics with Rx/TxMode

This commit is contained in:
James Prestwood 2021-01-14 12:54:41 -08:00 committed by Denis Kenzior
parent 18e48a7997
commit a0aa6fecb4

View File

@ -8,8 +8,10 @@ import dbus
unit_map = {
"ConnectedBss" : None,
"RSSI" : "dBm",
"RxMode" : None,
"RxBitrate" : lambda k : str(100 * int(k)) + ' Kbps',
"RxMCS" : lambda i : str(int(i)),
"TxMode" : None,
"TxBitrate" : lambda k : str(100 * int(k)) + ' Kbps',
"TxMCS" : lambda i : str(int(i)),
"ExpectedThroughput" : "Kbps"