3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +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 = { unit_map = {
"ConnectedBss" : None, "ConnectedBss" : None,
"RSSI" : "dBm", "RSSI" : "dBm",
"RxMode" : None,
"RxBitrate" : lambda k : str(100 * int(k)) + ' Kbps', "RxBitrate" : lambda k : str(100 * int(k)) + ' Kbps',
"RxMCS" : lambda i : str(int(i)), "RxMCS" : lambda i : str(int(i)),
"TxMode" : None,
"TxBitrate" : lambda k : str(100 * int(k)) + ' Kbps', "TxBitrate" : lambda k : str(100 * int(k)) + ' Kbps',
"TxMCS" : lambda i : str(int(i)), "TxMCS" : lambda i : str(int(i)),
"ExpectedThroughput" : "Kbps" "ExpectedThroughput" : "Kbps"