forked from ChimeraOS/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wwan: add interface creation support
Add support to create (and destroy) interfaces via a new rtnetlink kind "wwan". The responsible driver has to use the new wwan_register_ops() to make this possible. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Sergey Ryazanov <[email protected]> Signed-off-by: Loic Poulain <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
1 parent
00e77ed
commit 88b7105
Showing
4 changed files
with
279 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ | ||
/* | ||
* Copyright (C) 2021 Intel Corporation. | ||
*/ | ||
#ifndef _UAPI_WWAN_H_ | ||
#define _UAPI_WWAN_H_ | ||
|
||
enum { | ||
IFLA_WWAN_UNSPEC, | ||
IFLA_WWAN_LINK_ID, /* u32 */ | ||
|
||
__IFLA_WWAN_MAX | ||
}; | ||
#define IFLA_WWAN_MAX (__IFLA_WWAN_MAX - 1) | ||
|
||
#endif /* _UAPI_WWAN_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters