iwm: Define the mqrx_supported capability.

The firmware for 9000-series and newer devices has a different receive
API which supports multiple queues.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2019-11-07 23:36:10 +00:00
parent 5b3b7a2df1
commit 1809534a1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354505
3 changed files with 12 additions and 7 deletions

View File

@ -92,4 +92,6 @@ const struct iwm_cfg iwm9560_cfg = {
.fw_name = IWM9000_FW,
IWM_DEVICE_9000_COMMON,
.host_interrupt_operation_mode = 0,
.mqrx_supported = 1,
.integrated = 1,
};

View File

@ -92,4 +92,5 @@ const struct iwm_cfg iwm9260_cfg = {
.fw_name = IWM9260_FW,
IWM_DEVICE_9260_COMMON,
.host_interrupt_operation_mode = 0,
.mqrx_supported = 1,
};

View File

@ -131,13 +131,15 @@ enum iwm_nvm_type {
*/
struct iwm_cfg {
const char *name;
const char *fw_name;
uint16_t eeprom_size;
enum iwm_device_family device_family;
int host_interrupt_operation_mode;
uint8_t nvm_hw_section_num;
int apmg_wake_up_wa;
enum iwm_nvm_type nvm_type;
const char *fw_name;
uint16_t eeprom_size;
enum iwm_device_family device_family;
int host_interrupt_operation_mode;
int mqrx_supported;
int integrated;
uint8_t nvm_hw_section_num;
int apmg_wake_up_wa;
enum iwm_nvm_type nvm_type;
};
/*