Skip to content

Commit

Permalink
[NRC7292 HM] v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron J. Lee committed Sep 9, 2023
1 parent 0ad35fb commit 1932920
Show file tree
Hide file tree
Showing 79 changed files with 1,937 additions and 988 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -2,6 +2,7 @@

## Notice
### Release roadmap
- v1.4.1 (2023.09.08)
- v1.4 (2023.06.16)
- v1.3.4_rev14 (2022.12.01)
- v1.3.4_rev13 (2022.11.30)
Expand All @@ -24,7 +25,7 @@
- v1.3.0 (2020.05.30)

### Latest release
- [NRC7292_SW_PKG_v1.4](https://github.com/newracom/nrc7292_sw_pkg/releases/tag/v1.4)
- [NRC7292_SW_PKG_v1.4.1](https://github.com/newracom/nrc7292_sw_pkg/releases/tag/v1.4.1)

### Release package contents
- package: NRC7292 software package for global regulatory domains
Expand Down
60 changes: 60 additions & 0 deletions dts/newracom_for_5.16_or_later.dts
@@ -0,0 +1,60 @@
/*
* Device Tree overlay for Newracom
*
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709", "brcm,bcm2711";
fragment@0 {
target = <&spi>;
__overlay__ {
pinctrl-names="default";
pinctrl-0=<&nrc_pins>;
status = "okay";

spidev@0{
status = "disabled";
};
spidev@1{
status = "disabled";
};

};
};

fragment@1 {
target = <&gpio>;
__overlay__ {
nrc_pins: nrc_pins {
brcm,pins = <5 7 8 9 10 11>;
brcm,function = <0 1 1 4 4 4>;
brcm,pull = <1 2 2 2 2 1>;
};
};
};

fragment@2 {
target = <&spi0>;
__overlay__ {
pinctrl-names="default";
pinctrl-0=<&nrc_pins>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

nrc: nrc-cspi@0 { /* Bus Number */
compatible ="nrc80211";
reg = <0>; /* CS Number */
interrupt-parent = <&gpio>;
interrupts = <5 4>; /* GPIO Number */ /* IRQ_TYPE_LEVEL_HIGH */
spi-max-frequency = <20000000>; /* Max Freq */
};
};
};

__overrides__ {
max_speed_hz = <&nrc>,"spi-max-frequency:0";
};
};

42 changes: 41 additions & 1 deletion package/ChangeLog
Expand Up @@ -4,6 +4,47 @@
*
*******************************************************************

[2023-09-08]
Change summary for version 1.4.1:

Changes
* Enhanced dynamic vendor IE to encompass probe request/response and association request frames
* Configuration for beacon transmission rates
* Introduction of Continuous TX mode
* Elimination of the K0 band and restoration of K1/K2 for backward compatibility
* Expanded support for up to 1000 STAs
* Support 1MHz primary channel location of 4MHz AP/STA
* Avoidance of fragmented data frames in strong/mid RF field
* Improved transmission of large-size packets
* Extended supported Linux kernel version: up to 6.1.x

Bugfix
* Scan failures in the K2 band
* Incorrect usage of the CTS format for RTS with RI 1 (NDP-Response) in open mode AP
* cli_app: if duty cycle setting fails, it is now disabled, and an error is returned to the cli_app
* Multicast frame's SN is non-sequential when duty cycle is enabled
* rmmod failure which can occur due to target malfunctions or SPI issues
* Beacon loss handling at the uCode
* Kernel panic that may occur when adding a large number of vendor IEs
* Fixed ch_switch_cnt number in the case of hidden SSID AP
* Heap leakage during the updating of beacon frames
* WDT reset that could occur during frequent ifconfig up/down operations on the AP
* Kernel panic that could occur when the enable_beacon_bypass feature is enabled
* Failure of connecting to an AP with TW country code
* PN order mismatch for big-size packet transmission
* iw scan meshid command failure
* 2MHz secondary CCA operation

Known Issues
* Not Support 5 US channels due to hostapd channel capacity reason
(Not supported channel: 100(BW_1M, 925.5MHz), 104(BW_1M, 926.5MHz),
108(BW_1M, 927.5MHz), 112(BW_2M, 927MHz), 116(BW_4M, 926MHz))
* Due to the legacy Wi-Fi/HaLow channel mapping, "hostapd_cli chan_switch" command experiences a 60-second delay when using radar channels below:
5500(#100/925.5MHz), 5520(#104/926.5MHz), 5540(#108/927.5MHz),
5560(#112/927MHz), 5580(#116/926MHz)
* DHCP failure or delay in multi-hop MBSS
(Recommend using static IP in more than 3-hop MBSS)

[2023-06-16]
Change summary for version 1.4:

Expand Down Expand Up @@ -53,7 +94,6 @@ Change summary for version 1.4:
* Inflexible 1MHz control response support
* Fail to set output of relevant GPIO before entering the deep sleep
* Mesh control field correction to consider 4-address usage
* Multicast frame drop on JP channel

Known Issues
* Not Support 5 US channels due to hostapd channel capacity reason
Expand Down
Binary file removed package/RN-7292-001-SW_PKG_release_note (v1.4).pdf
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package/VERSION-SDK
@@ -1,3 +1,3 @@
VERSION_MAJOR 1
VERSION_MINOR 4
VERSION_REVISION 0
VERSION_REVISION 1
Binary file modified package/doc/AN-7292-002-Dynamic Vendor IE.pdf
Binary file not shown.
Binary file modified package/doc/UG-7292-003-S1G_Channel.pdf
Binary file not shown.
Binary file modified package/doc/UG-7292-007-Commnad line application.pdf
Binary file not shown.
Binary file modified package/doc/UG-7292-018-Raspberry_Pi_setup.pdf
Binary file not shown.
69 changes: 33 additions & 36 deletions package/doc/supported_flashMemory_list.txt
Expand Up @@ -4,39 +4,36 @@
* *
*********************************************************************************

(Updated 06-01-2023)
+----------------+------------+------------------------------------+---------------+
| NAME | JEDEC ID | Manufacturer | Size |
+----------------+------------+------------------------------------+---------------+
| W25XX | 0x621614 | WINBOND inc | 256KB - 512KB |
| W25Q16FW | 0xEF6015 | WINBOND inc | 2 MB |
| W25Q80EW | 0xEF6014 | WINBOND inc | 1 MB |
| XT25Q08B | 0x0B6014 | XTX Technology | 1 MB |
| IS25WP080D | 0x9D7014 | Integrated Silicon Solution Inc | 1 MB |
| IS25LP080D | 0x9D6014 | Integrated Silicon Solution Inc | 1 MB |
| IS25LP128D | 0x9D6018 | Integrated Silicon Solution Inc | 16 MB |
| EN25S16B | 0x1C3815 | EON Silicon Devices | 2 MB |
| GD25LQ16C | 0xC86015 | GigaDevice | 2 MB |
| GD25LQ40C | 0xC86013 | GigaDevice | 512 KB |
| MX25V8035F | 0xC22314 | Macronix | 1 MB |
| MX25V1635F | 0xC22315 | Macronix | 2 MB |
| XT25Q16D | 0x0B6015 | XTX Technology Limited | 2 MB |
| XT25W16F | 0x0B6515 | XTX Technology Limited | 2 MB |
| EN25QH16B | 0x1C7015 | ESMT | 2 MB |
| GD25WQ16E | 0xC86515 | GigaDevice | 2 MB |
| GD25WQ32E | 0xC86516 | GigaDevice | 4 MB |
| GD25Q16CE2GR | 0xC84015 | GigaDevice | 2 MB |
| GD25Q16EEIGR | 0xC84015 | GigaDevice | 2 MB |
| MX25U1633F | 0xC22535 | Macronix | 2 MB |
| MX25R3235F | 0xC22816 | Macronix | 4 MB |
| MX25R1635F | 0xC22815 | Macronix | 2 MB |
| EN25QW32A | 0x1C6116 | EON Silicon Devices | 4 MB |
| EN25S32A | 0x1C3816 | EON Silicon Devices | 4 MB |
| EN25SE32A | 0x1C4816 | EON Silicon Devices | 4 MB |
| XT25Q32F | 0x0B6016 | XTX Technology Limited | 4 MB |
| P25Q16U | 0x856015 | Puya Semiconductor | 2 MB |
| P25Q32U | 0x856016 | Puya Semiconductor | 4 MB |
| GT25Q16A | 0xC46015 | Giantec Semiconductor Corp | 2 MB |
| GT25Q32A | 0xC46016 | Giantec Semiconductor Corp | 4 MB |
| FM25W16A | 0xA12815 | Shanghai Fudan Microelectronics | 2 MB |
+----------------+------------+------------------------------------+---------------+
(Updated 07-21-2023)
+----------------+------------+------------------------------------+-----------+---------+---------+
| NAME | JEDEC ID | Manufacturer | Size | NRC7292 | NRC7394 |
+----------------+------------+------------------------------------+-----------+---------+---------+
| W25XX | 0x621614 | WINBOND inc | 256-512KB | | |
| W25Q16FW | 0xEF6015 | WINBOND inc | 2 MB | O | |
| W25Q80EW | 0xEF6014 | WINBOND inc | 1 MB | O | |
| XT25Q08B | 0x0B6014 | XTX Technology | 1 MB | O | |
| IS25WP080D | 0x9D7014 | Integrated Silicon Solution Inc | 1 MB | O | |
| IS25LP080D | 0x9D6014 | Integrated Silicon Solution Inc | 1 MB | | |
| IS25LP128D | 0x9D6018 | Integrated Silicon Solution Inc | 16 MB | | |
| EN25S16B | 0x1C3815 | EON Silicon Devices | 2 MB | O | |
| GD25LQ16C | 0xC86015 | GigaDevice | 2 MB | O | |
| GD25LQ40C | 0xC86013 | GigaDevice | 512 KB | O | |
| MX25V1635F | 0xC22315 | Macronix | 2 MB | | |
| XT25Q16D | 0x0B6015 | XTX Technology Limited | 2 MB | O | |
| EN25QH16B | 0x1C7015 | ESMT | 2 MB | | |
| GD25WQ16E | 0xC86515 | GigaDevice | 2 MB | | O |
| GD25WQ32E | 0xC86516 | GigaDevice | 4 MB | | O |
| GD25Q16CE2GR | 0xC84015 | GigaDevice | 2 MB | | |
| GD25Q16EEIGR | 0xC84015 | GigaDevice | 2 MB | | |
| MX25U1633F | 0xC22535 | Macronix | 2 MB | O | |
| MX25R3235F | 0xC22816 | Macronix | 2 MB | | |
| MX25R1635F | 0xC22815 | Macronix | 2 MB | | O |
| EN25S32A | 0x1C3816 | EON Silicon Devices | 4 MB | O | |
| EN25SE32A | 0x1C4816 | EON Silicon Devices | 4 MB | O | |
| XT25Q32F | 0x0B6016 | XTX Technology Limited | 4 MB | O | |
| P25Q16U | 0x856015 | Puya Semiconductor | 2 MB | | O |
| P25Q32U | 0x856016 | Puya Semiconductor | 4 MB | | O |
| GT25Q16A | 0xC46015 | Giantec Semiconductor Corp | 2 MB | | O |
| GT25Q32A | 0xC46016 | Giantec Semiconductor Corp | 4 MB | | O |
| FM25W16A | 0xA12815 | Shanghai Fudan Microelectronics | 2 MB | | O |
+----------------+------------+------------------------------------+-----------+---------+---------+
2 changes: 1 addition & 1 deletion package/evk/binary/VERSION-SDK
@@ -1,3 +1,3 @@
VERSION_MAJOR 1
VERSION_MINOR 4
VERSION_REVISION 0
VERSION_REVISION 1
Binary file modified package/evk/binary/cli_app
Binary file not shown.
Binary file modified package/evk/binary/nrc.ko
Binary file not shown.
Binary file modified package/evk/binary/nrc7292_bd.dat
Binary file not shown.
Binary file modified package/evk/binary/nrc7292_cspi.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion package/evk/sw_pkg/nrc_pkg/VERSION-SDK
@@ -1,3 +1,3 @@
VERSION_MAJOR 1
VERSION_MINOR 4
VERSION_REVISION 0
VERSION_REVISION 1
Expand Up @@ -2,14 +2,19 @@

import os
import time
import commands
import RPi.GPIO as GPIO
import sys


cmd = ""
air_plane_status="off"

def usage_print():
print("Usage: \n\tairplane_btn_sample.py [rpi_pin]")
print("Note: \n\tnrc7292EVK : rpi_pin = 26(GP10) \
\n\tnrc7394EVK : rpi_pin = 16(GP20)")
exit()

def BtnPressedEvent(c):
global air_plane_status

Expand All @@ -24,15 +29,21 @@ def BtnPressedEvent(c):
os.system(cmd)

def init():
GPIO.setmode(GPIO.BCM)
GPIO.setup(26, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.add_event_detect(26, GPIO.RISING, callback=BtnPressedEvent, bouncetime=300)
if int(sys.argv[1]) == 26 or int(sys.argv[1]) == 16:
GPIO.setmode(GPIO.BCM)
GPIO.setup(int(sys.argv[1]), GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.add_event_detect(int(sys.argv[1]), GPIO.RISING, callback=BtnPressedEvent, bouncetime=300)
else:
usage_print()

if __name__ == '__main__':

# GPIO init
init()
# waiting
while(True):
time.sleep(1)
print("[{}]Running...")
if len(sys.argv) < 2:
usage_print()
else:
# GPIO init
init()
# waiting
while(True):
time.sleep(1)
print("[{}]Running...")
Binary file modified package/evk/sw_pkg/nrc_pkg/script/cli_app
Binary file not shown.
38 changes: 0 additions & 38 deletions package/evk/sw_pkg/nrc_pkg/script/conf/K0/ap_halow_open.conf

This file was deleted.

37 changes: 0 additions & 37 deletions package/evk/sw_pkg/nrc_pkg/script/conf/K0/ap_halow_owe.conf

This file was deleted.

0 comments on commit 1932920

Please sign in to comment.