Browse Source

rtlwifi: make MSI support a module parameter

This makes MSI support a module parameter, for debugging and workaround
convenience.

Signed-off-by: Adam Lee <adam.lee@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Adam Lee 11 năm trước cách đây
mục cha
commit
73070c45d5

+ 4 - 0
drivers/net/wireless/rtlwifi/wifi.h

@@ -2030,6 +2030,10 @@ struct rtl_mod_params {
 
 
 	/* default: 1 = using linked fw power save */
 	/* default: 1 = using linked fw power save */
 	bool fwctrl_lps;
 	bool fwctrl_lps;
+
+	/* default: 0 = not using MSI interrupts mode */
+	/* submodules should set their own defalut value */
+	bool msi_support;
 };
 };
 
 
 struct rtl_hal_usbint_cfg {
 struct rtl_hal_usbint_cfg {