From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 231FAC43603 for ; Thu, 5 Dec 2019 18:34:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2C6222525 for ; Thu, 5 Dec 2019 18:34:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729187AbfLESeh (ORCPT ); Thu, 5 Dec 2019 13:34:37 -0500 Received: from wp063.webpack.hosteurope.de ([80.237.132.70]:38224 "EHLO wp063.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbfLESeh (ORCPT ); Thu, 5 Dec 2019 13:34:37 -0500 Received: from processor.work ([89.163.132.190] helo=webmail.richenhagen.gl); authenticated by wp063.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1icvxR-0002s0-R5; Thu, 05 Dec 2019 19:34:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 05 Dec 2019 19:34:33 +0100 From: To: Kalle Valo Cc: Tony Chuang , linux-wireless@vger.kernel.org Subject: Re: RTL8822CE IPv6 autoconfiguration not working In-Reply-To: <0101016ed53008cc-fedb047e-381d-46da-b972-ac7bc84056a3-000000@us-west-2.amazonses.com> References: <0101016ed53008cc-fedb047e-381d-46da-b972-ac7bc84056a3-000000@us-west-2.amazonses.com> User-Agent: Roundcube Webmail/1.4.0 Message-ID: <7c0fc01aff5ad6bc7d65eeea50709a73@jusic.net> X-Sender: linux@jusic.net X-bounce-key: webpack.hosteurope.de;linux@jusic.net;1575570875;6896fd7b; X-HE-SMSGID: 1icvxR-0002s0-R5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Am 2019-12-05 09:32, schrieb Kalle Valo: > Tony Chuang writes: > >>> Subject: RTL8822CE IPv6 autoconfiguration not working >>> >>> Hello, >>> >>> I just bought a new laptop with an Realtek RTL8822CE wireless card >>> buildin. I'm using NetworkManager with its internal DHCP client. I >>> have >>> working IPv6 autoconfiguration support in my home network with 7 >>> devices >>> with different operating systems. When I plug a USB network card into >>> the laptop IPv6 is configured sucessfully. But with the wireless card >>> IPv6 autoconfiguration doesn't work. When I manually add an IPv6 with >>> "sudo ip -6 addr add
/64 dev wlp1s0" I can ping IPv6 >>> targets. >>> So there seems to be an bug either in the driver or maybe in >>> NetworkManager which prevents autoconfiguration from working, can >>> sombody look into this? I'm glad to help and provide further >>> informations or test things out. >>> >>> Kind Regards >>> Joshua >>> >>> >>> ip addr >>> 1: lo: mtu 65536 qdisc noqueue state >>> UNKNOWN >>> group default qlen 1000 >>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 >>> inet 127.0.0.1/8 scope host lo >>> valid_lft forever preferred_lft forever >>> inet6 ::1/128 scope host >>> valid_lft forever preferred_lft forever >>> 2: wlp1s0: mtu 1500 qdisc mq >>> state UP >>> group default qlen 1000 >>> link/ether 40:5b:d8:1a:7a:a9 brd ff:ff:ff:ff:ff:ff >>> inet 192.168.178.25/24 brd 192.168.178.255 scope global dynamic >>> noprefixroute wlp1s0 >>> valid_lft 863798sec preferred_lft 863798sec >>> inet6 fe80::1b8b:8c3a:b569:a882/64 scope link noprefixroute >>> valid_lft forever preferred_lft forever >>> >>> lspci -v >>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device >>> c822 >>> Subsystem: Electronics & Telecommunications RSH Device 1e25 >>> Flags: bus master, fast devsel, latency 0, IRQ 71 >>> I/O ports at 2000 [size=256] >>> Memory at c0700000 (64-bit, non-prefetchable) [size=64K] >>> Capabilities: >>> Kernel driver in use: rtw_pci >>> Kernel modules: rtwpci >>> >> >> I am not sure if this is driver-related problem, but I think you can >> try to >> tcpdump and see where the autoconfiguration failed. >> And I am not an expert of IPv6, but if there is any issue with the >> driver I >> can help you. > > My first guess would be some kind of multicast problem with power save > mode. I would first try disabling the power save mode on the driver and > see if that helps. Disable power save with iw: iw dev wlp1s0 get power_save Power save: off or in tlp: # WiFi power saving mode: on=enable, off=disable; not supported by all adapters. # Default: WIFI_PWR_ON_AC=off WIFI_PWR_ON_BAT=off or on NetworkManager: # File to be place under /etc/NetworkManager/conf.d [connection] # Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable). wifi.powersave = 2 Did not help, where else could this be configured?