Skip to content

Commit db16496

Browse files
MaochenWang1dleach02
authored andcommitted
middleware: wifi_nxp: update version to r50.z_up.p4
Update wifi_nxp version to v1.3.r50.z_up.p4. SHA: c889ecd5 Signed-off-by: Maochen Wang <[email protected]>
1 parent 4acaeab commit db16496

File tree

23 files changed

+2514
-1657
lines changed

23 files changed

+2514
-1657
lines changed

mcux/middleware/wifi_nxp/incl/nxp_wifi.h

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -82,34 +82,6 @@ extern "C" {
8282
#define CONFIG_WIFI_STA_RECONNECT 1
8383
#endif
8484

85-
#if CONFIG_NXP_WIFI_MON_THREAD_STACK_SIZE
86-
#define CONFIG_MON_THREAD_STACK_SIZE CONFIG_NXP_WIFI_MON_THREAD_STACK_SIZE
87-
#endif
88-
89-
#if CONFIG_NXP_WIFI_WLCMGR_STACK_SIZE
90-
#define CONFIG_WLCMGR_STACK_SIZE CONFIG_NXP_WIFI_WLCMGR_STACK_SIZE
91-
#endif
92-
93-
#if CONFIG_NXP_WIFI_WPS_STACK_SIZE
94-
#define CONFIG_WPS_STACK_SIZE CONFIG_NXP_WIFI_WPS_STACK_SIZE
95-
#endif
96-
97-
#if CONFIG_NXP_WIFI_POWERSAVE_STACK_SIZE
98-
#define CONFIG_POWERSAVE_STACK_SIZE CONFIG_NXP_WIFI_POWERSAVE_STACK_SIZE
99-
#endif
100-
101-
#if CONFIG_NXP_WIFI_TX_STACK_SIZE
102-
#define CONFIG_TX_STACK_SIZE CONFIG_NXP_WIFI_TX_STACK_SIZE
103-
#endif
104-
105-
#if CONFIG_NXP_WIFI_DRIVER_STACK_SIZE
106-
#define CONFIG_DRIVER_STACK_SIZE CONFIG_NXP_WIFI_DRIVER_STACK_SIZE
107-
#endif
108-
109-
#if CONFIG_NXP_WIFI_DHCP_SERVER_STACK_SIZE
110-
#define CONFIG_DHCP_SERVER_STACK_SIZE CONFIG_NXP_WIFI_DHCP_SERVER_STACK_SIZE
111-
#endif
112-
11385
#if CONFIG_NXP_WIFI_11AX
11486
#define CONFIG_11AX 1
11587
#endif

mcux/middleware/wifi_nxp/incl/port/osa/osa.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
* The BSD-3-Clause license can be found at https://spdx.org/licenses/BSD-3-Clause.html
6+
*/
7+
/*!\file osa.h
8+
*\brief This file contains OSA wrapper declarations for timer, read/write lock and idle hook.
9+
*/
110

211
#ifndef _OSA_H_
312
#define _OSA_H_

mcux/middleware/wifi_nxp/incl/wifidriver/wifi-decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ typedef PACK_START struct
12051205
} PACK_END wifi_btwt_config_t;
12061206

12071207
#define WLAN_BTWT_REPORT_LEN 9
1208-
#define WLAN_BTWT_REPORT_MAX_NUM 4
1208+
#define WLAN_BTWT_REPORT_MAX_NUM 6
12091209
/** Wi-Fi TWT Report Configuration */
12101210
typedef PACK_START struct
12111211
{

mcux/middleware/wifi_nxp/incl/wifidriver/wifi.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,20 @@
5959
#define WLAN_CAU_TEMPERATURE_ADDR (0x4500400CU)
6060
#define WLAN_CAU_TEMPERATURE_FW_ADDR (0x41382490U)
6161
#define WLAN_FW_WAKE_STATUS_ADDR (0x40031068U)
62+
#define WLAN_PMIP_TSEN_ADDR (0x45004010U)
63+
#define WLAN_V33_VSEN_ADDR (0x45004028U)
64+
#define WLAN_ADC_CTRL_ADDR (0x45004000U)
6265
#endif
6366

6467
#ifdef RW610
6568
#define RW610_PACKAGE_TYPE_QFN 0
6669
#define RW610_PACKAGE_TYPE_CSP 1
6770
#define RW610_PACKAGE_TYPE_BGA 2
71+
#define RW610_PACKAGE_TYPE_WW 0x00
72+
#define RW610_PACKAGE_TYPE_FCC 0x10
73+
#define RW610_PACKAGE_TYPE_EU 0x30
74+
#define RW610_PACKAGE_TYPE_CN 0x50
75+
#define RW610_PACKAGE_TYPE_JP 0xFF
6876
#endif
6977

7078
#define WIFI_COMMAND_RESPONSE_WAIT_MS 20000
@@ -1854,6 +1862,25 @@ typedef struct _wifi_ecsa_info
18541862
t_u8 channel;
18551863
} wifi_ecsa_info;
18561864

1865+
#if CONFIG_CSI
1866+
typedef enum _csi_state
1867+
{
1868+
csi_enabled = 0,
1869+
csi_disabled,
1870+
csiconfig_wrong,
1871+
csiinternal_restart,
1872+
csiinternal_stop,
1873+
csiinternal_disabled,
1874+
} csi_state;
1875+
1876+
typedef MLAN_PACK_START struct _wifi_csi_status_info
1877+
{
1878+
csi_state status;
1879+
t_u8 channel;
1880+
t_u16 cnt;
1881+
} MLAN_PACK_END wifi_csi_status_info;
1882+
#endif
1883+
18571884
#ifdef RW610
18581885
#if CONFIG_HOST_SLEEP
18591886
extern int wakeup_by;
@@ -1991,6 +2018,7 @@ int wifi_dual_ant_duty_cycle(t_u16 enable, t_u16 nbTime, t_u16 wlanTime, t_u16 w
19912018
void wifi_cau_temperature_enable(void);
19922019
int wifi_cau_temperature_write_to_firmware(void);
19932020
int32_t wifi_get_temperature(void);
2021+
void wifi_pmip_v33_enable();
19942022
#endif
19952023

19962024
#if (CONFIG_WIFI_IND_RESET) && (CONFIG_WIFI_IND_DNLD)

mcux/middleware/wifi_nxp/incl/wifidriver/wifi_events.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ enum wifi_event
165165
#if CONFIG_CSI
166166
/* Recv csi data */
167167
WIFI_EVENT_CSI,
168+
WIFI_EVENT_CSI_STATUS,
168169
#endif
169170
#if (CONFIG_11MC) || (CONFIG_11AZ)
170171
/* Event to trigger or stop ftm*/

0 commit comments

Comments
 (0)