Lines Matching full:hapd
23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
40 hapd->noa_enabled = 0;
41 hapd->noa_start = 0;
42 hapd->noa_duration = 0;
48 return hostapd_driver_set_noa(hapd, count, start, duration);
51 hapd->noa_enabled = 1;
52 hapd->noa_start = start;
53 hapd->noa_duration = duration;
55 if (hapd->num_sta_no_p2p == 0) {
58 return hostapd_driver_set_noa(hapd, count, start, duration);
68 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd)
72 if (hapd->noa_enabled) {
74 hostapd_driver_set_noa(hapd, 0, 0, 0);
79 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd)
83 if (hapd->noa_enabled) {
85 hostapd_driver_set_noa(hapd, 255, hapd->noa_start,
86 hapd->noa_duration);
94 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid)
106 if (hapd->conf->p2p & P2P_ALLOW_CROSS_CONNECTION)