I installed the updated version on the platform which needs this patch.
After updating the packages, the platform can scan and connect to a WiFi
network correctly.

I also tried other amd64, armhf and arm64 platforms which don't require
the patch originally and their wifi device still work after upgrading.

$ dpkg -l |grep libnl
ii  libnl-3-200:armhf              3.4.0-1ubuntu0.1                  armhf      
  library for dealing with netlink sockets
ii  libnl-genl-3-200:armhf         3.4.0-1ubuntu0.1                  armhf      
  library for dealing with netlink sockets - generic netlink
ii  libnl-route-3-200:armhf        3.4.0-1ubuntu0.1                  armhf      
  library for dealing with netlink sockets - route interface

$ sudo netplan apply
$ ip a
  ...
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether dc:a6:32:37:fa:a7 brd ff:ff:ff:ff:ff:ff
    inet 10.102.138.56/22 brd 10.102.139.255 scope global dynamic wlan0
       valid_lft 600sec preferred_lft 600sec
    inet6 fe80::dea6:32ff:fe37:faa7/64 scope link 
       valid_lft forever preferred_lft forever

$ sudo ping -I wlan0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 10.102.138.56 wlan0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=10.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=5.64 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=5.73 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=6.09 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=6.98 ms


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

** Changed in: oem-priority/focal
       Status: New => Fix Committed

** Changed in: oem-priority/focal
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnl3 in Ubuntu.
https://bugs.launchpad.net/bugs/1998765

Title:
  libnl3 3.4.0 doesn't work with WCN3980

Status in OEM Priority Project:
  Fix Committed
Status in OEM Priority Project focal series:
  Fix Committed
Status in libnl3 package in Ubuntu:
  Fix Released
Status in libnl3 source package in Focal:
  Fix Committed
Status in libnl3 source package in Jammy:
  Invalid

Bug description:
  [ Impact ] 
  When testing Qualcomm qcs410 with WCN3980 with 20.04 and UC20, WCN3980 is not 
able connect to an AP.

  However, with the libnl3 (3.5.0) from BSP, WCN3980 can work correctly.

  After bisecting the commits from 3.4.0 to 3.5.0, this commit[1] is
  identified as the root cause.

  According to the commit, the "NLA_F_NESTED" flag should be set for
  kernel later than 5.2.

  [ Test Plan ]
  Verify with the updated version, the WIFI module can:
    1. scan WIFI networks
    2. connect to an available network
    3. access to the connected network

  [ Where problems could occur ]
  1. kernel versions without NLA_F_NESTED flag defined
    This flag is introduced before Linux kernel v5 (checked v3.x and v4.x have 
it). It would not be a problem for an older kernel to understand/work with this 
change. Since the GA kernel is 5.4, so a generic image would still work.

  2. Drivers don't use the NESTED flag.
    According to hui.wang's input, this change should not affect drivers which 
don't use the NESTED flag. But, it'd be better to cover more Wifi modules.

  [ Other Info ]
  22.04 is using libnl3 3.0.5-0.1, so only 20.04 needs this patch.

  
  [1] 
https://github.com/thom311/libnl/commit/7de65a051fb37ece16f896a7385073274b77a133

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1998765/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to