Skip to content

Commit

Permalink
drivers: wifi: Update RPU patch to rev#5231057e7e4
Browse files Browse the repository at this point in the history
UMAC:
       [SHEL-2995]: Provision added for parsing keep alive parameters
                    in command init.
       Adding variable in init command to enable null-frame based
       power save and sending that information to lmac after reset.
       Merging 70mai changes.

LMAC:
       [SHEL-2995]: Corresponding changes for keep alive.
       [SHEL-2919]: Config option added to avoid sending pspoll frames
                    for retrieving incoming data in power save mode.
                    Asserted event to switch device state to active
                    from UMAC which triggers null frames.
       [NRFX178]:  Added check to disable watchdog irq if value is zero.
                   Fast power save or null frame based data retrieve
                   is moved to init command from seperate command.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
  • Loading branch information
karun2796 authored and krish2718 committed Aug 20, 2024
1 parent d816543 commit cca8cda
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,16 @@ enum op_band {
BAND_24G
};

/**
* @brief This enum defines keep alive status.
*/
enum nrf_wifi_keep_alive_status {
/** Keep alive feature disabled */
KEEP_ALIVE_DISABLED = 0,
/** Keep alive feature enabled */
KEEP_ALIVE_ENABLED = 1
};

/**
* @brief This enum specifies the type of frames used to retrieve buffered data
* from the AP in power save mode.
Expand Down Expand Up @@ -889,6 +899,16 @@ struct nrf_wifi_cmd_sys_init {
* from the AP in power save @ref data_retrieve_mechanism.
*/
unsigned char ps_data_retrieval_mech;
/** The RPU uses this value to configure watchdog timer */
unsigned int watchdog_timer_val;
/** The RPU uses this value to decide whether keep alive
* feature is enabled or not see enum keep_alive_status
*/
unsigned char keep_alive_enable;
/** The RPU uses this value(in seconds) for periodicity of the keep
* alive frame.
*/
unsigned int keep_alive_period;
} __NRF_WIFI_PKD;

/**
Expand Down
2 changes: 1 addition & 1 deletion nrf_wifi/fw_if/umac_if/inc/fw/lmac_if_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define RPU_MEM_LMAC_VER 0xB7000D54

#define RPU_MEM_LMAC_PATCH_BIN 0x80044000
#define RPU_MEM_LMAC_PATCH_BIMG 0x8004B000
#define RPU_MEM_LMAC_PATCH_BIMG 0x8004B400

#define NRF_WIFI_LMAC_VER(ver) ((ver & 0xFF000000) >> 24)
#define NRF_WIFI_LMAC_VER_MAJ(ver) ((ver & 0x00FF0000) >> 16)
Expand Down

0 comments on commit cca8cda

Please sign in to comment.