Lines Matching defs:hapd
22 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid)
25 if (!hapd->conf->hs20)
28 *eid++ = hapd->conf->hs20_release < 2 ? 5 : 7;
32 conf = (hapd->conf->hs20_release - 1) << 4; /* Release Number */
33 if (hapd->conf->hs20_release >= 2)
35 if (hapd->conf->disable_dgaf)
38 if (hapd->conf->hs20_release >= 2) {
39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id);
47 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid)
52 if (!hapd->conf->osen)
79 if (hapd->conf->wmm_enabled) {
84 if (hapd->conf->ieee80211w != NO_MGMT_FRAME_PROTECTION) {
86 if (hapd->conf->ieee80211w == MGMT_FRAME_PROTECTION_REQUIRED)
91 if (hapd->conf->ocv)
103 int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
145 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
154 int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
180 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
189 int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd,
226 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
235 void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta,
244 wpa_msg(hapd->msg_ctx, MSG_INFO, HS20_T_C_FILTERING_ADD MACSTR,
252 wpa_msg(hapd->msg_ctx, MSG_INFO,