nuttx/drivers/wireless
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
..
cc3000 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
cc1101.c Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
ISM1_868MHzGFSK100kbps.c Add NSRF42L01 driver. From Laurent Latil 2013-06-01 08:03:55 -06:00
ISM2_905MHzGFSK250kbps.c Add NSRF42L01 driver. From Laurent Latil 2013-06-01 08:03:55 -06:00
Kconfig New touchscreen scaling algorithm for the case where measured X values vary with y position (and vice versa) 2013-10-17 12:07:14 -06:00
Make.defs Some restructing of the CC3000 build 2013-09-04 16:40:57 -06:00
nrf24l01.c Update everything under nuttx/drivers to use the corrected syslog interfaces 2014-10-08 10:18:58 -06:00
nrf24l01.h Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00