Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

[nrf noup] zephyr: Fix MBO and GAS dependency #136

Merged
merged 1 commit into from
Nov 29, 2023
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: 2 additions & 2 deletions wpa_supplicant/mbo.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ void wpas_mbo_update_cell_capa(struct wpa_supplicant *wpa_s, u8 mbo_cell_capa)
wpas_update_mbo_connect_params(wpa_s);
}


#ifdef CONFIG_GAS
struct wpabuf * mbo_build_anqp_buf(struct wpa_supplicant *wpa_s,
struct wpa_bss *bss, u32 mbo_subtypes)
{
Expand Down Expand Up @@ -645,7 +645,7 @@ struct wpabuf * mbo_build_anqp_buf(struct wpa_supplicant *wpa_s,

return anqp_buf;
}

#endif /* CONFIG_GAS */

void mbo_parse_rx_anqp_resp(struct wpa_supplicant *wpa_s,
struct wpa_bss *bss, const u8 *sa,
Expand Down
2 changes: 2 additions & 0 deletions wpa_supplicant/wpa_supplicant_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -1702,8 +1702,10 @@ size_t wpas_mbo_ie_bss_trans_reject(struct wpa_supplicant *wpa_s, u8 *pos,
size_t len,
enum mbo_transition_reject_reason reason);
void wpas_mbo_update_cell_capa(struct wpa_supplicant *wpa_s, u8 mbo_cell_capa);
#ifdef CONFIG_GAS
struct wpabuf * mbo_build_anqp_buf(struct wpa_supplicant *wpa_s,
struct wpa_bss *bss, u32 mbo_subtypes);
#endif /* CONFIG_GAS */
void mbo_parse_rx_anqp_resp(struct wpa_supplicant *wpa_s,
struct wpa_bss *bss, const u8 *sa,
const u8 *data, size_t slen);
Expand Down