Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.7.0/drivers/wifi/eswifi/
Deswifi_core.c262 LOG_DBG("Connecting to %s (pass=%s)", eswifi->sta.ssid, in eswifi_connect()
263 eswifi->sta.pass); in eswifi_connect()
268 snprintk(eswifi->buf, sizeof(eswifi->buf), "C1=%s\r", eswifi->sta.ssid); in eswifi_connect()
276 snprintk(eswifi->buf, sizeof(eswifi->buf), "C2=%s\r", eswifi->sta.pass); in eswifi_connect()
285 eswifi->sta.security); in eswifi_connect()
300 err = __parse_ipv4_address(rsp, eswifi->sta.ssid, in eswifi_connect()
312 eswifi->sta.connected = true; in eswifi_connect()
339 eswifi->sta.connected = false; in eswifi_disconnect()
369 if (rsp[0] == '0' && eswifi->sta.connected) { in eswifi_status_work()
370 eswifi->sta.connected = false; in eswifi_status_work()
[all …]
Deswifi.h68 struct eswifi_sta sta; member
/Zephyr-Core-3.7.0/modules/hostap/src/
Dsupp_events.c254 static enum wifi_link_mode get_sta_link_mode(struct wpa_supplicant *wpa_s, struct sta_info *sta) in get_sta_link_mode() argument
256 if (sta->flags & WLAN_STA_HE) { in get_sta_link_mode()
258 } else if (sta->flags & WLAN_STA_VHT) { in get_sta_link_mode()
260 } else if (sta->flags & WLAN_STA_HT) { in get_sta_link_mode()
262 } else if (sta->flags & WLAN_STA_NONERP) { in get_sta_link_mode()
273 static bool is_twt_capable(struct wpa_supplicant *wpa_s, struct sta_info *sta) in is_twt_capable() argument
295 struct sta_info *sta = data; in supplicant_send_wifi_mgmt_ap_sta_event() local
299 if (!wpa_s || !sta) { in supplicant_send_wifi_mgmt_ap_sta_event()
303 memcpy(sta_info.mac, sta->addr, sizeof(sta_info.mac)); in supplicant_send_wifi_mgmt_ap_sta_event()
306 sta_info.link_mode = get_sta_link_mode(wpa_s, sta); in supplicant_send_wifi_mgmt_ap_sta_event()
[all …]
/Zephyr-Core-3.7.0/drivers/wifi/esp32/src/
Desp_wifi_drv.c409 memcpy(wifi_config.sta.ssid, params->ssid, params->ssid_length); in esp32_wifi_connect()
410 wifi_config.sta.ssid[params->ssid_length] = '\0'; in esp32_wifi_connect()
413 wifi_config.sta.threshold.authmode = WIFI_AUTH_OPEN; in esp32_wifi_connect()
415 wifi_config.sta.pmf_cfg.required = false; in esp32_wifi_connect()
418 memcpy(wifi_config.sta.password, params->psk, params->psk_length); in esp32_wifi_connect()
419 wifi_config.sta.password[params->psk_length] = '\0'; in esp32_wifi_connect()
420 wifi_config.sta.threshold.authmode = WIFI_AUTH_WPA2_PSK; in esp32_wifi_connect()
421 wifi_config.sta.pmf_cfg.required = false; in esp32_wifi_connect()
427 memcpy(wifi_config.sta.password, params->sae_password, in esp32_wifi_connect()
429 wifi_config.sta.password[params->sae_password_length] = '\0'; in esp32_wifi_connect()
[all …]
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_e1000_priv.h62 uint8_t sta; member
72 uint8_t sta; member
Deth_e1000.c112 while (!(dev->tx.sta)) { in e1000_tx()
116 LOG_DBG("tx.sta: 0x%02hx", dev->tx.sta); in e1000_tx()
118 return (dev->tx.sta & TDESC_STA_DD) ? 0 : -EIO; in e1000_tx()
139 LOG_DBG("rx.sta: 0x%02hx", dev->rx.sta); in e1000_rx()
141 if (!(dev->rx.sta & RDESC_STA_DD)) { in e1000_rx()
/Zephyr-Core-3.7.0/subsys/net/l2/wifi/
Dwifi_shell.c1320 struct wifi_ap_sta_info *sta; in cmd_wifi_ap_stations() local
1327 sta = &sta_list[i].sta_info; in cmd_wifi_ap_stations()
1332 net_sprint_ll_addr_buf(sta->mac, in cmd_wifi_ap_stations()
1337 wifi_link_mode_txt(sta->link_mode)); in cmd_wifi_ap_stations()
1339 sta->twt_capable ? "Supported" : "Not supported"); in cmd_wifi_ap_stations()