Search Linux Wireless

Re: rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/23/2016 07:16 AM, Jean Delvare wrote:
Hi Larry,

On Thu, 22 Sep 2016 10:09:58 -0500, Larry Finger wrote:
Do you build your own kernel, or are you using openSUSE's supplied version? If
the latter, I will need to think how we might debug the issue. If the former,
please add the attached patch.

Lost network this morning, but no error message. We restarted the
network service, things were back up and the error message was logged
then:

rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case 92 not processed

So I think this is happening when the interface is put down, and is
probably not related with the loss of connectivity. But it would be
good to understand and fix it nevertheless.

92 is HAL_DEF_WOWLAN. I see it is handled differently in 2 other
rtlwifi drivers: rtl8192cu ignores it, while rtl8821ae processes it:

	case HAL_DEF_WOWLAN:
		if (ppsc->wo_wlan_mode)
			*((bool *)(val)) = true;
		else
			*((bool *)(val)) = false;
		break;

I don't know what is the appropriate course of action in the case of
the rtl8192ce. Let me know if you need anything else from me.

As the RTL8192CE does not support WOWLAN, the correct response is to ignore that call. Clearly, it has nothing to do with your network drops. One thing you might do is add the appropriate file in /etc/modprobe.d/ so that the module is loaded with the "ips=0" option to see if power save is messing up.

I am in the process of fixing all the instances where the log entry for the default case does not output the switch variable. With these patches, I will also handle the HAL_DEF_WOWLAN case.

I'm sorry about my original comments regarding patching the kernel. I sent that E-mail before I even read your name and address. As a long-time openSUSE user, I certainly recognize your name and your abilities.

Larry





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux