projects
/
project
/
uqmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320675a
)
Add missing option for getting tdma signal strength
author
Sławomir Demeszko
<s.demeszko@wireless-instruments.com>
Thu, 8 Jan 2015 14:15:40 +0000
(15:15 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 8 Jan 2015 14:37:13 +0000
(15:37 +0100)
Signed-off-by: SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com>
commands-nas.c
patch
|
blob
|
history
diff --git
a/commands-nas.c
b/commands-nas.c
index be06ee4ff59ad0c2f3c9ef4b858881a467a184e6..831e3f42290615862235bf20abc412a4593ec75f 100644
(file)
--- a/
commands-nas.c
+++ b/
commands-nas.c
@@
-152,6
+152,11
@@
cmd_nas_get_signal_info_cb(struct qmi_dev *qmi, struct qmi_request *req, struct
blobmsg_add_u32(&status, "snr", (int32_t) res.data.lte_signal_strength.snr);
}
+ if (res.set.tdma_signal_strength) {
+ blobmsg_add_string(&status, "type", "tdma");
+ blobmsg_add_u32(&status, "signal", (int32_t) res.data.tdma_signal_strength);
+ }
+
blobmsg_close_table(&status, c);
}