zephyr/tests/net
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
..
6lo
all modules: nordic: Allow separate nRF 802.15.4 radio driver build 2020-01-28 15:18:42 +01:00
arp tests: net: arp: Fix net_buf assert in ARP unit test 2020-01-13 13:59:55 +01:00
buf tests: net: buf: Fix byteorder test writing beyond buffer 2020-01-13 13:59:55 +01:00
checksum_offload
context coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
dhcpv4
ethernet_mgmt
hostname
icmpv4 tests: net: icmpv4: Test NULL ptr in proper time 2020-01-07 19:27:11 +02:00
icmpv6 tests: net: icmpv6: Increase the TX buf counts 2019-10-22 09:12:24 +03:00
ieee802154 tests: net: ieee802154: Set LL addresses on a packet 2020-01-22 11:57:11 -06:00
iface
ip-addr
ipv6 net: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02:00
ipv6_fragment tests: net: ipv6: Fix net_buf asserts in fragment unittest 2020-01-13 13:59:55 +01:00
lib drivers: wifi: simplelink: Rework offloading mechanism 2020-01-31 11:36:02 -05:00
mgmt coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mld
neighbor
net_pkt
ppp/driver include: Fix use of <crc.h> -> <sys/crc.h> 2019-12-10 08:39:37 -05:00
promiscuous
ptp/clock
route
shell tests: net: shell: Increase the main stack size 2019-10-21 09:58:56 +03:00
socket tests: net: websocket: Add TX unit tests for websocket API 2020-01-28 19:49:16 +02:00
tcp tests: net: kconfig: Do not assign promptless NET_ROUTE symbol 2020-01-13 14:19:08 -05:00
traffic_class tests: net: kconfig: Do not assign promptless NET_ROUTE symbol 2020-01-13 14:19:08 -05:00
trickle
tx_timestamp
udp
utils
vlan