Lines Matching refs:sta_info
256 static enum wifi_link_mode get_sta_link_mode(struct hostapd_iface *iface, struct sta_info *sta) in get_sta_link_mode()
258 static enum wifi_link_mode get_sta_link_mode(struct wpa_supplicant *wpa_s, struct sta_info *sta) in get_sta_link_mode()
289 static bool is_twt_capable(struct hostapd_iface *iface, struct sta_info *sta) in is_twt_capable()
298 static bool is_twt_capable(struct wpa_supplicant *wpa_s, struct sta_info *sta) in is_twt_capable()
331 struct sta_info *sta = data; in supplicant_send_wifi_mgmt_ap_sta_event()
339 struct wifi_ap_sta_info sta_info = { 0 }; in supplicant_send_wifi_mgmt_ap_sta_event() local
345 memcpy(sta_info.mac, sta->addr, sizeof(sta_info.mac)); in supplicant_send_wifi_mgmt_ap_sta_event()
348 sta_info.link_mode = get_sta_link_mode(ap_ctx, sta); in supplicant_send_wifi_mgmt_ap_sta_event()
349 sta_info.twt_capable = is_twt_capable(ap_ctx, sta); in supplicant_send_wifi_mgmt_ap_sta_event()
354 (void *)&sta_info, in supplicant_send_wifi_mgmt_ap_sta_event()
355 sizeof(sta_info)); in supplicant_send_wifi_mgmt_ap_sta_event()