Lines Matching refs:eid
62 static u8 * hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid)
64 *eid++ = WLAN_EID_DS_PARAMS;
65 *eid++ = 1;
66 *eid++ = hapd->iconf->channel;
67 return eid;
71 static u8 * hostapd_eid_erp_info(struct hostapd_data *hapd, u8 *eid)
75 return eid;
87 *eid++ = WLAN_EID_ERP_INFO;
88 *eid++ = 1;
89 *eid++ = ieee802_11_erp_info(hapd);
91 return eid;
113 static u8 * hostapd_eid_country(struct hostapd_data *hapd, u8 *eid,
116 u8 *pos = eid;
117 u8 *end = eid + max_len;
125 return eid;
163 if ((pos - eid) & 1) {
165 return eid;
169 eid[1] = (pos - eid) - 2;
175 static u8 * hostapd_eid_wpa(struct hostapd_data *hapd, u8 *eid, size_t len)
182 return eid;
184 os_memcpy(eid, ie, ielen);
185 return eid + ielen;