• Shahar Levi's avatar
    wl12xx: 1281/1283 support - Add acx commands · 48a61477
    Shahar Levi authored
    New acx command that sets: Rx fifo enable reduced bus transactions
    in RX path. Tx bus transactions padding to SDIO block size that
    improve preference in Tx and essential for working with SDIO HS (48Mhz).
    The max SDIO block size is 256 when working with Tx bus transactions
    padding to SDIO block.
    
    Add new ops to SDIO & SPI that handles the win size change in case of
    transactions padding (relevant only for SDIO).
    
    [Fix endianess issues; simplify sdio-specific block_size handling;
    minor changes in comments; use "aligned_len" in one calculation
    instead of "pad" to avoid confusion -- Luca]
    Signed-off-by: default avatarShahar Levi <shahar_levi@ti.com>
    Reviewed-by: default avatarLuciano Coelho <coelho@ti.com>
    Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
    48a61477
acx.c 34 KB