# Verify hash filter function supporting maximum 500 hash values

wfa_control_agent_dut1!wlan_reset,interface,wl0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut1!wlan_initiation,interface,wl0,mode,standalone!ID,$DUT_MAC_ADDR1
wfa_control_agent_dut1!detect_sa_start,interval,100,txcnt,50,idlecnt,0,rxstart,1,rxcnt,1,hash,1a2b3c4d5e6f7980,datasize,1000,channel,13!ID,$DUT_WTS_VERSION

wfa_control_agent_dut2!wlan_reset,interface,wl0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!wlan_initiation,interface,wl0,mode,hostdriven!ID,$DUT_MAC_ADDR2
wfa_control_agent_dut2!detect_hd_start,send,disable,interval,100,hash,1a2b3c4d5e6f7980,datasize,1000,channel,13!ID,$DUT_WTS_VERSION

wfa_control_agent_dut1!detect_sa_set_hash,hash_start,0000000000000001,count,500!ID,$DUT_WTS_VERSION

pause!Press POWER button to set dut1 to sleep mode and wait OYASUMI shown!

wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash_start,0000000000000001,datasize,1000,interval,10,count,500,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash_start,0000000000000001,datasize,1000,interval,10,count,500,seq_start,500!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash_start,0000000000000001,datasize,1000,interval,10,count,500,seq_start,1000!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash_start,0000000000000001,datasize,1000,interval,10,count,500,seq_start,1500!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash_start,0000000000000001,datasize,1000,interval,10,count,500,seq_start,2000!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001F5,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001F6,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001F7,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001F8,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001F9,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001FA,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001FB,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!detect_hd_oneshot,cmd,1,hash,00000000000001FC,datasize,1000,interval,100,count,100,seq_start,0!ID,$DUT_WTS_VERSION

wfa_control_agent_dut2!detect_hd_stop,interface,wl0!ID,$DUT_WTS_VERSION
wfa_control_agent_dut2!wlan_uninitiation,interface,wl0!ID,$DUT_WTS_VERSION

pause!Press POWER Button to waking up dut1 and active TestAgent!

wfa_control_agent_dut1!detect_sa_fetch_frame,command,start!ID,$DUT_WTS_VERSION
sleep!1!
wfa_control_agent_dut1!detect_sa_fetch_frame,command,stop!ID,$DUT_WTS_VERSION

wfa_control_agent_dut1!detect_sa_stop!ID,$DUT_WTS_VERSION
wfa_control_agent_dut1!wlan_uninitiation,interface,wl0!ID,$DUT_WTS_VERSION

sleep!1!

getuserinput!Did DUT receive and only receive frames 1F5~1FC?[yes/no] : !$TEST_RESULT!
echo!$TEST_RESULT!

if!$TEST_RESULT!=!yes!
GotoLine!56!
endif!

if!$TEST_RESULT!=!no!
r_info!FAIL!DUT received unexpected frames!
else
GotoLine!43!
endif!

r_info!PASS!