Commit 10de0f1a authored by Anjan Chanda's avatar Anjan Chanda

show max txpower in opclass info

parent 20170130
Pipeline #925 passed with stages
in 1 minute and 51 seconds
......@@ -564,6 +564,7 @@ int wl_radio_status(struct ubus_context *ctx, struct ubus_object *obj,
d = blobmsg_open_table(&bb, "");
blobmsg_add_u32(&bb, "opclass", supp_opclass[i].g_opclass);
blobmsg_add_u32(&bb, "bandwidth", bw_int[supp_opclass[i].bw]);
blobmsg_add_u32(&bb, "txpower", supp_opclass[i].opchannel.txpower);
dd = blobmsg_open_array(&bb, "channels");
for (j = 0; j < supp_opclass[i].opchannel.num; j++)
blobmsg_add_u32(&bb, "", supp_opclass[i].opchannel.ch[j]);
......
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