Lines Matching refs:eid
22 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_hs20_indication() argument
26 return eid; in hostapd_eid_hs20_indication()
27 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_hs20_indication()
28 *eid++ = hapd->conf->hs20_release < 2 ? 5 : 7; in hostapd_eid_hs20_indication()
29 WPA_PUT_BE24(eid, OUI_WFA); in hostapd_eid_hs20_indication()
30 eid += 3; in hostapd_eid_hs20_indication()
31 *eid++ = HS20_INDICATION_OUI_TYPE; in hostapd_eid_hs20_indication()
37 *eid++ = conf; in hostapd_eid_hs20_indication()
39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
40 eid += 2; in hostapd_eid_hs20_indication()
43 return eid; in hostapd_eid_hs20_indication()
47 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_osen() argument
53 return eid; in hostapd_eid_osen()
55 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_osen()
56 len = eid++; /* to be filled */ in hostapd_eid_osen()
57 WPA_PUT_BE24(eid, OUI_WFA); in hostapd_eid_osen()
58 eid += 3; in hostapd_eid_osen()
59 *eid++ = HS20_OSEN_OUI_TYPE; in hostapd_eid_osen()
62 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_NO_GROUP_ADDRESSED); in hostapd_eid_osen()
63 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
66 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
67 eid += 2; in hostapd_eid_osen()
68 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_CCMP); in hostapd_eid_osen()
69 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
72 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
73 eid += 2; in hostapd_eid_osen()
74 RSN_SELECTOR_PUT(eid, RSN_AUTH_KEY_MGMT_OSEN); in hostapd_eid_osen()
75 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
94 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
95 eid += 2; in hostapd_eid_osen()
97 *len = eid - len - 1; in hostapd_eid_osen()
99 return eid; in hostapd_eid_osen()