Commit Graph

21 Commits

Author SHA1 Message Date
Gregory Nutt
9965cbe428 drivers/: Review and correct some stylistic inconsistencies 2016-08-07 09:43:48 -06:00
Gregory Nutt
43eb04bb8f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
0fb035f76b Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
Gregory Nutt
c955cdccd9 Move rivers/wireless/cc3000/security.c to crypto/aes.c; move include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h 2015-11-16 13:31:02 -06:00
Gregory Nutt
5f9c47a83f drivers/wireless: Fixes to spacing and alignement 2015-10-10 11:51:32 -06:00
Gregory Nutt
16b32bbadd Standardize the width of all comment boxes in C files 2015-10-03 07:25:53 -06:00
Pierre-noel Bouteville
8651e0f2ca CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype 2015-09-09 16:34:37 -06:00
Gregory Nutt
e4d2822af8 Make some file section headers more consistent with standard 2015-04-08 07:15:32 -06:00
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
Gregory Nutt
972c4cbab5 Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -06:00
Gregory Nutt
6092b5813a Numerous updates to the CC3000 driver from David Sidrane 2014-02-18 14:16:51 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
85e90b0064 Updated CC3000 driver from David Sidrane 2013-10-30 14:37:13 -06:00
Gregory Nutt
6b8c1cc480 CC3000 driver updates from David Sidrane 2013-10-30 10:50:26 -06:00
Gregory Nutt
607acec781 CC3000 driver update from David Sidrane 2013-10-25 16:23:53 -06:00
Gregory Nutt
6fda497bc1 Updated Spark/cc3000 files from David Sidrane 2013-10-18 17:14:58 -06:00
Gregory Nutt
4e44868f12 CC3000 driver changes from David Sidrane 2013-10-16 11:59:26 -06:00
Gregory Nutt
ce6368793a Some restructing of the CC3000 build 2013-09-04 16:40:57 -06:00
Gregory Nutt
64f1c78367 CC3000 driver updates from Alan Carvalho de Assis 2013-09-04 09:45:59 -06:00
Gregory Nutt
29d4748b1b Initial cut of a driver for the TI CC3000 network module with support on the Freescale KL25Z board from Alan Carvalho de Assis 2013-09-03 14:59:48 -06:00