TCPIP Stack Fixes – NETOS 7.1

 

 

 

Last Updated: 04/13/07         Fix Count: 2

 

 

Title

Linker error when building Wireless platforms

 

Case: internal

 

Date Fixed: 04/13/07

 

Description

Fixed issue with IAM and Ethernet callback.  The IAM library had code which called a routine in the Ethernet driver to register a callback function.  This caused a linker error when applications were built on wireless only platforms.

 

Solution

Moved the installation of the Ethernet callback into the iamCallbacks.c function, which is built as part of the BSP.  Since it is built as part of the BSP, it can use BSP_WANT_ETHERNET to conditionally compile the call to the Ethernet routine when Ethernet is present on the platform.

 

 

Title

Link down not reported when Ethernet cable is unplugged

 

Case: 1228213

 

Date Fixed: 04/09/07

 

Description

customizeIamEventCallback does not report NA_IAM_ADDR_LINK_DOWN when the Ethernet cable is unplugged.

 

Solution

The code that acts when the disconnect interrupt happens was “protected” by a #ifdef that improperly set this callback to occur only when the device had both wired and wireless interfaces.

 

 

Files:   netos\h\iam_netos.hh
      netos\src\bsp\customize\iamCallbacks.c

netos\lib\arm7\32b\ghs\libtcpip.a

netos\lib\arm7\32b\gnu\libtcpip.a

netos\lib\arm9\32b\ghs\libtcpip.a

netos\lib\arm9\32b\gnu\libtcpip.a

netos\lib\arm7\32b\ghs\libtcpip_no_ipsec.a

netos\lib\arm7\32b\gnu\libtcpip_no_ipsec.a

netos\lib\arm9\32b\ghs\libtcpip_no_ipsec.a

netos\lib\arm9\32b\gnu\libtcpip_no_ipsec.a

 

Special Instructions

 

 

Patch Link:  TCPIPFixes71

 

Dependencies

This patch also requires the installation of the following patch(es):

N/A