Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
89791ac8
Commit
89791ac8
authored
Jan 15, 2021
by
herlesupreeth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NASMESH: support for kernel version >= 5.6.0
parent
228be922
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
openair2/NETWORK_DRIVER/LITE/device.c
openair2/NETWORK_DRIVER/LITE/device.c
+5
-1
openair2/NETWORK_DRIVER/MESH/device.c
openair2/NETWORK_DRIVER/MESH/device.c
+4
-0
openair2/NETWORK_DRIVER/UE_IP/device.c
openair2/NETWORK_DRIVER/UE_IP/device.c
+6
-1
No files found.
openair2/NETWORK_DRIVER/LITE/device.c
View file @
89791ac8
...
...
@@ -316,7 +316,11 @@ void oai_nw_drv_change_rx_flags(struct net_device *dev, int flags)
}
//---------------------------------------------------------------------------
void
oai_nw_drv_tx_timeout
(
struct
net_device
*
dev
)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
void
nas_tx_timeout
(
struct
net_device
*
dev
,
unsigned
int
txqueue
)
#else
void
nas_tx_timeout
(
struct
net_device
*
dev
)
#endif
{
//---------------------------------------------------------------------------
// Transmitter timeout, serious problems.
...
...
openair2/NETWORK_DRIVER/MESH/device.c
View file @
89791ac8
...
...
@@ -297,7 +297,11 @@ int nas_change_mtu(struct net_device *dev, int mtu)
}
//---------------------------------------------------------------------------
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
void
nas_tx_timeout
(
struct
net_device
*
dev
,
unsigned
int
txqueue
)
#else
void
nas_tx_timeout
(
struct
net_device
*
dev
)
#endif
{
//---------------------------------------------------------------------------
// Transmitter timeout, serious problems.
...
...
openair2/NETWORK_DRIVER/UE_IP/device.c
View file @
89791ac8
...
...
@@ -302,7 +302,12 @@ void ue_ip_change_rx_flags(struct net_device *dev_pP, int flagsP) {
}
//---------------------------------------------------------------------------
void
ue_ip_tx_timeout
(
struct
net_device
*
dev_pP
)
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
void
ue_ip_tx_timeout
(
struct
net_device
*
dev_pP
,
unsigned
int
txqueue
)
#else
void
ue_ip_tx_timeout
(
struct
net_device
*
dev_pP
)
#endif
{
//---------------------------------------------------------------------------
// Transmitter timeout, serious problems.
ue_ip_priv_t
*
priv_p
=
netdev_priv
(
dev_pP
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment