GAS: Export gas_build_initial_resp()
This is needed for some GAS error response messages where the ANQP Advertisement Protocol element is not used.
This commit is contained in:
parent
696be77eee
commit
69fbdfe48d
2 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,7 @@ gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static struct wpabuf *
|
struct wpabuf *
|
||||||
gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay,
|
gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay,
|
||||||
size_t size)
|
size_t size)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#define GAS_H
|
#define GAS_H
|
||||||
|
|
||||||
struct wpabuf * gas_build_comeback_req(u8 dialog_token);
|
struct wpabuf * gas_build_comeback_req(u8 dialog_token);
|
||||||
|
struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
|
||||||
|
u16 comeback_delay, size_t size);
|
||||||
struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
|
struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
|
||||||
struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
|
struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
|
||||||
u16 comeback_delay, size_t size);
|
u16 comeback_delay, size_t size);
|
||||||
|
|
Loading…
Reference in a new issue