Commit Graph

7 Commits

Author SHA1 Message Date
Subash Abhinov Kasiviswanathan
358bbdb779 rmnet_core: add genl message for tether info
Add new generic netlink message for passing tether info.

CRs-Fixed: 2813607
Change-Id: Ic53de5d65efef78f3b2ed12cc51854635e439143
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2021-04-26 19:41:05 -06:00
Conner Huff
33c18a13cc rmnet_core: Enable datarmnet compilation for taro
Port and adjust code as needed to enable compilation
of rmnet_core.ko and rmnet_ctl.ko for taro.

Change-Id: I1ef4ea71115827f49dc3bd49aaf516eff91c2138
Signed-off-by: Conner Huff <chuff@codeaurora.org>
2021-01-13 17:56:10 -08:00
Subash Abhinov Kasiviswanathan
e20c17876f rmnet_core: memset before sending genl response
Ensure that the generic netlink response has a memset payload
before sending to userspace

Change-Id: Ie2fa92ce80bb3c0716e779cebeaedb2d31d759c1
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: Kaustubh Pandey <kapandey@codeaurora.org>
2021-01-07 12:17:10 -07:00
Subash Abhinov Kasiviswanathan
6c318682bc core: cleanup task boost list
Cleanup entries in the task boost list when the pid becomes inactive.

Change-Id: I0b1b2ef81cda470cd08b31ab4e78f81d346b9b70
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2020-05-20 15:43:25 -06:00
Sean Tranchetti
5fd6051c6c core: Update timespec API usage
Kernel code should now use the timespec64 struct instead of the older
struct timespec and its APIs.

Change-Id: I2792b637bf1054521e3f1ff7c82d1cdbf4f3adea
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
2020-04-02 15:20:45 -06:00
Conner Huff
609413920b core: Update netlink policy structure
Newer versions of kernel require attribute structs
to define lengths exactly.

Change-Id: I7195b4974cf18ff3b3cbeb4d2ed863ff97ab7b92
Acked-by: Ryan Chapman <rchapman@qti.qualcomm.com>
Signed-off-by: Conner Huff <chuff@codeaurora.org>
2020-03-11 16:57:08 -07:00
Sean Tranchetti
eeb4944964 core: rmnet: Fastforward to 4.19 tip
This brings the RmNet and DFC modules up to date with the 4.19 tip as of
commit 9b38611ea527 ("rmnet: Reduce synchronize_rcu calls").

As part of this, the rmnet_ctl driver was also incorporated, using commit
4ceee3aafb7d ("rmnet_ctl: Add IPC logging and optimizations")

Change-Id: Ic45d46074c7401dfed408c769cfb6462dac0d4ee
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
2020-01-23 13:31:14 -07:00