diff --git a/configs/clicker2-stm32/README.txt b/configs/clicker2-stm32/README.txt index 679e95effe0..ae090f760c5 100644 --- a/configs/clicker2-stm32/README.txt +++ b/configs/clicker2-stm32/README.txt @@ -508,10 +508,16 @@ Configurations other configurations (see text matrix below). 2017-06-23: Added test for TCP functionality. As of yet unverified. + 2017-06-24: There are significant problems with the 6LoWPAN TCP send logic. A major redesign was done to better handle ACKs and - retransmissions, and to work with TCP dynamic windowing. Current - hangs because ACKs are not received. + retransmissions, and to work with TCP dynamic windowing. + + 2017-05-25: TCP w/HC06 currently sends on packet than hangs. That + one packet is 1220 bytes long (of 4096 byte total message length). + It is received by the server application correctly. The hang is + probably due to remaining ACK-related problems. One retransmission + is recorded in network stastics. Test Matrix: The following configurations have been tested: diff --git a/configs/sim/README.txt b/configs/sim/README.txt index 6183b452bf5..c4a86191beb 100644 --- a/configs/sim/README.txt +++ b/configs/sim/README.txt @@ -810,7 +810,7 @@ sixlowpan This configuration includes apps/examples/nettest and apps/examples/udpblaster. Neither are truly functional. The only intent of this configuration is to verify that the 6LoWPAN stack correctly encodes IEEE802.15.4 - packets on output to the loopback device and correct decodes the + packets on output to the loopback device and correctly decodes the returned packet. touchscreen diff --git a/wireless/ieee802154/mac802154_netdev.c b/wireless/ieee802154/mac802154_netdev.c index 75b777e20ba..179238bbb94 100644 --- a/wireless/ieee802154/mac802154_netdev.c +++ b/wireless/ieee802154/mac802154_netdev.c @@ -431,6 +431,11 @@ static int macnet_rxframe(FAR struct mac802154_maccb_s *maccb, return -EINVAL; } + /* Increment statistics */ + + NETDEV_RXPACKETS(&priv->md_dev.i_dev); + NETDEV_RXIPV6(&priv->md_dev.i_dev); + /* Remove the IOB containing the frame. */ ind->frame = NULL; @@ -1145,8 +1150,11 @@ static int macnet_req_data(FAR struct ieee802154_driver_s *netdev, iob_free(iob); } + NETDEV_TXERRORS(&priv->md_dev.i_dev); return ret; } + + NETDEV_TXDONE(&priv->md_dev.i_dev); } return OK;