Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct the MSS calculation | Gregory Nutt | 2015-01-22 | 1 | -2/+2 |
| | |||||
* | Networking: Correct the value returned by accept() in the case where ↵ | Gregory Nutt | 2015-01-22 | 1 | -0/+8 |
| | | | | net_lockingwait() is called. It was returning -1 and losing the errno value. Noted by Rony Xln | ||||
* | Networking: Fix another error in an IPv6 macro. Again ampersand where there ↵ | Gregory Nutt | 2015-01-21 | 1 | -1/+1 |
| | | | | should not be one | ||||
* | Fix some errors in memcpy arguments. No ampersands on array arguments. | Gregory Nutt | 2015-01-21 | 1 | -1/+1 |
| | |||||
* | Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, ↵ | Gregory Nutt | 2015-01-20 | 1 | -2/+2 |
| | | | | not sin_port and sin_family | ||||
* | Networking: Add logic to search the Neighbor Table and update the ↵ | Gregory Nutt | 2015-01-20 | 2 | -8/+40 |
| | | | | destination address in the output Ethernet header OR to send an ICMPv6 Neighbor Solicitation if there is no entry in the Neighbor table for the IPv6 address | ||||
* | Networking: Update ICMPv6 logic to RFCs | Gregory Nutt | 2015-01-20 | 1 | -13/+47 |
| | |||||
* | Networking: Fix to ICMPv6 logic: Needs to set source and destination ↵ | Gregory Nutt | 2015-01-19 | 1 | -1/+1 |
| | | | | address in the Ethernet header | ||||
* | Networking: Update ICMPv6 message numbers | Gregory Nutt | 2015-01-19 | 1 | -36/+34 |
| | |||||
* | Fix a few more dangling IPv6 issues found by code inspection | Gregory Nutt | 2015-01-18 | 2 | -2/+2 |
| | |||||
* | Networking: Final detangle off IPv4 and IPv6 TCP/UDP send logic. The ↵ | Gregory Nutt | 2015-01-18 | 3 | -114/+2 |
| | | | | Networking subsystem now compiles with IPv6 enabled | ||||
* | Networking: Straighten up use if IPv6/IPv4 in TCP connection logic | Gregory Nutt | 2015-01-17 | 1 | -5/+5 |
| | |||||
* | Networking: Save the IP domain in the connection structure | Gregory Nutt | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | include/net/if.h: Add a bit to the device flags to indicate if the device ↵ | Gregory Nutt | 2015-01-17 | 1 | -8/+35 |
| | | | | | | packet buffer holds an IPv4 or an IPv6 domain packet. Set/clear the flag along with the correct offset to the application payload data as each packet is received. net/socket, net/tcp, net/udp: Add logic to select the domain of the outputgoing packet before sending any UDP or TCP packet. This sets the bit to indicate the IPv4 or IPv6 domain and the correct offset to the output going payload data. | ||||
* | Networking: Remove field d_sndata from the device structure. It is the ↵ | Gregory Nutt | 2015-01-17 | 1 | -8/+2 |
| | | | | same as d_appdata and unnecessary | ||||
* | Networking: UDP and TCP MSS depends on the IP header size (as well as the ↵ | Gregory Nutt | 2015-01-16 | 3 | -20/+98 |
| | | | | link layer header size) and cannot be represented with a single value. | ||||
* | Networking: Replace all references to the macros net_ipaddr_copy, ↵ | Gregory Nutt | 2015-01-16 | 1 | -41/+32 |
| | | | | net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the macro (such as net_ipv4addr_copy). The goal is to support both IPv4 and IPv6 simultaneously. This requires that the macros be distinct and not conditionally defined to one on or the other. | ||||
* | Networking: Replace all references to net_ipaddr_t with either in_addr_t on ↵ | Gregory Nutt | 2015-01-16 | 2 | -11/+5 |
| | | | | net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t. | ||||
* | Networking: Drivers can have both IPv4 and IPv6 addesses, but a socket can ↵ | Gregory Nutt | 2015-01-16 | 1 | -1/+47 |
| | | | | only only one or the other; The socket connnection structures need to include a union of IPv4 and IPv6 addresses for the local address binding and for the remote address connections | ||||
* | Networking: More detangling of IPv6 logic. Next steps will be more ↵ | Gregory Nutt | 2015-01-16 | 1 | -1/+2 |
| | | | | invasive and will get moved to a branch | ||||
* | Clean a few more IPv6 compilation issues; Add implementation of ↵ | Gregory Nutt | 2015-01-15 | 3 | -7/+8 |
| | | | | net_ipv6_maskcmp() | ||||
* | Networking: Seperate tcp_input() and udp_input() into seprate functions ↵ | Gregory Nutt | 2015-01-15 | 3 | -13/+53 |
| | | | | tcp_ipv4_input(), tcp_ipv6_input(), udp_ipv4_input(), and upd_ipv6_input() than can deal will the data offsets caused by the differing sizes of the IP header. | ||||
* | Networking: More IPv6 detanglement | Gregory Nutt | 2015-01-15 | 1 | -8/+16 |
| | |||||
* | Networking: Misck IPv6 detanglement | Gregory Nutt | 2015-01-15 | 7 | -118/+167 |
| | |||||
* | - Rename devif_input() ipv4_input() | Gregory Nutt | 2015-01-15 | 2 | -32/+37 |
| | | | | | | - Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic. - Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic - Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s | ||||
* | Networking: A few more IPv6-related fixes | Gregory Nutt | 2015-01-14 | 1 | -10/+16 |
| | |||||
* | Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper ↵ | Gregory Nutt | 2015-01-14 | 8 | -73/+276 |
| | | | | renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics. | ||||
* | Networking: Add support for IPv6 ioctls | Gregory Nutt | 2015-01-14 | 2 | -114/+95 |
| | |||||
* | USB host drivers: Change all parmeters named class to usbclass to avoid C++ ↵ | Gregory Nutt | 2015-01-11 | 1 | -13/+14 |
| | | | | conflicts | ||||
* | STM32 SDIO: CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE should not be available unless ↵ | Gregory Nutt | 2015-01-08 | 1 | -9/+6 |
| | | | | CONFIG_MMCSD_SDIO=y | ||||
* | MMCSD SDIO: Add support for a new SDWAIT_WRCOMPLETE condition. The ↵ | Gregory Nutt | 2015-01-08 | 1 | -1/+21 |
| | | | | | | | | | | previous logic used a busy-wait loop to pool the card R1 start to determine when the card was ready for the next transfer. That busy-wait can be quite long -- hundreds of milliseconds. And alternative is to look the the SD D0 pin which will change state when the card is no longer busy. This logic implements a change the avoids the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt, then waiting for the card to becom ready without taking up CPU cycles. This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE and is currenlty only implemented for the STM32 SDIO driver. From David Sidrane | ||||
* | Update ChangeLog | Gregory Nutt | 2015-01-06 | 1 | -7/+7 |
| | |||||
* | There were some changes which broke my NuttX-Build. With these two patches ↵ | Gregory Nutt | 2015-01-01 | 1 | -0/+4 |
| | | | | it builds again. From Manuel Stühn | ||||
* | Fix warning caused by missing comment closing */. From David Sidrane. | Gregory Nutt | 2014-12-30 | 1 | -1/+1 |
| | |||||
* | Added forward reference to eliminate warnings. From David Sidrane. | Gregory Nutt | 2014-12-30 | 1 | -0/+1 |
| | |||||
* | Fixes warning about block_operations not being defined. From David Sidrane. | Gregory Nutt | 2014-12-30 | 1 | -0/+2 |
| | |||||
* | STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David Sidrane | Gregory Nutt | 2014-12-27 | 1 | -2/+28 |
| | |||||
* | Serial Upper Half: Add watermarks to RX flow control logic | Gregory Nutt | 2014-12-27 | 1 | -4/+7 |
| | |||||
* | More RAMTRON related fixes from David Sidrane | Gregory Nutt | 2014-12-26 | 2 | -5/+19 |
| | |||||
* | Most superstitous updates to the RAMTROM driver make it more compatibile ↵ | Gregory Nutt | 2014-12-26 | 2 | -1/+3 |
| | | | | with the version used by PX4. From David Sidrane | ||||
* | STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; ↵ | Gregory Nutt | 2014-12-19 | 1 | -563/+0 |
| | | | | Trivial updates after general review | ||||
* | ili9341: update interface control definitions | Gregory Nutt | 2014-12-19 | 1 | -0/+11 |
| | | | | Signed-off-by: Marco Krahl <ocram.lhark@gmail.com> | ||||
* | stm32: Add interface description for ltdc controller. This defines the ↵ | Gregory Nutt | 2014-12-19 | 1 | -0/+563 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interface to perform hardware accelerated layer operation by the ltdc controller. The following methods must be supported by the implementation: - gevideoinfo - getplaneinfo - getlid - setclut - getclut - setcolor - getcolor - setcolorkey - getcolorkey - setalpha - getalpha - setblendmode - getblendmode - setarea - getarea - update And if DMA2D is supported: - blit - blend The method up_ltdcgetlayer provides access to a reference of a specific ltdc layer. Signed-off-by: Marco Krahl <ocram.lhark@gmail.com> | ||||
* | Freedom KL25Z: Update the CC3000 support to use the current CC300 ↵ | Gregory Nutt | 2014-12-18 | 1 | -8/+8 |
| | | | | interfaces. From Alan Carvalho de Assis | ||||
* | strncpy will not copy the terminating \0 into the destination if the source ↵ | Gregory Nutt | 2014-12-17 | 1 | -1/+1 |
| | | | | is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8. | ||||
* | Update the ADXL345 interface following the current interface scheme | Gregory Nutt | 2014-12-16 | 2 | -11/+4 |
| | |||||
* | Minor clean-up associated with the ADX345 driver | Gregory Nutt | 2014-12-16 | 1 | -56/+17 |
| | |||||
* | Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that ↵ | Gregory Nutt | 2014-12-16 | 1 | -1/+25 |
| | | | | their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() | ||||
* | Add ADXL345 accelerometer driver. From Alan Carvalho de Assis | Gregory Nutt | 2014-12-16 | 2 | -1/+441 |
| | |||||
* | Fix cosmetic typo in header file idempotence. Note by Lazlo | Gregory Nutt | 2014-12-10 | 1 | -3/+3 |
| |