diff options
author | Daniel Danzberger <daniel@dd-wrt.com> | 2019-02-18 22:35:07 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-05 19:51:54 +0100 |
commit | d610800a0f483a0f4af58f08bc4ac84c4ba3e07e (patch) | |
tree | 29297049068d21c6e863ffbab8202ff9c704babd | |
parent | 6939c493cc4d7ed96ddac83fd7222c8867e74a53 (diff) | |
download | rpcd-d610800a0f483a0f4af58f08bc4ac84c4ba3e07e.tar.gz |
iwinfo: add mesh infos in assoclist.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
-rw-r--r-- | iwinfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -470,6 +470,13 @@ rpc_iwinfo_assoclist(struct ubus_context *ctx, struct ubus_object *obj, blobmsg_add_u8(&buf, "mfp", a->is_mfp); blobmsg_add_u8(&buf, "tdls", a->is_tdls); + blobmsg_add_u16(&buf, "mesh llid", a->llid); + blobmsg_add_u16(&buf, "mesh plid", a->plid); + blobmsg_add_string(&buf, "mesh plink", a->plink_state); + blobmsg_add_string(&buf, "mesh local PS", a->local_ps); + blobmsg_add_string(&buf, "mesh peer PS", a->peer_ps); + blobmsg_add_string(&buf, "mesh non-peer PS", a->nonpeer_ps); + e = blobmsg_open_table(&buf, "rx"); blobmsg_add_u64(&buf, "drop_misc", a->rx_drop_misc); blobmsg_add_u32(&buf, "packets", a->rx_packets); |