Commit Graph

17 Commits

Author SHA1 Message Date
Gregory Nutt
f12da847d8 drivers/wireless: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 19:03:57 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -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
Gregory Nutt
d6704a1cd7 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -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
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
607acec781 CC3000 driver update from David Sidrane 2013-10-25 16:23:53 -06:00
Gregory Nutt
4cf9540563 CC3000 driver updates from David Sidrane 2013-10-23 09:07:32 -06:00
Gregory Nutt
8cd7eea7ad CC3000 driver changes from David Sidrane 2013-10-16 13:18:53 -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