Compare commits

...

1 Commits

Author SHA1 Message Date
Damodar D
5bd9e3739c Commiting the 4G dpdk driver for the stable UL and correct time offset in the FH. 2021-04-02 08:43:45 +01:00

View File

@@ -224,7 +224,7 @@ l2fwd_simple_forward(struct rte_mbuf *m, unsigned portid, benetel_t *bs)
}
#endif
// Trigger start send DL packets
if(PAYLOAD_1 == 0x12 && PAYLOAD_2 == 0xce && SYMBOL == 0x09 && ANT_NUM == 0x00 && dl_start == 0){
if(PAYLOAD_1 == 0x12 && PAYLOAD_2 == 0xce && SYMBOL == 0x08 && ANT_NUM == 0x00 && dl_start == 0){
printf("\nU-Plane Started\n");
printf("\n====================================================\n");
@@ -249,7 +249,7 @@ l2fwd_simple_forward(struct rte_mbuf *m, unsigned portid, benetel_t *bs)
int a = ANT_NUM;
int tx_frame = FRAME;
int tx_subframe = SUBFRAME >> 4;
int tx_symbol = SYMBOL + 5;
int tx_symbol = SYMBOL + 6;
if (tx_symbol > 13) {
tx_symbol -= 14;
tx_subframe++;