Lines Matching refs:eid
20 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_hs20_indication() argument
24 return eid; in hostapd_eid_hs20_indication()
25 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_hs20_indication()
26 *eid++ = 7; in hostapd_eid_hs20_indication()
27 WPA_PUT_BE24(eid, OUI_WFA); in hostapd_eid_hs20_indication()
28 eid += 3; in hostapd_eid_hs20_indication()
29 *eid++ = HS20_INDICATION_OUI_TYPE; in hostapd_eid_hs20_indication()
34 *eid++ = conf; in hostapd_eid_hs20_indication()
35 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
36 eid += 2; in hostapd_eid_hs20_indication()
38 return eid; in hostapd_eid_hs20_indication()
42 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_osen() argument
48 return eid; in hostapd_eid_osen()
50 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_osen()
51 len = eid++; /* to be filled */ in hostapd_eid_osen()
52 WPA_PUT_BE24(eid, OUI_WFA); in hostapd_eid_osen()
53 eid += 3; in hostapd_eid_osen()
54 *eid++ = HS20_OSEN_OUI_TYPE; in hostapd_eid_osen()
57 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_NO_GROUP_ADDRESSED); in hostapd_eid_osen()
58 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
61 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
62 eid += 2; in hostapd_eid_osen()
63 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_CCMP); in hostapd_eid_osen()
64 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
67 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
68 eid += 2; in hostapd_eid_osen()
69 RSN_SELECTOR_PUT(eid, RSN_AUTH_KEY_MGMT_OSEN); in hostapd_eid_osen()
70 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
85 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
86 eid += 2; in hostapd_eid_osen()
88 *len = eid - len - 1; in hostapd_eid_osen()
90 return eid; in hostapd_eid_osen()