Commit b9cf4a0c authored by thomasl's avatar thomasl

fix ETHERNET driver compilation

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7270 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 8eee121e
...@@ -352,6 +352,9 @@ elseif (${RF_BOARD} STREQUAL "OAI_USRP") ...@@ -352,6 +352,9 @@ elseif (${RF_BOARD} STREQUAL "OAI_USRP")
elseif (${RF_BOARD} STREQUAL "ETHERNET") elseif (${RF_BOARD} STREQUAL "ETHERNET")
include_directories ("${OPENAIR_TARGETS}/ARCH/ETHERNET/USERSPACE/LIB") include_directories ("${OPENAIR_TARGETS}/ARCH/ETHERNET/USERSPACE/LIB")
set(HW_SOURCE ${HW_SOURCE}
${OPENAIR_TARGETS}/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
)
elseif (${RF_BOARD} STREQUAL "CPRIGW") elseif (${RF_BOARD} STREQUAL "CPRIGW")
set(HW_SOURCE ${HW_SOURCE} set(HW_SOURCE ${HW_SOURCE}
......
...@@ -2644,7 +2644,7 @@ int main( int argc, char **argv ) ...@@ -2644,7 +2644,7 @@ int main( int argc, char **argv )
#ifdef ETHERNET #ifdef ETHERNET
if (frame_parms[0]->N_RB_DL == 6) openair0_cfg[0].samples_per_packet = 256 if (frame_parms[0]->N_RB_DL == 6) openair0_cfg[0].samples_per_packet = 256;
else openair0_cfg[0].samples_per_packet = 1536; else openair0_cfg[0].samples_per_packet = 1536;
printf("HW: samples_per_packet %d\n",openair0_cfg[0].samples_per_packet); printf("HW: samples_per_packet %d\n",openair0_cfg[0].samples_per_packet);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment