Skip to content

Commit

Permalink
NRC7292 Standalone SDK v1.5
Browse files Browse the repository at this point in the history
    New features
    * Broadcast FOTA (v1.5)

    Bugfix
    * Duplicated memory free bug when disabling and enabling the network
    * UART2 flow control GPIO setting bugs
    * DHCP server to assign the same IP for the same station
    * CSA failure on the same center frequency channels
    * Beacon loss check for switching to new channel using the same 1MHz primary channel
    * Remove redundant TIM checking
    * Wrong 1MHz primary channel location and primary channel number
    * Fail to receive BU from AP after waking up from deep sleep
    * Heap leakage in updating beacon
    * Multicast frame's sequence number is non sequencial when the duty cycle is on
    * AP sends legacy CTS even when receiving RTS with response indication option of 1 (NDP-Response)

    Changes
    * Update ATCMD
      o Update raspi-atcmd-cli
      o Update AT commands: refer to UG-7292-006-AT_Command document
    * Update SDK
      o Update connection event notification
      o Support to register multiple event handler
      o Update and modified sample applications
      o Add netmask, gateway parameter for softap IP setting
      o Update sample applications
      o Increase max number of scan results
      o Set 1M Primary location according to AP's S1G operation IE
      o Update SDK APIs: refer to UG-7292-005-Standalone SDK API document
    * Update 3rd party libraries
      o Update http_server
    * Power save operation enhancement
      o Enhancement PM1 QoS Null frame transmission process
      o Update TIM mode sleep
      o Update GPIO configuration for deep sleep mode
    * Regulation related updates
      o Update board data for K0/K1/K2 channels
      o K0/K1/K2 channel table
      o Refactoring of LBT

    Known Issues
    * The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds)
      due to the substantial computational load required by software for large number operations.
    * The SoftAP disable/enable sequence on the standalone mode is not supported.
    * During an echo test with UART HFC, there is a low probability of a receive data count mismatch in conjunction with delays resulting from RTS deassertion during data transmission.
  • Loading branch information
Aaron J. Lee committed Jul 1, 2023
1 parent 9513860 commit 3c61b34
Show file tree
Hide file tree
Showing 318 changed files with 43,431 additions and 3,943 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
- 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.4 (2023.03.31)
- v1.5 (2023.06.30)
- v1.4 (2023.03.31)
- v1.3.4_rev09 (2022.10.24)
- v1.3.4_rev08 (2022.08.09)
- v1.3.4_rev07 (2022.07.19)
Expand All @@ -23,7 +24,7 @@
- v1.3.0 (2020.07.19)

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

### Release package contents
- standalone: NRC7292 standalone SDK package for global regulatory domains
Expand Down
51 changes: 50 additions & 1 deletion package/standalone/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,55 @@
*
*******************************************************************

[2023-06-30]
Change summary for version 1.5:

New features
* Broadcast FOTA (v1.5)

Bugfix
* Duplicated memory free bug when disabling and enabling the network
* UART2 flow control GPIO setting bugs
* DHCP server to assign the same IP for the same station
* CSA failure on the same center frequency channels
* Beacon loss check for switching to new channel using the same 1MHz primary channel
* Remove redundant TIM checking
* Wrong 1MHz primary channel location and primary channel number
* Fail to receive BU from AP after waking up from deep sleep
* Heap leakage in updating beacon
* Multicast frame's sequence number is non sequencial when the duty cycle is on
* AP sends legacy CTS even when receiving RTS with response indication option of 1 (NDP-Response)

Changes
* Update ATCMD
o Update raspi-atcmd-cli
o Update AT commands: refer to UG-7292-006-AT_Command document
* Update SDK
o Update connection event notification
o Support to register multiple event handler
o Update and modified sample applications
o Add netmask, gateway parameter for softap IP setting
o Update sample applications
o Increase max number of scan results
o Set 1M Primary location according to AP's S1G operation IE
o Update SDK APIs: refer to UG-7292-005-Standalone SDK API document
* Update 3rd party libraries
o Update http_server
* Power save operation enhancement
o Enhancement PM1 QoS Null frame transmission process
o Update TIM mode sleep
o Update GPIO configuration for deep sleep mode
* Regulation related updates
o Update board data for K0/K1/K2 channels
o K0/K1/K2 channel table
o Refactoring of LBT

Known Issues
* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds)
due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.
* During an echo test with UART HFC, there is a low probability of a receive data count mismatch in conjunction with delays resulting from RTS deassertion during data transmission.

[2023-03-30]
Change summary for version 1.4:

Expand All @@ -23,7 +72,7 @@
o Sample application updates

Known Issues
* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds)
* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds)
due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.

25 changes: 15 additions & 10 deletions package/standalone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,25 @@ ifneq ($(MAKEFILE), )
BLPARAM := $(subst xip,,$(BLPARAM))
endif

ifeq ($(SYSTEM), $(filter $(SYSTEM),nrc7393 nrc7394))
ifeq ($(findstring epa, $(ALIAS)), )
PANAME := N
else
PANAME := A
endif
endif
# Extract the filename using pattern matching and substitution
BDF_INPUT := $(lastword $(filter %.dat,$(subst +, ,$(ALIAS))))
BDFFOLDER := ./bdf
BDFNAME := bd.dat
BDFHEADERNAME := bd.h
BDFSYSDATA := $(BDFFOLDER)/$(SYSTEM)/$(SYSTEM)$(PANAME)_$(BDFNAME)
ifneq ($(BDF_INPUT), )
BDFSYSDATA := $(BDFFOLDER)/$(SYSTEM)/$(BDF_INPUT)
else
BDFSYSDATA := $(BDFFOLDER)/$(SYSTEM)/$(SYSTEM)_$(BDFNAME)
endif
BDFDATA := $(BDFFOLDER)/$(BDFNAME)
BDFHDR := $(BDFFOLDER)/$(BDFHEADERNAME)

ifeq ($(UTARGET), $(filter $(UTARGET),standalone))
$(info =================================================)
$(info BDFSYSDATA : $(BDFSYSDATA))
$(info =================================================)
endif

######### BUILD ########################################################
all: ucode bdf second_bl
$(PREFIX).$(MAKEFILE) $(PARAM)
Expand Down Expand Up @@ -138,7 +143,7 @@ bdf:
@echo "#endif" >> $(BDFHDR)

second_bl:
ifeq ($(BLSYSTEM), $(filter $(BLSYSTEM),nrc7292 nrc7393 nrc7394))
ifeq ($(BLSYSTEM), $(filter $(BLSYSTEM),nrc7292 nrc7393 nrc7394 nrc5292))
ifeq ($(BLTARGET), $(filter $(BLTARGET),boot))
ifneq ($(findstring xip, $(ALIAS)), )
$(PREFIX).$(BLMAKEFILE) $(BLPARAM)
Expand All @@ -149,7 +154,7 @@ endif
endif

second_blclean:
ifeq ($(BLSYSTEM), $(filter $(BLSYSTEM),nrc7292 nrc7393 nrc7394))
ifeq ($(BLSYSTEM), $(filter $(BLSYSTEM),nrc7292 nrc7393 nrc7394 nrc5292))
ifeq ($(BLTARGET), $(filter $(BLTARGET),boot))
ifneq ($(findstring xip, $(ALIAS)), )
$(PREFIX).$(BLMAKEFILE) $(BLPARAM) clean
Expand Down
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions package/standalone/VERSION-SDK
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
VERSION_MAJOR 1
VERSION_MINOR 4
VERSION_MINOR 5
VERSION_REVISION 0

2 changes: 1 addition & 1 deletion package/standalone/atcmd/host/raspi-atcmd-cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static int raspi_get_time (double *time) /* usec */

static void raspi_cli_version (void)
{
const char *version = "1.3.1";
const char *version = "1.3.3";

printf("raspi-atcmd-cli version %s\n", version);
printf("Copyright (c) 2019-2023 <NEWRACOM LTD>\n");
Expand Down
11 changes: 6 additions & 5 deletions package/standalone/atcmd/host/raspi-atcmd-cli/nrc-atcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ static void nrc_atcmd_wait_return (char *cmd)

if (strcmp(cmd, "ATZ\r\n") == 0)
timeout = 3;
else if (strlen(cmd) > 11 && memcmp(cmd, "AT+UART=", 8) == 0)
else if (strlen(cmd) > 8 && memcmp(cmd, "AT+UART=", 8) == 0)
timeout = 1;
else if (strlen(cmd) > 14 && memcmp(cmd, "AT+WDEEPSLEEP=", 14) == 0)
timeout = 1;

pthread_mutex_lock(&g_atcmd_info.ret.mutex);
Expand Down Expand Up @@ -181,7 +183,7 @@ static void nrc_atcmd_wait_return (char *cmd)
}
}

static int nrc_atcmd_send (char *buf, int len)
int nrc_atcmd_send (char *buf, int len)
{
int retry;
int ret;
Expand Down Expand Up @@ -209,9 +211,8 @@ static int nrc_atcmd_send (char *buf, int len)
}
}

if (retry > 0)
// atcmd_log_send("retry=%d\n", retry);
log_info("SEND: retry=%d\n", retry);
/* if (retry > 0)
atcmd_log_send("retry=%d\n", retry); */

return len;
}
Expand Down
1 change: 1 addition & 0 deletions package/standalone/atcmd/host/raspi-atcmd-cli/nrc-atcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ typedef void (*atcmd_rxd_cb_t) (atcmd_rxd_t *rxd, char *data);

extern char *nrc_atcmd_param_to_str (const char *param, char *str, int len);

extern int nrc_atcmd_send (char *buf, int len);
extern int nrc_atcmd_send_cmd (const char *fmt, ...);
extern int nrc_atcmd_send_data (char *data, int len);
extern void nrc_atcmd_recv (char *buf, int len);
Expand Down
2 changes: 1 addition & 1 deletion package/standalone/atcmd/host/raspi-atcmd-cli/nrc-hspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ static int hspi_eirq_enable (int mode, int enable)

if (hspi_regs_read_eirq(&eirq) == 0)
hspi_regs_print_eirq(&eirq);
#endif
#endif

return 0;
}
Expand Down

0 comments on commit 3c61b34

Please sign in to comment.