Skip to content

Commit

Permalink
NRC7292 Standalone SDK v1.5.2 (Hotfix)
Browse files Browse the repository at this point in the history
    Hotfix
    * Fix the recovery of the listen interval setting upon waking from deep sleep
    * Remove echo check code from lwip
  • Loading branch information
Aaron J. Lee committed Sep 2, 2023
1 parent 6e28fd9 commit 7c1fe38
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 22 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -6,6 +6,7 @@
- Please do not use package/standalone/tools/external_tools/FirmwareFlashTool.exe of v1.3.4 rev08. Use other v1.3.4 revision's one instead.

### Release roadmap
- v1.5.2 (2023.09.01): Hotfix
- v1.5.1 (2023.08.31)
- v1.5 (2023.06.30)
- v1.4 (2023.03.31)
Expand All @@ -25,7 +26,7 @@
- v1.3.0 (2020.07.19)

### Latest release
- [NRC7292_Standalone_SDK_v1.5.1](https://github.com/newracom/nrc7292_sdk/releases/tag/v1.5.1)
- [NRC7292_Standalone_SDK_v1.5.2](https://github.com/newracom/nrc7292_sdk/releases/tag/v1.5.2)

### Release package contents
- standalone: NRC7292 standalone SDK package for global regulatory domains
Expand Down
7 changes: 7 additions & 0 deletions package/standalone/ChangeLog
Expand Up @@ -4,6 +4,13 @@
*
*******************************************************************

[2023-09-01]
Change summary for version 1.5.2:

Hotfix
* Fix the recovery of the listen interval setting upon waking from deep sleep
* Remove echo check code from lwip

[2023-08-31]
Change summary for version 1.5.1:

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion package/standalone/VERSION-SDK
@@ -1,4 +1,4 @@
VERSION_MAJOR 1
VERSION_MINOR 5
VERSION_REVISION 1
VERSION_REVISION 2

Binary file modified package/standalone/atcmd/nrc7292_standalone_xip_ATCMD_HSPI.bin
Binary file not shown.
Binary file modified package/standalone/atcmd/nrc7292_standalone_xip_ATCMD_UART.bin
Binary file not shown.
Binary file modified package/standalone/atcmd/nrc7292_standalone_xip_ATCMD_UART_HFC.bin
Binary file not shown.
19 changes: 2 additions & 17 deletions package/standalone/lib/lwip/port/netif/wlif.c
Expand Up @@ -39,10 +39,6 @@ extern struct netif eth_netif;
#if LWIP_BRIDGE
extern struct netif br_netif;
#endif /* LWIP_BRIDGE */
/* contec azuma --> */
uint8_t wifiEchoCheck[1522];
/* <-- contec azuma */

/**
* In this function, the hardware should be initialized.
* Called from wlif_init().
Expand Down Expand Up @@ -84,16 +80,10 @@ static err_t low_level_output( struct netif *netif, struct pbuf *p )
uint8_t *frames[MAX_FRAME_NUM];
uint16_t frame_len[MAX_FRAME_NUM];
int i = 0;
/* contec azuma --> */
uint16_t length = 0;
/* <-- contec azuma */

for( q = p; q != NULL; q = q->next ) {
frames[i] = q->payload;
frame_len[i] = q->len;
/* contec azuma --> */
memcpy(wifiEchoCheck + length,q->payload,q->len); //send data save
length += q->len;
/* <-- contec azuma */
i++;
}
V(TT_NET, "[%s] netif->num = %d, output frames = %d, frame_len = %d...\n", __func__, netif->num, i, frame_len[0]);
Expand Down Expand Up @@ -177,12 +167,7 @@ void lwif_input(struct nrc_wpa_if* intf, void *buffer, int data_len)
LINK_STATS_INC(link.drop);
return;
}
/* contec azuma --> */
if(memcmp(buffer,wifiEchoCheck,data_len) == 0){
memset(wifiEchoCheck,0x00,sizeof(wifiEchoCheck));
goto pbuf_free;
}
/* <-- contec azuma */

/* points to packet payload, which starts with an Ethernet header */
ethhdr = p->payload;

Expand Down
6 changes: 3 additions & 3 deletions package/standalone/lib/modem/inc/system/build_ver.h
@@ -1,12 +1,12 @@
#ifndef _BUILD_VER_H_
#define _BUILD_VER_H_

#define VERSION_BRANCH "gerrit/nrc7292-release-sdk"
#define VERSION_BRANCH "origin/nrc7292-release-sdk"

#define VERSION_BUILD "a84cf7e"
#define VERSION_BUILD "d96af1f"
#define VERSION_MAJOR 1
#define VERSION_MINOR 5
#define VERSION_REVISION 1
#define VERSION_REVISION 2
#define SW_ID 1
#define VERSION_DESCRIPTION ""
#endif //_BUILD_VER_H_
Binary file modified package/standalone/lib/modem/libModem.a
Binary file not shown.
Binary file not shown.

0 comments on commit 7c1fe38

Please sign in to comment.