Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility with kernel 5.4+ / Ubuntu 20.04 #15

Open
wants to merge 5 commits into
base: caf-wlan/LNX.LEH.4.2.2.2
Choose a base branch
from

Conversation

FrauBluher
Copy link

Pulled in changes to qcacld-2.0 which enable the blue bean to work on a fresh Ubuntu 20.04 (Kernel 5.4.0) installation using the same build / install / insmod process described in the current docs.

Tested on a fresh Ubuntu 20.04 installation on a Lenovo Thinkpad P1 Gen2.

@FrauBluher FrauBluher changed the title Add compatibility with kernal 5.4+ / Ubuntu 20.04 Add compatibility with kernel 5.4+ / Ubuntu 20.04 Aug 18, 2020
return tv.tv_sec*1000 + tv.tv_usec/1000;
struct timespec64 ts;
ktime_get_ts64(&ts);
return ts.tv_nsec/1000000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

     return ts.tv_sec*1000 + ts.tv_nsec/1000000;

it supposed to return system time in ms. tv_nsec just holds seconds fractions (in ns)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants