mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-11-04 00:37:22 +01:00 
			
		
		
		
	unit: Add setting of AP RSNE
This commit is contained in:
		
							parent
							
								
									9760bcb5c3
								
							
						
					
					
						commit
						b43a4610f7
					
				@ -613,6 +613,11 @@ static void eapol_sm_test(const void *data)
 | 
			
		||||
		0x7a, 0x5e, 0xbb, 0x2a, 0x54, 0x9f, 0x8c, 0xd4,
 | 
			
		||||
		0xed, 0xab, 0x8e, 0xe1, 0x2e, 0x94, 0xbf, 0xc2,
 | 
			
		||||
		0x4b, 0x33, 0x57, 0xad, 0x04, 0x96, 0x65, 0xd9 };
 | 
			
		||||
	const unsigned char ap_rsne[] = {
 | 
			
		||||
		0x30, 0x14, 0x01, 0x00, 0x00, 0x0f, 0xac, 0x04,
 | 
			
		||||
		0x01, 0x00, 0x00, 0x0f, 0xac, 0x04, 0x01, 0x00,
 | 
			
		||||
		0x00, 0x0f, 0xac, 0x02, 0x00, 0x00 };
 | 
			
		||||
 | 
			
		||||
	struct eapol_sm *sm;
 | 
			
		||||
 | 
			
		||||
	eapol_init();
 | 
			
		||||
@ -626,6 +631,7 @@ static void eapol_sm_test(const void *data)
 | 
			
		||||
	eapol_sm_set_sta_address(sm, spa);
 | 
			
		||||
	eapol_sm_set_own_rsn(sm, eapol_key_data_4 + sizeof(struct eapol_key),
 | 
			
		||||
				eapol_key_test_4.key_data_len);
 | 
			
		||||
	eapol_sm_set_ap_rsn(sm, ap_rsne, sizeof(ap_rsne));
 | 
			
		||||
	eapol_start(1, sm);
 | 
			
		||||
 | 
			
		||||
	__eapol_set_tx_packet_func(verify_step2);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user