• Home
  • Raw
  • Download

Lines Matching refs:hapd

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