mirror of
				https://github.com/berlin-open-wireless-lab/DAWN.git
				synced 2025-03-09 15:40:12 +00:00 
			
		
		
		
	datastorage: debug rrm capabilities
This adds a debugging line showing the RRM report capabilities bits. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
		
							parent
							
								
									ec9a3a96e8
								
							
						
					
					
						commit
						1e4871d70a
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -395,6 +395,13 @@ void send_beacon_reports(struct dawn_mac bssid, int id) {
 | 
			
		|||
 | 
			
		||||
    // Go threw clients
 | 
			
		||||
    while (i != NULL && mac_is_equal_bb(i->bssid_addr, bssid)) {
 | 
			
		||||
#ifndef DAWN_NO_OUTPUT
 | 
			
		||||
        printf("Client " MACSTR ": rrm_enabled_capa=%02x: PASSIVE=%d, ACTIVE=%d, TABLE=%d\n",
 | 
			
		||||
            MAC2STR(i->client_addr.u8), i->rrm_enabled_capa,
 | 
			
		||||
            !!(i->rrm_enabled_capa & WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE),
 | 
			
		||||
            !!(i->rrm_enabled_capa & WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE),
 | 
			
		||||
            !!(i->rrm_enabled_capa & WLAN_RRM_CAPS_BEACON_REPORT_TABLE));
 | 
			
		||||
#endif
 | 
			
		||||
        if (i->rrm_enabled_capa &
 | 
			
		||||
            (WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE |
 | 
			
		||||
                WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue