]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: rmnet: Move common struct definitions to include
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 22 May 2019 20:21:07 +0000 (14:21 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 16:48:07 +0000 (09:48 -0700)
commit60fec5114eda5112a3a927e5c2240b14d6f57df2
tree1a3fbf27d7130a4bf2d587d6e413096d9171fbac
parentb5d9af11348d98ee8f588bda9f8d593b048a9687
net: qualcomm: rmnet: Move common struct definitions to include

Create if_rmnet.h and move the rmnet MAP packet structs to this
common include file. To account for portablity, add little and
big endian bitfield definitions similar to the ip & tcp headers.

The definitions in the headers can now be re-used by the
upcoming ipa driver series as well as qmi_wwan.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h
include/linux/if_rmnet.h [new file with mode: 0644]