Hi,

I try to get the number of bad packets or any other number of packets that have to be retransmitted. I tried this via the wl_ioctl-function call
"WLC_GET_PKTCNTS", but I've got no clue what the function actually returns and where.


    if (wl_ioctl(ifname, WLC_GET_PKTCNTS, test, sizeof(test)) < 0) {
        printf("count_value_error");
        return 3;
    }

As far as I understood "test" is a kind of buffer which I use for input (MAC_ADDRESS) and output but because the input is char I can't figure out how to get the result to look like get_pktcnt, so that I can withdraw all the numbers of that struct.

CYA, Christian