Skip to content

Commit e8804cd

Browse files
authored
Merge pull request #11668 from morser499/pr/whd_1.40
Update Cypress WiFi driver code to version 1.40
2 parents 89c08f5 + f35328c commit e8804cd

File tree

60 files changed

+188010
-29793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+188010
-29793
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/generated_mac_address.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
* MAC address is printed during WHD power up
77
*/
88

9-
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:d4:32:81"
9+
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:bb:5c:af"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#define WHD_VERSION "v1.30.0-rc3-dirty"
2-
#define WHD_BRANCH "v1.30.0-rc3"
3-
#define WHD_DATE "2019-08-27 16:29:32 +0800"
1+
#define WHD_VERSION "v1.40.0"
2+
#define WHD_BRANCH "v1.40.0"
3+
#define WHD_DATE "2019-10-02 13:25:35 +0800"

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest_bin.c

Lines changed: 30669 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest_clm_blob.c

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43012/43012C0_bin.c

Lines changed: 15764 additions & 12784 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43012/43012C0_clm_blob.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
#include "wiced_resource.h"
1717

1818
#if defined(CY_STORAGE_WIFI_DATA)
19-
CY_SECTION(CY_STORAGE_WIFI_DATA) __attribute__( (used) )
19+
CY_SECTION_WHD(CY_STORAGE_WIFI_DATA) __attribute__( (used) )
2020
#endif
2121
const unsigned char wifi_firmware_clm_blob_image_data[7697] =
2222
{
23-
66, 76, 79, 66, 60, 0, 0, 0, 192, 67, 184, 158, 1, 0, 0, 0, 2, 0, 0,
24-
0, 0, 0, 0, 0, 60, 0, 0, 0, 209, 29, 0, 0, 191, 213, 43, 137, 0, 0,
23+
66, 76, 79, 66, 60, 0, 0, 0, 212, 152, 37, 70, 1, 0, 0, 0, 2, 0, 0,
24+
0, 0, 0, 0, 0, 60, 0, 0, 0, 209, 29, 0, 0, 217, 180, 83, 115, 0, 0,
2525
0, 0, 0, 0, 0, 0, 13, 30, 0, 0, 4, 0, 0, 0, 147, 68, 77, 121, 0, 0,
2626
0, 0, 67, 76, 77, 32, 68, 65, 84, 65, 0, 0, 18, 0, 2, 0, 57, 46, 49,
2727
48, 46, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 46, 51, 54,
@@ -258,8 +258,8 @@ const unsigned char wifi_firmware_clm_blob_image_data[7697] =
258258
14, 15, 16, 17, 18, 19, 20, 21, 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
259259
11, 4, 0, 1, 2, 3, 8, 12, 13, 14, 15, 16, 17, 18, 19, 8, 4, 5, 6, 7,
260260
8, 9, 10, 11, 21, 2, 2, 18, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
261-
16, 17, 18, 19, 20, 21, 50, 48, 49, 57, 45, 48, 56, 45, 48, 49, 32,
262-
49, 50, 58, 51, 53, 58, 48, 50, 0, 0, 3, 0, 0, 0, 196, 11, 0, 0, 1,
261+
16, 17, 18, 19, 20, 21, 50, 48, 49, 57, 45, 48, 57, 45, 48, 53, 32,
262+
48, 50, 58, 53, 54, 58, 50, 56, 0, 0, 3, 0, 0, 0, 196, 11, 0, 0, 1,
263263
14, 1, 0, 3, 0, 0, 0, 120, 14, 0, 0, 42, 58, 16, 106, 138, 16, 155,
264264
171, 16, 0, 0, 0, 3, 0, 0, 0, 28, 23, 0, 0, 21, 2, 2, 0, 9, 0, 19, 0,
265265
22, 0, 24, 0, 32, 0, 35, 0, 42, 0, 53, 0, 59, 0, 73, 0, 75, 0, 77, 0,

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43364/43364A1_bin.c

Lines changed: 25469 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43364/43364A1_clm_blob.c

Lines changed: 402 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43364/4343WA1-mfgtest_bin.c

Lines changed: 23644 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43364/4343WA1-mfgtest_clm_blob.c

Lines changed: 400 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43438/43438A1_bin.c

Lines changed: 25469 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43438/43438A1_clm_blob.c

Lines changed: 402 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43438/4343WA1-mfgtest_bin.c

Lines changed: 23644 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43438/4343WA1-mfgtest_clm_blob.c

Lines changed: 400 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_4343W/4343WA1-mfgtest_bin.c

Lines changed: 23644 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_4343W/4343WA1-mfgtest_clm_blob.c

Lines changed: 400 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_4343W/4343WA1_bin.c

Lines changed: 15493 additions & 15453 deletions
Large diffs are not rendered by default.

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_4343W/4343WA1_clm_blob.c

Lines changed: 375 additions & 375 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
/*
2+
* Copyright (c) 2019, Cypress Semiconductor Corporation, All Rights Reserved
3+
* SPDX-License-Identifier: LicenseRef-PBL
4+
*
5+
* This file and the related binary are licensed under the
6+
* Permissive Binary License, Version 1.0 (the "License");
7+
* you may not use these files except in compliance with the License.
8+
*
9+
* You may obtain a copy of the License here:
10+
* LICENSE-permissive-binary-license-1.0.txt and at
11+
* https://www.mbed.com/licenses/PBL-1.0
12+
*
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/** @file
18+
* NVRAM file for CY8CKIT_062S2_43012
19+
*/
20+
21+
#ifndef INCLUDED_NVRAM_IMAGE_H_
22+
#define INCLUDED_NVRAM_IMAGE_H_
23+
24+
#include <string.h>
25+
#include <stdint.h>
26+
#include "generated_mac_address.txt"
27+
28+
29+
#ifdef __cplusplus
30+
extern "C" {
31+
#endif
32+
33+
34+
/**
35+
*
36+
* Character array of NVRAM image
37+
*
38+
* Generated from cyw9cy8ckit_062S2_43012_P100_722591.txt
39+
*
40+
*/
41+
42+
43+
44+
static const char wifi_nvram_image[] =
45+
"NVRAMRev=$Rev:722591$" "\x00"
46+
"sromrev=11" "\x00"
47+
"cckdigfilttype=4" "\x00"
48+
"cckpwroffset0=2" "\x00"
49+
"bphyscale=0x20" "\x00"
50+
"boardflags3=0x40000100" "\x00"
51+
"vendid=0x14e4" "\x00"
52+
"devid=0xA804" "\x00"
53+
"manfid=0x2d0" "\x00"
54+
"prodid=0x052e" "\x00"
55+
NVRAM_GENERATED_MAC_ADDRESS "\x00"
56+
"mac_clkgating=1" "\x00"
57+
"nocrc=1" "\x00"
58+
"boardtype=0x0869" "\x00"
59+
"boardrev=0x1102" "\x00"
60+
"xtalfreq=37400" "\x00"
61+
"boardflags2=0xc0000000" "\x00"
62+
"boardflags=0x00000001" "\x00"
63+
"etmode=0x11" "\x00"
64+
"extpagain2g=2" "\x00"
65+
"extpagain5g=2" "\x00"
66+
"ccode=0" "\x00"
67+
"regrev=0" "\x00"
68+
"antswitch=0" "\x00"
69+
"rxgains2gelnagaina0=0" "\x00"
70+
"rxgains2gtrisoa0=15" "\x00"
71+
"rxgains2gtrelnabypa0=0" "\x00"
72+
"rxgains5gelnagaina0=0" "\x00"
73+
"rxgains5gtrisoa0=9" "\x00"
74+
"rxgains5gtrelnabypa0=0" "\x00"
75+
"pdgain5g=0" "\x00"
76+
"pdgain2g=0" "\x00"
77+
"tworangetssi2g=0" "\x00"
78+
"tworangetssi5g=0" "\x00"
79+
"rxchain=1" "\x00"
80+
"txchain=1" "\x00"
81+
"aa2g=1" "\x00"
82+
"aa5g=1" "\x00"
83+
"tssipos5g=0" "\x00"
84+
"tssipos2g=0" "\x00"
85+
"femctrl=17" "\x00"
86+
"subband5gver=4" "\x00"
87+
"pa2ga0=-108,6062,-661" "\x00"
88+
"pa5ga0=-82,6252,-698,-14,6722,-697,-92,6084,-710,-88,6465,-755" "\x00"
89+
"pdoffset40ma0=0" "\x00"
90+
"pdoffset80ma0=0" "\x00"
91+
"lowpowerrange2g=0" "\x00"
92+
"lowpowerrange5g=0" "\x00"
93+
"ed_thresh2g=-63" "\x00"
94+
"ed_thresh5g=-63" "\x00"
95+
"swctrlmap_2g=0x10101010,0x20202020,0x10101010,0x442020,0x3ff" "\x00"
96+
"swctrlmapext_2g=0x01000100,0x01000100,0x01000100,0x000000,0x301" "\x00"
97+
"swctrlmap_5g=0x80808080,0x00000000,0x80808080,0x442020,0x381" "\x00"
98+
"swctrlmapext_5g=0x01000100,0x01000100,0x00000000,0x000000,0x303" "\x00"
99+
"ulpnap=0" "\x00"
100+
"ulpadc=1" "\x00"
101+
"ssagc_en=0" "\x00"
102+
"ds1_nap=0" "\x00"
103+
"spurcan_ch_list_MHz=2422,2427,2432,2437,2462,2467,2472" "\x00"
104+
"spurcan_sp_freq_KHz=9000,4000,-1000,-6000,6400,1400,-3600" "\x00"
105+
"spurcan_NumSpur=7" "\x00"
106+
"epacal2g=0" "\x00"
107+
"epacal5g=0" "\x00"
108+
"papdcck=0" "\x00"
109+
"epacal2g_mask=0x3fff" "\x00"
110+
"maxp2ga0=74" "\x00"
111+
"ofdmlrbw202gpo=0x0020" "\x00"
112+
"dot11agofdmhrbw202gpo=0x6442" "\x00"
113+
"mcsbw202gpo=0xCC864420" "\x00"
114+
"maxp5ga0=70,70,70,70" "\x00"
115+
"mcsbw205glpo=0xCC864220" "\x00"
116+
"mcsbw205gmpo=0xCC864220" "\x00"
117+
"mcsbw205ghpo=0xCC864220" "\x00"
118+
"femctrlwar=0" "\x00"
119+
"use5gpllfor2g=1" "\x00"
120+
"pt5db_gaintbl=0" "\x00"
121+
"muxenab=0x01" "\x00"
122+
"txwbpapden=1" "\x00"
123+
"wb_rxattn=0x0303" "\x00"
124+
"wb_txattn=0x0203" "\x00"
125+
"wb_papdcalidx=0x0808" "\x00"
126+
"wb_papdcalidx_5g=0x00101010" "\x00"
127+
"wb_eps_offset=0x01ba01a8" "\x00"
128+
"wb_eps_offset_5g=0x01ba01bc" "\x00"
129+
"wb_bbmult=0x2040" "\x00"
130+
"wb_bbmult_5g=0x00303030" "\x00"
131+
"wb_calref_db=0x1c2e" "\x00"
132+
"wb_tia_gain_mode=0x0606" "\x00"
133+
"wb_txbuf_offset=0x1e1e" "\x00"
134+
"wb_frac_del=0x6991" "\x00"
135+
"wb_g_frac_bits=0xab" "\x00"
136+
"nb_rxattn=0x0404" "\x00"
137+
"nb_txattn=0x0404" "\x00"
138+
"nb_papdcalidx=0x1414" "\x00"
139+
"nb_eps_offset=0x01d701d7" "\x00"
140+
"nb_bbmult=0x5A5A" "\x00"
141+
"nb_tia_gain_mode=0x0000" "\x00"
142+
"AvVmid_c0=6,100,7,70,7,70,7,70,7,70" "\x00"
143+
"tssisleep_en=0x5" "\x00"
144+
"lpflags=0x0" "\x00"
145+
"lpo_select=4" "\x00"
146+
"paprrmcsgamma2g=450,500,550,600,675,950,950,950,950,950,950,950" "\x00"
147+
"paprrmcsgamma5g20=450,500,550,600,800,950,1100,1100,1100,1100,1100,1100""\x00"
148+
"swdiv_en=0"/*ToenableSW-DIVfeature*/ "\x00"
149+
"swdiv_gpio=0" "\x00"
150+
"swdiv_swctrl_en=2" "\x00"
151+
"swdiv_swctrl_ant0=0" "\x00"
152+
"swdiv_swctrl_ant1=1" "\x00"
153+
"swdiv_antmap2g_main=1" "\x00"
154+
"swdiv_antmap5g_main=1" "\x00"
155+
"swdiv_snrlim=10000"/*Onlyenablesw_divifthesnronpresentantennaislessthan10000/8=1250*/"\x00"
156+
"swdiv_thresh=3000"/*No.ofrxpktsthreshold*/ "\x00"
157+
"swdiv_snrthresh=24"/*Differencebetweenantenna'ssnrisgreaterthan24/8=3dB,thenshifttheantennas*/"\x00"
158+
"lhlgpio_cfg=0x00000020,0x00000000" "\x00"
159+
"\x00\x00";
160+
161+
#ifdef __cplusplus
162+
} /*extern "C" */
163+
#endif
164+
165+
#else /* ifndef INCLUDED_NVRAM_IMAGE_H_ */
166+
#error Wi-Fi NVRAM image included twice
167+
#endif /* ifndef INCLUDED_NVRAM_IMAGE_H_ */

0 commit comments

Comments
 (0)