Searched refs:sniffer (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/examples/network/simple_sniffer/main/ |
D | cmd_sniffer.c | 63 static esp_err_t sniffer_stop(sniffer_runtime_t *sniffer); 137 wifi_promiscuous_pkt_t *sniffer = (wifi_promiscuous_pkt_t *)recv_buf; in wifi_sniffer_cb() local 139 packet_info.seconds = sniffer->rx_ctrl.timestamp / 1000000U; in wifi_sniffer_cb() 140 packet_info.microseconds = sniffer->rx_ctrl.timestamp % 1000000U; in wifi_sniffer_cb() 141 packet_info.length = sniffer->rx_ctrl.sig_len; in wifi_sniffer_cb() 144 if (type != WIFI_PKT_MISC && !sniffer->rx_ctrl.rx_state) { in wifi_sniffer_cb() 146 queue_packet(sniffer->payload, &packet_info); in wifi_sniffer_cb() 173 sniffer_runtime_t *sniffer = (sniffer_runtime_t *)parameters; in sniffer_task() local 175 while (sniffer->is_running) { in sniffer_task() 176 if (sniffer->packets_to_sniff == 0) { in sniffer_task() [all …]
|
D | Kconfig.projbuild | 80 int "Length of sniffer work queue" 83 …The sniffer callback function should not do heavy work, so we put all heavy IO operation to anothe… 84 The task gets some basic info of sniffer packet via queue. 88 int "Stack size of sniffer task" 91 Stack size of sniffer task. 94 int "Priority of sniffer task" 97 Priority of sniffer task.
|
/hal_espressif-3.6.0/examples/network/simple_sniffer/ |
D | README.md | 7 This example demonstrates basic usage of WiFi and Ethernet sniffer mode by saving packets into SD c… 35 - Set the length of sniffer work queue in `Length of sniffer work queue` menu item. 36 - Set the stack size of the sniffer task in `Stack size of sniffer task` menu item. 37 - Set the priority of the sniffer task in `Length of sniffer work queue` menu item. 56 ### `sniffer` Command Usage 58 > sniffer [-i <wlan|eth0|eth1|...>] [-F <mgmt|data|ctrl|misc|mpdu|ampdu|fcsfail>]... [-c <channel>… 63 > --stop stop running sniffer 66 The `sniffer` command support some important options as follow: 77 … number of packages to capture in this sniffer job. The sniffer job will stop automatically withou… 78 * `--stop`: Stop sniffer job [all …]
|
/hal_espressif-3.6.0/examples/openthread/ot_rcp/ |
D | README.md | 10 - Work as a [Thread Sniffer](https://openthread.io/guides/pyspinel/sniffer). 38 Please refer to [Thread Sniffer](https://openthread.io/guides/pyspinel/sniffer) for the detailed in…
|
/hal_espressif-3.6.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wps.c | 2035 bool sniffer = false; in wps_check_wifi_mode() local 2045 ret = esp_wifi_get_promiscuous(&sniffer); in wps_check_wifi_mode() 2055 mode == WIFI_MODE_NULL || sniffer == true) { in wps_check_wifi_mode() 2056 wpa_printf(MSG_ERROR, "wps check wifi mode: wrong wifi mode=%d sniffer=%d", mode, sniffer); in wps_check_wifi_mode()
|
/hal_espressif-3.6.0/docs/en/api-guides/ |
D | wifi.rst | 1721 The Wi-Fi sniffer mode can be enabled by esp_wifi_set_promiscuous(). If the sniffer mode is enabled… 1725 - 802.11 MIMO frame, for MIMO frame, the sniffer only dumps the length of the frame. 1732 For frames that the sniffer **can** dump, the application can additionally decide which specific ty… 1734 …sniffer mode can be enabled in the Wi-Fi mode of WIFI_MODE_NULL, or WIFI_MODE_STA, or WIFI_MODE_AP… 1736 Another noteworthy issue about the sniffer is the callback wifi_promiscuous_cb_t. The callback will… 1845 …receives packets from AP when it is connected, it is suggested to enable sniffer mode to receive m…
|