| wpa_supplicant / hostapd
    2.5
    | 
Generic advertisement service (GAS) (IEEE 802.11u) Copyright (c) 2011-2012, Qualcomm Atheros. More...
Go to the source code of this file.
| Functions | |
| struct wpabuf * | gas_build_initial_req (u8 dialog_token, size_t size) | 
| 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_resp (u8 dialog_token, u16 status_code, u16 comeback_delay, size_t size) | 
| struct wpabuf * | gas_anqp_build_initial_resp_buf (u8 dialog_token, u16 status_code, u16 comeback_delay, struct wpabuf *payload) | 
| struct wpabuf * | gas_anqp_build_comeback_resp (u8 dialog_token, u16 status_code, u8 frag_id, u8 more, u16 comeback_delay, size_t size) | 
| struct wpabuf * | gas_anqp_build_comeback_resp_buf (u8 dialog_token, u16 status_code, u8 frag_id, u8 more, u16 comeback_delay, struct wpabuf *payload) | 
| void | gas_anqp_set_len (struct wpabuf *buf) | 
| Set Query Request/Response Length.  More... | |
| u8 * | gas_anqp_add_element (struct wpabuf *buf, u16 info_id) | 
| Add ANQP element header.  More... | |
| void | gas_anqp_set_element_len (struct wpabuf *buf, u8 *len_pos) | 
| Update ANQP element Length field.  More... | |
Generic advertisement service (GAS) (IEEE 802.11u) Copyright (c) 2011-2012, Qualcomm Atheros.
| u8* gas_anqp_add_element | ( | struct wpabuf * | buf, | 
| u16 | info_id | ||
| ) | 
Add ANQP element header.
| buf | GAS message | 
| info_id | ANQP Info ID | 
| void gas_anqp_set_element_len | ( | struct wpabuf * | buf, | 
| u8 * | len_pos | ||
| ) | 
Update ANQP element Length field.
| buf | GAS message | 
| len_pos | Length field position from gas_anqp_add_element() | 
This function is called after the ANQP element payload has been added to the buffer.
| void gas_anqp_set_len | ( | struct wpabuf * | buf | ) | 
Set Query Request/Response Length.
| buf | GAS message | 
This function is used to update the Query Request/Response Length field once the payload has been filled.
 1.8.6
 1.8.6