• A
    wlcore/wl12xx/18xx: split fw_status struct into two · 0afd04e5
    Arik Nemtsov 提交于
    The number of RX packet descriptors may vary from chip to chip and
    in different firmware versions.  Unfortunately, the array that
    contains the actual descriptors is in the middle of the fw_status
    structure.  To manage this, we split the struct into two so we can
    calculate the offset of what comes after the array and access the last
    elements more easily.
    
    [Changed the STATUS_LEN macro to be placement agnostic - Arik]
    Signed-off-by: NLuciano Coelho <coelho@ti.com>
    Signed-off-by: NArik Nemtsov <arik@wizery.com>
    0afd04e5
main.c 132.1 KB