OpenCloudOS-Kernel/drivers/net/wwan
Sergey Ryazanov 6994092403 wwan: core: add WWAN common private data for netdev
The WWAN core not only multiplex the netdev configuration data, but
process it too, and needs some space to store its private data
associated with the netdev. Add a structure to keep common WWAN core
data. The structure will be stored inside the netdev private data before
WWAN driver private data and have a field to make it easier to access
the driver data. Also add a helper function that simplifies drivers
access to their data.

At the moment we use the common WWAN private data to store the WWAN data
link (channel) id at the time the link is created, and report it back to
user using the .fill_info() RTNL callback. This should help the user to
be aware which network interface is bound to which WWAN device data
channel.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
CC: M Chetan Kumar <m.chetan.kumar@intel.com>
CC: Intel Corporation <linuxwwan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-22 10:01:17 -07:00
..
iosm wwan: core: add WWAN common private data for netdev 2021-06-22 10:01:17 -07:00
Kconfig net: wwan: Add RPMSG WWAN CTRL driver 2021-06-18 13:13:40 -07:00
Makefile net: wwan: Add RPMSG WWAN CTRL driver 2021-06-18 13:13:40 -07:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Fix RX buffer starvation 2021-04-20 17:13:43 -07:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c wwan: core: add WWAN common private data for netdev 2021-06-22 10:01:17 -07:00
wwan_hwsim.c wwan: core: support default netdev creation 2021-06-22 10:01:16 -07:00