8 ATWILC SPI CRC Support
For the SPI kernel module, the module parameter can enable the CRC check for the SPI bus communication. The driver supports enabling Command (CRC7) and Data (CRC16) CRC check.
enable_crc7: module parameter enables Command CRC check.
enable_crc16: module parameter enables Data CRC check.
Note: By default both the Command and
Data CRC are disabled
Below is the example on how to enable the Command and Data CRC check for the SPI during
module loading.
modprob wilc-spi enable_crc7=1 enable_crc16=1