Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion drivers/wifi/nrf_wifi/src/net_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,9 @@ int nrf_wifi_stats_get(const struct device *dev, struct net_stats_wifi *zstats)
#endif /* CONFIG_NRF70_RAW_DATA_TX */

/* FMAC statistics */
status = nrf_wifi_sys_fmac_stats_get(rpu_ctx_zep->rpu_ctx, 0, &stats);
status = nrf_wifi_sys_fmac_stats_get(rpu_ctx_zep->rpu_ctx,
RPU_STATS_TYPE_ALL,
&stats);
if (status != NRF_WIFI_STATUS_SUCCESS) {
LOG_WRN("%s: nrf_wifi_fmac_stats_get failed", __func__);
/* Special value to indicate that
Expand Down
2 changes: 1 addition & 1 deletion drivers/wifi/nrf_wifi/src/wifi_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ static int nrf_wifi_util_dump_rpu_stats(const struct shell *sh,
fmac_dev_ctx = ctx->rpu_ctx;

memset(&stats, 0, sizeof(struct rpu_sys_op_stats));
status = nrf_wifi_sys_fmac_stats_get(fmac_dev_ctx, 0, &stats);
status = nrf_wifi_sys_fmac_stats_get(fmac_dev_ctx, stats_type, &stats);

if (status != NRF_WIFI_STATUS_SUCCESS) {
shell_fprintf(sh,
Expand Down
13 changes: 13 additions & 0 deletions drivers/wifi/nrf_wifi/src/wpa_supp_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -2699,7 +2699,19 @@ int nrf_wifi_wpa_supp_sta_add(void *if_priv, struct hostapd_sta_add_params *para
sta_info.sta_flags2.nrf_wifi_set = nrf_wifi_sta_flags_to_nrf(params->flags);
sta_info.sta_flags2.nrf_wifi_mask = sta_info.sta_flags2.nrf_wifi_set |
nrf_wifi_sta_flags_to_nrf(params->flags_mask);
#ifdef CONFIG_NRF71_ON_IPC
if (params->ht_capabilities) {
memcpy(&sta_info.ht_capability,
params->ht_capabilities,
sizeof(sta_info.ht_capability));
}

if (params->vht_capabilities) {
memcpy(&sta_info.vht_capability,
params->vht_capabilities,
sizeof(sta_info.vht_capability));
}
#else
if (params->ht_capabilities) {
memcpy(sta_info.ht_capability,
params->ht_capabilities,
Expand All @@ -2711,6 +2723,7 @@ int nrf_wifi_wpa_supp_sta_add(void *if_priv, struct hostapd_sta_add_params *para
params->vht_capabilities,
sizeof(sta_info.vht_capability));
}
#endif

memcpy(sta_info.mac_addr, params->addr, sizeof(sta_info.mac_addr));

Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ manifest:
revision: 26ed181181eed53e400db8f63fa83c566a05d971
path: modules/bsim_hw_models/nrf_hw_models
- name: nrf_wifi
revision: e269670cd17fb8ccc4b7004544276bc7d9578496
revision: a39e9b155830461c9d1cf587afb151b894369b91
path: modules/lib/nrf_wifi
- name: open-amp
revision: c30a6d8b92fcebdb797fc1a7698e8729e250f637
Expand Down
Loading