Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_wifi: Fix the receive address API to get proper BSSID #1246

Merged
merged 1 commit into from
Mar 6, 2024
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: 4 additions & 0 deletions nrf_wifi/fw_if/umac_if/src/fmac_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ unsigned char *nrf_wifi_util_get_ra(struct nrf_wifi_fmac_vif_ctx *vif,
#ifdef CONFIG_NRF700X_RAW_DATA_TX
|| (vif->if_type == NRF_WIFI_STA_TX_INJECTOR)
#endif /* CONFIG_NRF700X_RAW_DATA_TX */
#ifdef CONFIG_NRF700X_PROMISC_DATA_RX
|| (vif->if_type == NRF_WIFI_STA_PROMISC)
|| (vif->if_type == NRF_WIFI_STA_PROMISC_TX_INJECTOR)
#endif
) {
return vif->bssid;
}
Expand Down
4 changes: 2 additions & 2 deletions nrf_wifi/fw_if/umac_if/src/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ enum nrf_wifi_status nrf_wifi_fmac_rx_event_process(struct nrf_wifi_fmac_dev_ctx
nrf_wifi_osal_nbuf_free(fmac_dev_ctx->fpriv->opriv,
nwb);
}
#ifdef CONFIG_NRF700X_RAW_DATA_RX
#if defined(CONFIG_NRF700X_RAW_DATA_RX) || defined(CONFIG_NRF700X_PROMISC_DATA_RX)
else if (config->rx_pkt_type == NRF_WIFI_RAW_RX_PKT) {
raw_rx_hdr.frequency = config->frequency;
raw_rx_hdr.signal = config->signal;
Expand All @@ -388,7 +388,7 @@ enum nrf_wifi_status nrf_wifi_fmac_rx_event_process(struct nrf_wifi_fmac_dev_ctx
&raw_rx_hdr,
true);
}
#endif /* CONFIG_NRF700X_RAW_DATA_RX */
#endif /* CONFIG_NRF700X_RAW_DATA_RX || CONFIG_NRF700X_PROMISC_DATA_RX */
else {
nrf_wifi_osal_log_err(fmac_dev_ctx->fpriv->opriv,
"%s: Invalid frame type received %d",
Expand Down
Loading