@@ -1130,6 +1130,7 @@ bool CLR_DBG_Debugger::Monitor_QueryConfiguration(WP_Message *message)
11301130
11311131 HAL_Configuration_NetworkInterface *configNetworkInterface;
11321132 HAL_Configuration_Wireless80211 *configWireless80211NetworkInterface;
1133+ HAL_Configuration_WirelessAP *configWirelessAPNetworkInterface;
11331134 HAL_Configuration_X509CaRootBundle *x509Certificate;
11341135 HAL_Configuration_X509DeviceCertificate *x509DeviceCertificate;
11351136
@@ -1270,7 +1271,31 @@ bool CLR_DBG_Debugger::Monitor_QueryConfiguration(WP_Message *message)
12701271 break ;
12711272
12721273 case DeviceConfigurationOption_WirelessNetworkAP:
1273- // TODO missing implementation for now
1274+
1275+ configWirelessAPNetworkInterface =
1276+ (HAL_Configuration_WirelessAP *)platform_malloc (sizeof (HAL_Configuration_WirelessAP));
1277+
1278+ // check allocation
1279+ if (configWirelessAPNetworkInterface != NULL )
1280+ {
1281+ memset (configWirelessAPNetworkInterface, 0 , sizeof (HAL_Configuration_WirelessAP));
1282+
1283+ if (ConfigurationManager_GetConfigurationBlock (
1284+ configWirelessAPNetworkInterface,
1285+ (DeviceConfigurationOption)cmd->Configuration ,
1286+ cmd->BlockIndex ) == true )
1287+ {
1288+ size = sizeof (HAL_Configuration_WirelessAP);
1289+
1290+ WP_ReplyToCommand (message, true , false , (uint8_t *)configWirelessAPNetworkInterface, size);
1291+ }
1292+
1293+ platform_free (configWirelessAPNetworkInterface);
1294+
1295+ // done here
1296+ return true ;
1297+ }
1298+
12741299 break ;
12751300
12761301 default :
@@ -1301,6 +1326,7 @@ bool CLR_DBG_Debugger::Monitor_UpdateConfiguration(WP_Message *message)
13011326 {
13021327 case DeviceConfigurationOption_Network:
13031328 case DeviceConfigurationOption_Wireless80211Network:
1329+ case DeviceConfigurationOption_WirelessNetworkAP:
13041330 case DeviceConfigurationOption_X509CaRootBundle:
13051331 case DeviceConfigurationOption_X509DeviceCertificates:
13061332 case DeviceConfigurationOption_All:
0 commit comments