Commit 60e12e7b authored by Anjan Chanda's avatar Anjan Chanda

add max mpdu length in capabilities dump

parent 35062c23
......@@ -395,6 +395,14 @@ static void wl_dump_capabilities(struct blob_buf *bb, struct wifi_caps *caps, ui
blobmsg_add_u8(bb, "11ac", true);
blobmsg_add_u8(bb, "11ac_160", wifi_cap_isset(bitmap, WIFI_CAP_160) ? true : false);
blobmsg_add_u8(bb, "11ac_8080", wifi_cap_isset(bitmap, WIFI_CAP_8080) ? true : false);
if (wifi_cap_isset(bitmap, WIFI_CAP_VHT_MPDU_11454))
blobmsg_add_u32(bb, "11ac_mpdu_max", 11454);
else if (wifi_cap_isset(bitmap, WIFI_CAP_VHT_MPDU_7991))
blobmsg_add_u32(bb, "11ac_mpdu_max", 7991);
else if (wifi_cap_isset(bitmap, WIFI_CAP_VHT_MPDU_3895))
blobmsg_add_u32(bb, "11ac_mpdu_max", 3895);
blobmsg_add_u8(bb, "11ac_sgi80", wifi_cap_isset(bitmap, WIFI_CAP_SGI80) ? true : false);
blobmsg_add_u8(bb, "11ac_sgi160", wifi_cap_isset(bitmap, WIFI_CAP_SGI160) ? true : false);
blobmsg_add_u8(bb, "11ac_rx_ldpc", wifi_cap_isset(bitmap, WIFI_CAP_VHT_RX_LDPC) ? true : false);
blobmsg_add_u8(bb, "11ac_tx_stbc", wifi_cap_isset(bitmap, WIFI_CAP_VHT_TX_STBC) ? true : false);
blobmsg_add_u8(bb, "11ac_rx_stbc_1ss", wifi_cap_isset(bitmap, WIFI_CAP_VHT_RX_STBC_1SS) ? true : false);
......
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