Increase iwx(4) firmware command queue size. Otherwise, the firmware will eventually send spurious "command done" notifications for commands which were completed successfully earlier (which looks like a ring overflow) and then crash with a fatal error.
This is required to get -48 firmware to work without fatal firmware errors. ok? diff 593cf89bed2f9f27ccf55d4cebf8aa65c36c7bb1 047e3a7211742260b7a9097053380f87b72b3eae blob - d6c823fe64ce7509e69c5b4ec20fdfa8681cfb2d blob + 7781f264940a4444644deff624a05a3b9ce2b65d --- sys/dev/pci/if_iwxreg.h +++ sys/dev/pci/if_iwxreg.h @@ -1402,7 +1402,7 @@ enum iwx_gen2_tx_fifo { #define IWX_TX_QUEUE_CFG_TFD_SHORT_FORMAT (1 << 1) #define IWX_DEFAULT_QUEUE_SIZE IWX_TFD_QUEUE_SIZE_MAX -#define IWX_CMD_QUEUE_SIZE 32 +#define IWX_CMD_QUEUE_SIZE 64 /** * struct iwx_tx_queue_cfg_cmd - txq hw scheduler config command