incubator-nuttx/drivers/wireless/cc3000
Gregory Nutt e42f7b552f This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.

07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.

08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.

09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().

10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.

Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.

All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
..
Kconfig Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi Kivilinna 2014-05-21 07:17:46 -06:00
Make.defs Updated CC3000 driver from David Sidrane 2013-10-30 14:37:13 -06:00
cc3000.c This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
cc3000.h This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
cc3000_common.c CC3000 driver update from David Sidrane 2013-10-25 16:23:53 -06:00
cc3000_socket.h This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
cc3000drv.c This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
cc3000drv.h This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
evnt_handler.c This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
hci.c Updated CC3000 driver from David Sidrane 2013-10-30 14:37:13 -06:00
host_driver_version.h CC3000 driver changes from David Sidrane 2013-10-16 11:59:26 -06:00
netapp.c More trailing whilespace removal 2014-04-13 14:32:20 -06:00
nvmem.c More trailing whilespace removal 2014-04-13 14:32:20 -06:00
security.c CC3000 driver changes from David Sidrane 2013-10-16 13:18:53 -06:00
socket.c This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00
socket_imp.c Numerous updates to the CC3000 driver from David Sidrane 2014-02-18 14:16:51 -06:00
spi_version.h CC3000 driver changes from David Sidrane 2013-10-16 11:59:26 -06:00
wlan.c This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches: 2014-11-28 08:52:52 -06:00