Commit a19c464a authored by Janusz Dziedzic's avatar Janusz Dziedzic
Browse files

show station estimated tx/rx throughput


Signed-off-by: Janusz Dziedzic's avatarJanusz Dziedzic <janusz.dziedzic@iopsys.eu>
parent 6b1f24c9
Pipeline #30628 passed with stages
in 1 minute and 20 seconds
......@@ -1509,6 +1509,8 @@ static int wl_dump_stations(struct blob_buf *bb, const char *ifname,
blobmsg_add_u32(bb, "maxrate", sx.maxrate);
blobmsg_add_u32(bb, "nss", sx.rate.m.nss);
blobmsg_add_u32(bb, "bandwidth", bw_int[sx.rate.m.bw]);
blobmsg_add_u32(bb, "est_rx_thput", sx.est_rx_thput);
blobmsg_add_u32(bb, "est_tx_thput", sx.est_tx_thput);
s = blobmsg_open_table(bb, "status");
blobmsg_add_u8(bb, "wmm",
......@@ -3397,6 +3399,8 @@ static int wl_sta_status(struct ubus_context *ctx, struct ubus_object *obj,
blobmsg_add_u32(&bb, "airtime", sta.airtime);
blobmsg_add_u32(&bb, "maxrate", sta.maxrate);
blobmsg_add_u32(&bb, "tx_throughput", sta.tx_thput);
blobmsg_add_u32(&bb, "est_rx_thput", sta.est_rx_thput);
blobmsg_add_u32(&bb, "est_tx_thput", sta.est_tx_thput);
t = blobmsg_open_table(&bb, "status");
blobmsg_add_u8(&bb, "wmm",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment