net: tests: 15.4: Increase max data size and fix config option

Test with max data in order to test the fragmentation code better.

Change-Id: I301a96eae1dd637f0291354120389c2bd7575695
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
Ravi kumar Veeramally 2017-02-07 13:05:42 +02:00 committed by Jukka Rissanen
commit 70f7922cee
2 changed files with 3 additions and 3 deletions

View file

@ -18,5 +18,5 @@ CONFIG_SYS_LOG_SHOW_COLOR=y
CONFIG_NET_DEBUG_IF=y CONFIG_NET_DEBUG_IF=y
CONFIG_NET_DEBUG_CORE=y CONFIG_NET_DEBUG_CORE=y
CONFIG_NET_6LO_DEBUG=n CONFIG_NET_6LO_DEBUG=n
CONFIG_NET_L2_IEEE802154_FRAGMENT_DEBUG=y CONFIG_NET_DEBUG_L2_IEEE802154_FRAGMENT=y
CONFIG_NET_DEBUG_NET_BUF=n CONFIG_NET_DEBUG_NET_BUF=n

View file

@ -376,7 +376,7 @@ static struct net_fragment_data test_data_6 = {
.udp.dst_port = htons(udp_dst_port_8bit), .udp.dst_port = htons(udp_dst_port_8bit),
.udp.len = 0x00, .udp.len = 0x00,
.udp.chksum = 0x00, .udp.chksum = 0x00,
.len = 900, .len = 1200,
.iphc = true .iphc = true
}; };
@ -410,7 +410,7 @@ static struct net_fragment_data test_data_8 = {
.udp.dst_port = htons(udp_dst_port_16bit), .udp.dst_port = htons(udp_dst_port_16bit),
.udp.len = 0x00, .udp.len = 0x00,
.udp.chksum = 0x00, .udp.chksum = 0x00,
.len = 800, .len = 1200,
.iphc = false .iphc = false
}; };