zephyr/tests/net/lib
Robert Lubos ece552c644 drivers: wifi: simplelink: Rework offloading mechanism
Switch to `NET_SOCKET_REGISTER` mechanism over the offloaded API
registration.

Including the following fixes from the review:

* The fd returned by the socket accept call needs to be finalized,
  similar to how it is done for socket creation.

* sl_RecvFrom() in TI SimpleLink Host driver does not support NULL
  pointers for 'from' address and address length, and sl_SendTo() does
  not ignore the destination address when in connection mode, so passing
  NULL would cause a failure. These issues have been reported to TI
  (CC3X20SDK-1970, CC3X20SDK-1971).

  Let's use sl_Recv and sl_Send to implement recvfrom/sendto in the case
  of NULL addresses.

* simplelink_poll() should not process negative file descriptors in the
  fds array after sl_Selecti() returns. A negative fd value indicates
  that the entry is invalid and should be ignored.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-31 11:36:02 -05:00
..
coap samples & tests: Correct main() type 2019-12-16 11:27:56 +01:00
dns_addremove include: Fix use of <misc/FOO.h> -> <sys/FOO.h> 2019-12-10 08:39:37 -05:00
dns_packet tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
dns_resolve tests: updated names for the dns tests 2019-10-18 15:30:06 +03:00
http_header_fields tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
mqtt_packet drivers: wifi: simplelink: Rework offloading mechanism 2020-01-31 11:36:02 -05:00
mqtt_publisher drivers: wifi: simplelink: Rework offloading mechanism 2020-01-31 11:36:02 -05:00
mqtt_pubsub drivers: wifi: simplelink: Rework offloading mechanism 2020-01-31 11:36:02 -05:00
mqtt_subscriber drivers: wifi: simplelink: Rework offloading mechanism 2020-01-31 11:36:02 -05:00
tls_credentials tests: net: tls: Increasing stack size 2019-10-17 17:01:23 +03:00