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
534f6bec
Commit
534f6bec
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
476b1a93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
openair2/NETWORK_DRIVER/LITE/device.c
openair2/NETWORK_DRIVER/LITE/device.c
+6
-1
openair2/NETWORK_DRIVER/MESH/device.c
openair2/NETWORK_DRIVER/MESH/device.c
+5
-0
openair2/NETWORK_DRIVER/UE_IP/device.c
openair2/NETWORK_DRIVER/UE_IP/device.c
+7
-1
No files found.
openair2/NETWORK_DRIVER/LITE/device.c
View file @
534f6bec
...
@@ -315,8 +315,13 @@ void oai_nw_drv_change_rx_flags(struct net_device *dev, int flags)
...
@@ -315,8 +315,13 @@ void oai_nw_drv_change_rx_flags(struct net_device *dev, int flags)
priv
->
rx_flags
^=
flags
;
priv
->
rx_flags
^=
flags
;
}
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
oai_nw_drv_tx_timeout
(
struct
net_device
*
dev
)
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.
// Transmitter timeout, serious problems.
...
...
openair2/NETWORK_DRIVER/MESH/device.c
View file @
534f6bec
...
@@ -296,8 +296,13 @@ int nas_change_mtu(struct net_device *dev, int mtu)
...
@@ -296,8 +296,13 @@ int nas_change_mtu(struct net_device *dev, int mtu)
return
0
;
return
0
;
}
}
#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
)
void
nas_tx_timeout
(
struct
net_device
*
dev
)
#endif
{
{
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Transmitter timeout, serious problems.
// Transmitter timeout, serious problems.
...
...
openair2/NETWORK_DRIVER/UE_IP/device.c
View file @
534f6bec
...
@@ -301,8 +301,14 @@ void ue_ip_change_rx_flags(struct net_device *dev_pP, int flagsP) {
...
@@ -301,8 +301,14 @@ void ue_ip_change_rx_flags(struct net_device *dev_pP, int flagsP) {
priv_p
->
rx_flags
^=
flagsP
;
priv_p
->
rx_flags
^=
flagsP
;
}
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
ue_ip_tx_timeout
(
struct
net_device
*
dev_pP
)
{
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.
// Transmitter timeout, serious problems.
ue_ip_priv_t
*
priv_p
=
netdev_priv
(
dev_pP
);
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