Lines Matching refs:sta_info
358 struct wifi_ap_sta_info sta_info; in esp_wifi_handle_ap_connect_event() local
360 sta_info.link_mode = WIFI_LINK_MODE_UNKNOWN; in esp_wifi_handle_ap_connect_event()
361 sta_info.twt_capable = false; /* Only support in 802.11ax */ in esp_wifi_handle_ap_connect_event()
362 sta_info.mac_length = WIFI_MAC_ADDR_LEN; in esp_wifi_handle_ap_connect_event()
363 memcpy(sta_info.mac, event->mac, WIFI_MAC_ADDR_LEN); in esp_wifi_handle_ap_connect_event()
374 sta_info.link_mode = WIFI_4; in esp_wifi_handle_ap_connect_event()
376 sta_info.link_mode = WIFI_3; in esp_wifi_handle_ap_connect_event()
378 sta_info.link_mode = WIFI_1; in esp_wifi_handle_ap_connect_event()
380 sta_info.link_mode = WIFI_LINK_MODE_UNKNOWN; in esp_wifi_handle_ap_connect_event()
386 wifi_mgmt_raise_ap_sta_connected_event(iface, &sta_info); in esp_wifi_handle_ap_connect_event()
403 struct wifi_ap_sta_info sta_info; in esp_wifi_handle_ap_disconnect_event() local
405 sta_info.link_mode = WIFI_LINK_MODE_UNKNOWN; in esp_wifi_handle_ap_disconnect_event()
406 sta_info.twt_capable = false; /* Only support in 802.11ax */ in esp_wifi_handle_ap_disconnect_event()
407 sta_info.mac_length = WIFI_MAC_ADDR_LEN; in esp_wifi_handle_ap_disconnect_event()
408 memcpy(sta_info.mac, event->mac, WIFI_MAC_ADDR_LEN); in esp_wifi_handle_ap_disconnect_event()
409 wifi_mgmt_raise_ap_sta_disconnected_event(iface, &sta_info); in esp_wifi_handle_ap_disconnect_event()