Searched refs:sta_info (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/samples/net/wifi/apsta_mode/src/ |
D | main.c | 60 struct wifi_ap_sta_info *sta_info = (struct wifi_ap_sta_info *)cb->info; in wifi_event_handler() local 62 LOG_INF("station: " MACSTR " joined ", sta_info->mac[0], sta_info->mac[1], in wifi_event_handler() 63 sta_info->mac[2], sta_info->mac[3], sta_info->mac[4], sta_info->mac[5]); in wifi_event_handler() 67 struct wifi_ap_sta_info *sta_info = (struct wifi_ap_sta_info *)cb->info; in wifi_event_handler() local 69 LOG_INF("station: " MACSTR " leave ", sta_info->mac[0], sta_info->mac[1], in wifi_event_handler() 70 sta_info->mac[2], sta_info->mac[3], sta_info->mac[4], sta_info->mac[5]); in wifi_event_handler()
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_events.c | 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() [all …]
|
/Zephyr-latest/drivers/wifi/esp32/src/ |
D | esp_wifi_drv.c | 362 struct wifi_ap_sta_info sta_info; in esp_wifi_handle_ap_connect_event() local 364 sta_info.link_mode = WIFI_LINK_MODE_UNKNOWN; in esp_wifi_handle_ap_connect_event() 365 sta_info.twt_capable = false; /* Only support in 802.11ax */ in esp_wifi_handle_ap_connect_event() 366 sta_info.mac_length = WIFI_MAC_ADDR_LEN; in esp_wifi_handle_ap_connect_event() 367 memcpy(sta_info.mac, event->mac, WIFI_MAC_ADDR_LEN); in esp_wifi_handle_ap_connect_event() 378 sta_info.link_mode = WIFI_4; in esp_wifi_handle_ap_connect_event() 380 sta_info.link_mode = WIFI_3; in esp_wifi_handle_ap_connect_event() 382 sta_info.link_mode = WIFI_1; in esp_wifi_handle_ap_connect_event() 384 sta_info.link_mode = WIFI_LINK_MODE_UNKNOWN; in esp_wifi_handle_ap_connect_event() 390 wifi_mgmt_raise_ap_sta_connected_event(iface, &sta_info); in esp_wifi_handle_ap_connect_event() [all …]
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wpa_supp_if.c | 1239 vif_ctx_zep->inactive_time_sec = info->sta_info.inactive_time; in nrf_wifi_wpa_supp_event_proc_get_sta() 1248 if (info->sta_info.valid_fields & NRF_WIFI_STA_INFO_SIGNAL_VALID) { in nrf_wifi_wpa_supp_event_proc_get_sta() 1249 signal_info->data.signal = info->sta_info.signal; in nrf_wifi_wpa_supp_event_proc_get_sta() 1254 if (info->sta_info.valid_fields & NRF_WIFI_STA_INFO_SIGNAL_AVG_VALID) { in nrf_wifi_wpa_supp_event_proc_get_sta() 1255 signal_info->data.avg_signal = info->sta_info.signal_avg; in nrf_wifi_wpa_supp_event_proc_get_sta() 1260 if (info->sta_info.valid_fields & NRF_WIFI_STA_INFO_RX_BEACON_SIGNAL_AVG_VALID) { in nrf_wifi_wpa_supp_event_proc_get_sta() 1261 signal_info->data.avg_beacon_signal = info->sta_info.rx_beacon_signal_avg; in nrf_wifi_wpa_supp_event_proc_get_sta() 1268 if (info->sta_info.valid_fields & NRF_WIFI_STA_INFO_TX_BITRATE_VALID) { in nrf_wifi_wpa_supp_event_proc_get_sta() 1269 if (info->sta_info.tx_bitrate.valid_fields & NRF_WIFI_RATE_INFO_BITRATE_VALID) { in nrf_wifi_wpa_supp_event_proc_get_sta() 1270 signal_info->data.current_tx_rate = info->sta_info.tx_bitrate.bitrate * 100; in nrf_wifi_wpa_supp_event_proc_get_sta() [all …]
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_shell.c | 117 struct wifi_ap_sta_info sta_info; member 440 const struct wifi_ap_sta_info *sta_info = in handle_wifi_ap_sta_connected() local 447 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_connected() 453 sta_list[i].sta_info = *sta_info; in handle_wifi_ap_sta_connected() 467 const struct wifi_ap_sta_info *sta_info = in handle_wifi_ap_sta_disconnected() local 473 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_disconnected() 482 if (!memcmp(sta_list[i].sta_info.mac, sta_info->mac, in handle_wifi_ap_sta_disconnected() 2018 sta = &sta_list[i].sta_info; in cmd_wifi_ap_stations()
|
D | wifi_mgmt.c | 1416 struct wifi_ap_sta_info *sta_info) in wifi_mgmt_raise_ap_sta_connected_event() argument 1419 iface, sta_info, in wifi_mgmt_raise_ap_sta_connected_event() 1424 struct wifi_ap_sta_info *sta_info) in wifi_mgmt_raise_ap_sta_disconnected_event() argument 1427 iface, sta_info, in wifi_mgmt_raise_ap_sta_disconnected_event()
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_mgmt.h | 1711 struct wifi_ap_sta_info *sta_info); 1718 struct wifi_ap_sta_info *sta_info);
|
/Zephyr-latest/modules/hostap/ |
D | CMakeLists.txt | 196 ${HOSTAP_SRC_BASE}/ap/sta_info.c
|