@@ -1130,6 +1130,7 @@ bool CLR_DBG_Debugger::Monitor_QueryConfiguration(WP_Message *message)
1130
1130
1131
1131
HAL_Configuration_NetworkInterface *configNetworkInterface;
1132
1132
HAL_Configuration_Wireless80211 *configWireless80211NetworkInterface;
1133
+ HAL_Configuration_WirelessAP *configWirelessAPNetworkInterface;
1133
1134
HAL_Configuration_X509CaRootBundle *x509Certificate;
1134
1135
HAL_Configuration_X509DeviceCertificate *x509DeviceCertificate;
1135
1136
@@ -1270,7 +1271,31 @@ bool CLR_DBG_Debugger::Monitor_QueryConfiguration(WP_Message *message)
1270
1271
break ;
1271
1272
1272
1273
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
+
1274
1299
break ;
1275
1300
1276
1301
default :
@@ -1301,6 +1326,7 @@ bool CLR_DBG_Debugger::Monitor_UpdateConfiguration(WP_Message *message)
1301
1326
{
1302
1327
case DeviceConfigurationOption_Network:
1303
1328
case DeviceConfigurationOption_Wireless80211Network:
1329
+ case DeviceConfigurationOption_WirelessNetworkAP:
1304
1330
case DeviceConfigurationOption_X509CaRootBundle:
1305
1331
case DeviceConfigurationOption_X509DeviceCertificates:
1306
1332
case DeviceConfigurationOption_All:
0 commit comments