Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 23:36:11 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354505 - head/sys/dev/iwm
Message-ID:  <201911072336.xA7NaBbd073959@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Nov  7 23:36:10 2019
New Revision: 354505
URL: https://svnweb.freebsd.org/changeset/base/354505

Log:
  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

Modified:
  head/sys/dev/iwm/if_iwm_9000.c
  head/sys/dev/iwm/if_iwm_9260.c
  head/sys/dev/iwm/if_iwm_config.h

Modified: head/sys/dev/iwm/if_iwm_9000.c
==============================================================================
--- head/sys/dev/iwm/if_iwm_9000.c	Thu Nov  7 23:35:54 2019	(r354504)
+++ head/sys/dev/iwm/if_iwm_9000.c	Thu Nov  7 23:36:10 2019	(r354505)
@@ -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,
 };

Modified: head/sys/dev/iwm/if_iwm_9260.c
==============================================================================
--- head/sys/dev/iwm/if_iwm_9260.c	Thu Nov  7 23:35:54 2019	(r354504)
+++ head/sys/dev/iwm/if_iwm_9260.c	Thu Nov  7 23:36:10 2019	(r354505)
@@ -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,
 };

Modified: head/sys/dev/iwm/if_iwm_config.h
==============================================================================
--- head/sys/dev/iwm/if_iwm_config.h	Thu Nov  7 23:35:54 2019	(r354504)
+++ head/sys/dev/iwm/if_iwm_config.h	Thu Nov  7 23:36:10 2019	(r354505)
@@ -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;
 };
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911072336.xA7NaBbd073959>