@@ -141,6 +141,8 @@ sub altsleep {
141
141
" no-supp-op-class-ie" => 0x4000000000, # Do not include supported-oper-class-IE in assoc requests. May work around AP bugs.
142
142
" txo-enable" => 0x8000000000, # Enable/disable tx-offloads, typically managed by set_wifi_txo command
143
143
" wpa3" => 0x10000000000, # Enable WPA-3 (SAE Personal) mode.
144
+ " use-bss-transition" => 0x80000000000, # Enable BSS transition.
145
+ " disable-twt" => 0x100000000000, # Disable TWT mode
144
146
);
145
147
our %ieee80211w_options = (
146
148
" disabled" => 0,
@@ -231,7 +233,7 @@ sub altsleep {
231
233
[--ssid {ssid}] # e.g. jedtest
232
234
[--bssid {aa:bb:cc:00:11:22, or DEFAULT} # AP BSSID to connect to
233
235
[--security {open|wep|wpa|wpa2|wpa3}] # station authentication type, Default is open
234
- [--xsec {comma,separated,list} ] # dot1x, 11u, other features, read script
236
+ [--xsec {comma,separated,list} ] # dot1x, 11u, other features, read script {to set flags same as in add_sta}
235
237
[--passphrase {...}] # Set security too if you want to enable security
236
238
[--wifi_mode {$mode_list }]
237
239
[--ieee80211w {disabled,optional,required}] # protected management frames (wpa2-ent/wpa3) also { NA, 0, 1, 2 }
@@ -345,6 +347,10 @@ sub altsleep {
345
347
346
348
$0 --mgr ben-ota-1 --resource 2 --action del_all_phy --port_del wiphy0
347
349
350
+ ## Create a station and set Flags
351
+
352
+ $0 --mgr localhost --radio wiphy1 --ssid sushant-AP --action add --num_stations 1 \\
353
+ --xsec use-bss-transition --first_ip DHCP
348
354
) ;
349
355
350
356
my $shelf_num = 1;
0 commit comments