projects
/
project
/
iwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hardware: add device ids for QCA9984, 88W8887 and 88W8964 radios
[project/iwinfo.git]
/
iwinfo_lua.c
diff --git
a/iwinfo_lua.c
b/iwinfo_lua.c
index
1421111
..
eebab8e
100644
(file)
--- a/
iwinfo_lua.c
+++ b/
iwinfo_lua.c
@@
-328,6
+328,11
@@
static int iwinfo_L_assoclist(lua_State *L, int (*func)(const char *, char *, in
set_rateinfo(L, &e->rx_rate, true);
set_rateinfo(L, &e->tx_rate, false);
+ if (e->thr) {
+ lua_pushnumber(L, e->thr);
+ lua_setfield(L, -2, "expected_throughput");
+ }
+
lua_setfield(L, -2, macstr);
}
}