mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-29 09:32:34 +00:00 
			
		
		
		
	 f39339564a
			
		
	
	f39339564a
	
	
	
		
			
			1. porting MorseMicro HaLow driver to support HaLow on EAP112 2. Only support FCC regulation because of hardware limitation 3. Add /etc/init.d/halow-gpio-reset to initialize HaLow chip in early stage 4. Add /etc/uci-defaults/aaa-fix-phy0-to-morse to correct the default uci for HaLow radio. Signed-off-by: Ian Chen <ian77_chen@accton.com>
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 5433351ed5ab62c2d4fbd15a2c4d8c4aeacb93dc Mon Sep 17 00:00:00 2001
 | |
| From: Evan Benn <evan.benn@morsemicro.com>
 | |
| Date: Thu, 29 Feb 2024 11:09:38 +1100
 | |
| Subject: [PATCH] APP-2573: Emit a DPP PB_STATUS event when push button starts
 | |
| 
 | |
| ---
 | |
|  src/ap/dpp_hostapd.c            | 1 +
 | |
|  wpa_supplicant/dpp_supplicant.c | 2 ++
 | |
|  2 files changed, 3 insertions(+)
 | |
| 
 | |
| diff --git a/src/ap/dpp_hostapd.c b/src/ap/dpp_hostapd.c
 | |
| index b7cca47c714b..3025eef204d2 100644
 | |
| --- a/src/ap/dpp_hostapd.c
 | |
| +++ b/src/ap/dpp_hostapd.c
 | |
| @@ -3960,6 +3960,7 @@ int hostapd_dpp_push_button(struct hostapd_data *hapd, const char *cmd)
 | |
|  	eloop_register_timeout(100, 0, hostapd_dpp_push_button_expire,
 | |
|  			       hapd, NULL);
 | |
|  
 | |
| +	wpa_msg(hapd->msg_ctx, MSG_INFO, DPP_EVENT_PB_STATUS "started");
 | |
|  	return 0;
 | |
|  }
 | |
|  
 | |
| diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
 | |
| index ab06ff8d32c1..24e4bb3c444d 100644
 | |
| --- a/wpa_supplicant/dpp_supplicant.c
 | |
| +++ b/wpa_supplicant/dpp_supplicant.c
 | |
| @@ -5676,6 +5676,7 @@ static int wpas_dpp_push_button_configurator(struct wpa_supplicant *wpa_s,
 | |
|  	eloop_register_timeout(100, 0, wpas_dpp_push_button_expire,
 | |
|  			       wpa_s, NULL);
 | |
|  
 | |
| +	wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_PB_STATUS "started");
 | |
|  	return 0;
 | |
|  }
 | |
|  
 | |
| @@ -5749,6 +5750,7 @@ int wpas_dpp_push_button(struct wpa_supplicant *wpa_s, const char *cmd)
 | |
|  	wpa_supplicant_req_scan(wpa_s, 0, 0);
 | |
|  
 | |
|  	res = 0;
 | |
| +	wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_PB_STATUS "started");
 | |
|  out:
 | |
|  
 | |
|  	/* If push button mode failed to start, restart the chirp forever timer */
 | |
| -- 
 | |
| 2.42.0.530.g692be87cbba5
 | |
| 
 |