Compare commits
	
		
			2 Commits
		
	
	
		
			27506fa788
			...
			1e8b52fd03
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1e8b52fd03 | |||
| 2f1985b821 | 
@ -15,11 +15,15 @@ capwap/ssl-dhbits: 1024
 | 
				
			|||||||
capwap/ssl-keyfile:  "../../ssl/intermediate-ca/int-ca.key"
 | 
					capwap/ssl-keyfile:  "../../ssl/intermediate-ca/int-ca.key"
 | 
				
			||||||
capwap/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
 | 
					capwap/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cisco/ssl-keyfile:  "../../ssl/intermediate-ca/int-ca.key"
 | 
					#mod/cisco/ssl-keyfile:  "../../ssl/intermediate-ca/int-ca.key"
 | 
				
			||||||
cisco/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
 | 
					#mod/cisco/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					mod/cisco/ssl-keyfile:  "../../ssl/certs/ac-cisco.key"
 | 
				
			||||||
 | 
					mod/cisco/ssl-certfile: "../../ssl/certs/ac-cisco.pem"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#cisco/ssl-cipher: DEFAULT
 | 
					#cisco/ssl-cipher: DEFAULT
 | 
				
			||||||
cisco/ssl-cipher: RSA
 | 
					mod/cisco/ssl-cipher: RSA
 | 
				
			||||||
cisco/ssl-dhbits: 2048
 | 
					mod/cisco/ssl-dhbits: 2048
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -112,7 +116,7 @@ radio-cfg-a/cisco/direct-sequence-control/current-channel: 1
 | 
				
			|||||||
radio-cfg-a/cisco/direct-sequence-control/energy-detect-threshold: -50
 | 
					radio-cfg-a/cisco/direct-sequence-control/energy-detect-threshold: -50
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#mode-802.11g support
 | 
					#mode-802.11g support
 | 
				
			||||||
radio-cfg-a/cisco/direct-sequence-control/unknown: 1     
 | 
					#radio-cfg-a/cisco/direct-sequence-control/unknown: 1     
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
radio-cfg-a/cisco/mac-operation/fragmentation-threshold: 2346
 | 
					radio-cfg-a/cisco/mac-operation/fragmentation-threshold: 2346
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										18
									
								
								src/ac/rpc-macros/wlan13.ckv
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/ac/rpc-macros/wlan13.ckv
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					radio.0/wlan.13/capwap80211/capability: 1057
 | 
				
			||||||
 | 
					radio.0/wlan.13/capwap80211/qos: 0
 | 
				
			||||||
 | 
					radio.0/wlan.13/capwap80211/ssid: SuperSSID
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/aironet-ie: true
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/broadcast-ssid: true
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/dtim-period: 19
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/encryption-policy: 1
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/hreap-local-switch: 16
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/profile-name: SuerWLAN
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/scan-defer-period: 15420
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/scan-defer-time: 100
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/session-timout: 1800
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/wep-encryption: false
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/wep-key: .x55d80f0e2bf5223dd10f82407b
 | 
				
			||||||
 | 
					radio.0/wlan.13/cisco/wep-key-index: 1
 | 
				
			||||||
 | 
					radio.0/wlan.13/radio-id: 0
 | 
				
			||||||
 | 
					radio.0/wlan.13/wlan-id: 13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -388,7 +388,7 @@ static cw_ValStruct_t cisco_direct_sequence_control70[]={
 | 
				
			|||||||
	{CW_TYPE_BYTE,"current-channel",1,-1},
 | 
						{CW_TYPE_BYTE,"current-channel",1,-1},
 | 
				
			||||||
	{CW_TYPE_BYTE,"current-cca-mode",1,-1},
 | 
						{CW_TYPE_BYTE,"current-cca-mode",1,-1},
 | 
				
			||||||
	{CW_TYPE_DWORD,"energy-detect-threshold",4,-1},
 | 
						{CW_TYPE_DWORD,"energy-detect-threshold",4,-1},
 | 
				
			||||||
	{CW_TYPE_BYTE,"unknown",1,-1},
 | 
						{CW_TYPE_BOOL,"802.11g-support",1,-1},
 | 
				
			||||||
	{NULL,NULL,0,0}
 | 
						{NULL,NULL,0,0}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -3329,8 +3329,6 @@ static int copy_diff_cfg(cw_Cfg_t * new, cw_Cfg_t *old , cw_Cfg_t *dst)
 | 
				
			|||||||
        struct cw_Cfg_iter cfi;
 | 
					        struct cw_Cfg_iter cfi;
 | 
				
			||||||
        struct cw_Cfg_entry *e;
 | 
					        struct cw_Cfg_entry *e;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cw_cfg_dump(new);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        cw_cfg_iter_init(new, &cfi, NULL);
 | 
					        cw_cfg_iter_init(new, &cfi, NULL);
 | 
				
			||||||
        while ((e = cw_cfg_iter_next(&cfi, NULL))!=NULL){
 | 
					        while ((e = cw_cfg_iter_next(&cfi, NULL))!=NULL){
 | 
				
			||||||
                const char * r;
 | 
					                const char * r;
 | 
				
			||||||
@ -3432,15 +3430,8 @@ static int status_cb_ac(struct cw_ElemHandlerParams *params, struct cw_MsgCb_dat
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	printf("----\n");
 | 
					 | 
				
			||||||
	cw_cfg_dump(tmp_cfg);
 | 
					 | 
				
			||||||
	printf("----\n");
 | 
					 | 
				
			||||||
//	stop();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	copy_diff_cfg(tmp_cfg,params->conn->remote_cfg, params->conn->update_cfg);
 | 
						copy_diff_cfg(tmp_cfg,params->conn->remote_cfg, params->conn->update_cfg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cw_cfg_dump(params->conn->update_cfg);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cw_cfg_destroy(tmp_cfg);
 | 
						cw_cfg_destroy(tmp_cfg);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -3458,7 +3449,7 @@ static int setup_cfg(struct cw_Conn  * conn)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	int security;
 | 
						int security;
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	security = cw_setup_dtls(conn,conn->global_cfg,"cisco",CAPWAP_CIPHER);
 | 
						security = cw_setup_dtls(conn,conn->global_cfg,"mod/cisco",CAPWAP_CIPHER);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (conn->role == CW_ROLE_AC){
 | 
						if (conn->role == CW_ROLE_AC){
 | 
				
			||||||
		cw_cfg_set_int(conn->local_cfg,"capwap/ac-descriptor/security",security);
 | 
							cw_cfg_set_int(conn->local_cfg,"capwap/ac-descriptor/security",security);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user