YAMAMOTO Takashi
85617c05fc
gs2200m: Add a comment to mention the referred document
...
Many of existing comments in this file refer to the document.
Like "NOTE: See 3.2.2.3 Annexure - HI Frame Format (From Host)"
2020-02-05 09:01:44 +01:00
Xiang Xiao
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
...
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
Masayuki Ishikawa
6ad906488e
drivers: wireless: Return OK with 0 bytes in gs2200m_send_bulk() when device is busy.
...
Also, change max retry count and interval in driver layer.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-01-28 09:18:50 +01:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
244437257b
drivers/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:37:39 -06:00
Masayuki Ishikawa
7389f86561
Merged in masayuki2009/nuttx.nuttx/stm32f4dis_with_gs2200m (pull request #1057 )
...
stm32f4dis with gs2200m
* drivers: wireless: Add SPI_SELECT() to _read/write_data() in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: stm32f4discovery: Add support for gs2200m
NOTE: GS2200M for Spresense works with mikroe STM32F4 Discovery Shield (slot3)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-22 13:38:41 +00:00
Masayuki Ishikawa
2c16d756cc
Merged in masayuki2009/nuttx.nuttx/gs2200m_with_reset (pull request #1050 )
...
Gs2200m with reset
* include: wireless: Add reset handler to struct gs2200m_lower_s
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers: wireless: Add reset and unreset sequence in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: cxd56xx: Add reset handler to cxd56_gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-15 21:03:33 +00:00
Masayuki Ishikawa
2154a02fa1
Merged in masayuki2009/nuttx.nuttx/fix_comments_in_gs2200m (pull request #1032 )
...
drivers/wireless/gs2200m.c: Fix comments
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-18 11:34:00 +00:00
Gregory Nutt
57bd46d931
Fix some typos in the ChangeLog.
2019-09-13 19:01:05 -06:00
Masayuki Ishikawa
fc250074b3
Merged in masayuki2009/nuttx.nuttx/gs2200m_supports_SIOCGIFHWADDR (pull request #1027 )
...
gs2200m supports SIOCGIFHWADDR
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-02 13:08:34 +00:00
Nathan Hartman
68d43d3679
Fix typos.
2019-08-04 14:50:28 -06:00
Masayuki Ishikawa
4c9508fc50
Merged in masayuki2009/nuttx.nuttx/gs2200m_with_dhcp (pull request #958 )
...
gs2200m with dhcp
* include/nuttx/wireless: Add GS2200M_IOC_IFREQ to gs2200m.h
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/wireless: Add GS2200M_IOC_IFREQ to gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/spresense/wifi: Enable NuttX's DHCP client instead of GS2200M's
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/spresense: Add descriptions on wifi in README.txt
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-30 10:49:16 +00:00
Masayuki Ishikawa
d99595f1a5
Merged in masayuki2009/nuttx.nuttx/gs2200m_with_udp (pull request #953 )
...
gs2200m with udp
* include/nuttx/wireless: Add udp support to gs2200m.h
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/wireless: Add WL_GS2200M_DISABLE_DHCPC to Kconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/wireless: Add udp support to gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/spresense/wifi: Enable smartfs and udp support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-25 05:40:06 +00:00
Masayuki Ishikawa
fb720cb817
Merged in masayuki2009/nuttx.nuttx/add_ch_setting (pull request #943 )
...
drivers/wireless: Add channel parameter for AP mode in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:26:39 +00:00
Masayuki Ishikawa
48760b2636
Merged in masayuki2009/nuttx.nuttx/improve_gs2200m_performance (pull request #931 )
...
Improve gs2200m performance
* arch/arm/src/cxd56xx: Fix dma initialization in cxd56_dmac.c
up_dma_initialize() must be used instead of up_dmainitialize()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/wireless: Introduce CONFIG_WL_GS2200M_SPI_FREQUENCY
Also, changed usleep(100) to up_udelay(100) to avoid invalid response.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/spresense/wifi: Improve performance for webserver
This commit changes followings.
1. Enable SPI DMA for both TX and RX
2. Increase SPI clock speed from 4MHz to 10MHz
3. Increase buffer size for sendfile() from 512B to 1KB
4. Enable sendfile() for webserver
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-04 11:30:54 +00:00
Masayuki Ishikawa
b6e7812c74
Merged in masayuki2009/nuttx.nuttx/fix_gs2200m (pull request #926 )
...
drivers/wireless: Fix a passive close when sending a packet in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-03 00:11:24 +00:00
Dave Marples
dc3ead7487
tools/ocdconsole.py: OCD TCL interface changed after version 0.10 of OpenOCD. This change allows the script to work with both the older and newer TCL interface.
2019-06-18 07:01:23 -06:00
Masayuki Ishikawa
9c8b36ea81
Merged in masayuki2009/nuttx.nuttx/add_wireless_gs2200m (pull request #908 )
...
Add wireless gs2200m
* include/nuttx/wireless: Add gs2200m.h
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/wireless: Add support for Telit GS2200M Wi-Fi module
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-18 12:44:03 +00:00