msm: ipa: IPA_5.5 kernel tests update

Add support for IPA_5.5 in kernel tests.

Change-Id: I448936055c84d6e38f886becfba372627fb37147
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This commit is contained in:
Chaitanya Pratapa
2021-08-30 13:26:03 -07:00
committed by Gerrit - the friendly Code Review server
parent 2f1d80c7b8
commit 7ae30f4367
3 changed files with 57 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ using namespace std;
extern Logger g_Logger;
static uint8_t IPv4Packet[IP4_PACKET_SIZE] = {
0x45, 0x00, 0x00, 0x2e,
0x45, 0x00, 0x00, 0x29,
0x00, 0x00, 0x40, 0x00,
0xff, 0x06, 0xf5, 0xfd,// Protocol = 06 (TCP)
0xc0, 0xa8, 0x02, 0x13,// IPv4 SRC Addr 192.168.2.19
@@ -89,7 +89,7 @@ static uint8_t IPv6Packet[] = {
static uint8_t IPv6PacketFragExtHdr[] = {
0x60, 0x00, 0x00, 0x00,
0x00, 0x0c, 0x2C, 0x01, // Next header = FRAGMENT HEADER(44)
0x00, 0x24, 0x2C, 0x01, // Next header = FRAGMENT HEADER(44)
0xfe, 0x80, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0xd9, 0xf9, 0xce, 0x5e,
@@ -240,7 +240,7 @@ static const uint8_t Eth2IPv4Packet802_1Q_tag[] =
0x81, 0x00, 0x20, 0x03, // 802.1Q header with VLAN ID = 3
0x08, 0x00, // ETH2 TYPE IPv4 - ETH_P_IP 0x0800
// IPv4
0x45, 0x00, 0x00, 0x2e,
0x45, 0x00, 0x00, 0x29,
0x00, 0x00, 0x40, 0x00,
0xff, 0x06, 0xf5, 0xfd, // Protocol = 06 (TCP)
0xc0, 0xa8, 0x02, 0x13, // IPv4 SRC Addr 192.168.2.19