hostapd/wlantest
Gokul Sivakumar daea5ceada wlantest: Add new cli "help" command
Having a help cli command to view all the supported commands is helpful
when running the wlantest_cli manually instead via the python test
scripts.

$ wlantest_cli help
commands:
  ping = test connection to wlantest
  terminate = terminate wlantest
  list_bss = get BSS list
  list_sta <BSSID> = get STA list
  flush = drop all collected BSS data
  clear_sta_counters <BSSID> <STA> = clear STA counters
  clear_bss_counters <BSSID> = clear BSS counters
  get_sta_counter <counter> <BSSID> <STA> = get STA counter value
  get_bss_counter <counter> <BSSID> = get BSS counter value
  inject <frame> <prot> <sender> <BSSID> <STA/ff:ff:ff:ff:ff:ff>
  send <prot> <raw frame as hex dump>
  version = get wlantest version
  add_passphrase <passphrase> = add a known passphrase
  add_wepkey <WEP key> = add a known WEP key
  info_sta <field> <BSSID> <STA> = get STA information
  info_bss <field> <BSSID> = get BSS information
  clear_tdls_counters <BSSID> <STA1> <STA2> = clear TDLS counters
  get_tdls_counter <counter> <BSSID> <STA1> <STA2> = get TDLS counter value
  get_bss_counter <counter> <BSSID> = get BSS counter value
  relog = re-open log-file (allow rolling logs)
  get_tx_tid <BSSID> <STA> <TID> = get STA TX TID counter value
  get_rx_tid <BSSID> <STA> <TID> = get STA RX TID counter value
  help = show this usage help

$ wlantest_cli help add_passphrase
commands:
  add_passphrase <passphrase> = add a known passphrase

Signed-off-by: Gokul Sivakumar <gokulkumar792@gmail.com>
2021-12-11 21:44:21 +02:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Fix PMK length and passphrase-based key derivation for FT 2021-10-14 16:28:02 +03:00
ccmp.c Rename the Frame Control field subfield Order define to +HTC 2021-05-06 12:12:51 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c Rename the Frame Control field subfield Order define to +HTC 2021-05-06 12:12:51 +03:00
inject.c Replace "dummy" with "stub" in wlantest injection 2021-10-11 20:53:11 +03:00
Makefile wlantest: Include PASN into build 2021-01-25 18:35:50 +02:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: TKIP frame reassembly for Michael MIC check in fragmented case 2021-05-11 21:13:56 +03:00
rx_eapol.c wlantest: Fix PMK length and passphrase-based key derivation for FT 2021-10-14 16:28:02 +03:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c wlantest: Add more details about protected FTM frames 2021-02-07 13:11:34 +02:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Add new key_mgmt and rsn_capab values for BSS/STA debug prints 2021-02-07 13:57:03 +02:00
test_vectors.c wlantest: TKIP frame reassembly for Michael MIC check in fragmented case 2021-05-11 21:13:56 +03:00
tkip.c wlantest: TKIP frame reassembly for Michael MIC check in fragmented case 2021-05-11 21:13:56 +03:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Properly free allocated memory on error exit paths 2021-12-11 21:37:06 +02:00
wlantest.h wlantest: TKIP frame reassembly for Michael MIC check in fragmented case 2021-05-11 21:13:56 +03:00
wlantest_cli.c wlantest: Add new cli "help" command 2021-12-11 21:44:21 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00