libnl3 3.4.0 doesn't work with WCN3980
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OEM Priority Project | Status tracked in Focal | |||||
Focal |
Fix Committed
|
High
|
Robert Liu | |||
libnl3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
Focal |
Fix Released
|
Undecided
|
Unassigned | |||
Jammy |
Invalid
|
Undecided
|
Unassigned |
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:/
tags: | added: orignate-from-lp1998578 |
tags: | added: oem-priority |
description: | updated |
Changed in libnl3 (Ubuntu): | |
status: | New → Fix Released |
Changed in libnl3 (Ubuntu Jammy): | |
status: | New → Invalid |
I made a test build (debdiff attached) and tried it on the target device. This version works correctly.