David Mosberger-Tang <davidm@xxxxxxxxxx> wrote: > For CMD_SINGLE_READ and CMD_INTERNAL_READ, WILC may insert one or more > zero bytes between the command response and the DATA Start tag (0xf3). > This behavior appears to be undocumented in "ATWILC1000 USER GUIDE" > (https://tinyurl.com/4hhshdts) but we have observed 1-4 zero bytes > when the SPI bus operates at 48MHz and none when it operates at 1MHz. > > This code is derived from the equivalent code of the wilc driver in > the linux-at91 repository. > > Signed-off-by: David Mosberger-Tang <davidm@xxxxxxxxxx> 4 patches applied to wireless-drivers-next.git, thanks. f2131fa516b8 wilc1000: Make SPI transfers work at 48MHz 5ee2d9dd73fc wilc1000: Introduce symbolic names for SPI protocol register ce3b933832b6 wilc1000: Check for errors at end of DMA write c872e7ae056f wilc1000: Add support for enabling CRC -- https://patchwork.kernel.org/project/linux-wireless/patch/20210227172818.1711071-1-davidm@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches