Lines Matching refs:wifiLoggerCommand
72 WifiLoggerCommand *wifiLoggerCommand = NULL; in wifi_start_logging() local
96 wifiLoggerCommand = new WifiLoggerCommand( in wifi_start_logging()
102 if (wifiLoggerCommand == NULL) { in wifi_start_logging()
107 ret = wifiLoggerCommand->create(); in wifi_start_logging()
113 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_start_logging()
119 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_logging()
124 if (wifiLoggerCommand->put_u32( in wifi_start_logging()
129 if (wifiLoggerCommand->put_u32( in wifi_start_logging()
135 if (wifiLoggerCommand->put_u32( in wifi_start_logging()
142 wifiLoggerCommand->attr_end(nlData); in wifi_start_logging()
145 ret = wifiLoggerCommand->requestResponse(); in wifi_start_logging()
154 if (wifiLoggerCommand) in wifi_start_logging()
155 delete wifiLoggerCommand; in wifi_start_logging()
222 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_logger_supported_feature_set() local
233 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_logger_supported_feature_set()
239 if (wifiLoggerCommand == NULL) { in wifi_get_logger_supported_feature_set()
244 ret = wifiLoggerCommand->create(); in wifi_get_logger_supported_feature_set()
250 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_logger_supported_feature_set()
256 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_logger_supported_feature_set()
261 if (wifiLoggerCommand->put_u32( in wifi_get_logger_supported_feature_set()
266 wifiLoggerCommand->attr_end(nlData); in wifi_get_logger_supported_feature_set()
268 wifiLoggerCommand->setFeatureSet(support); in wifi_get_logger_supported_feature_set()
271 ret = wifiLoggerCommand->requestResponse(); in wifi_get_logger_supported_feature_set()
277 delete wifiLoggerCommand; in wifi_get_logger_supported_feature_set()
287 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_ring_data() local
302 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_ring_data()
307 if (wifiLoggerCommand == NULL) { in wifi_get_ring_data()
312 ret = wifiLoggerCommand->create(); in wifi_get_ring_data()
318 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_ring_data()
324 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_ring_data()
329 if (wifiLoggerCommand->put_u32( in wifi_get_ring_data()
334 wifiLoggerCommand->attr_end(nlData); in wifi_get_ring_data()
337 ret = wifiLoggerCommand->requestResponse(); in wifi_get_ring_data()
343 delete wifiLoggerCommand; in wifi_get_ring_data()
357 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_firmware_version() local
368 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_firmware_version()
373 if (wifiLoggerCommand == NULL) { in wifi_get_firmware_version()
378 ret = wifiLoggerCommand->create(); in wifi_get_firmware_version()
384 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_firmware_version()
390 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_firmware_version()
395 if (wifiLoggerCommand->put_u32( in wifi_get_firmware_version()
400 wifiLoggerCommand->attr_end(nlData); in wifi_get_firmware_version()
402 wifiLoggerCommand->setVersionInfo(buffer, buffer_size); in wifi_get_firmware_version()
405 ret = wifiLoggerCommand->requestResponse(); in wifi_get_firmware_version()
410 delete wifiLoggerCommand; in wifi_get_firmware_version()
421 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_driver_version() local
432 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_driver_version()
437 if (wifiLoggerCommand == NULL) { in wifi_get_driver_version()
442 ret = wifiLoggerCommand->create(); in wifi_get_driver_version()
448 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_driver_version()
454 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_driver_version()
459 if (wifiLoggerCommand->put_u32( in wifi_get_driver_version()
464 wifiLoggerCommand->attr_end(nlData); in wifi_get_driver_version()
466 wifiLoggerCommand->setVersionInfo(buffer, buffer_size); in wifi_get_driver_version()
469 ret = wifiLoggerCommand->requestResponse(); in wifi_get_driver_version()
474 delete wifiLoggerCommand; in wifi_get_driver_version()
484 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_firmware_memory_dump() local
495 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_firmware_memory_dump()
500 if (wifiLoggerCommand == NULL) { in wifi_get_firmware_memory_dump()
505 ret = wifiLoggerCommand->create(); in wifi_get_firmware_memory_dump()
511 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_firmware_memory_dump()
517 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_firmware_memory_dump()
522 wifiLoggerCommand->attr_end(nlData); in wifi_get_firmware_memory_dump()
530 ret = wifiLoggerCommand->setCallbackHandler(callbackHandler); in wifi_get_firmware_memory_dump()
535 ret = wifiLoggerCommand->requestResponse(); in wifi_get_firmware_memory_dump()
541 delete wifiLoggerCommand; in wifi_get_firmware_memory_dump()
1449 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_wake_reason_stats() local
1465 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_wake_reason_stats()
1470 if (wifiLoggerCommand == NULL) { in wifi_get_wake_reason_stats()
1476 ret = wifiLoggerCommand->create(); in wifi_get_wake_reason_stats()
1481 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_wake_reason_stats()
1485 wifiLoggerCommand->getWakeStatsRspParams(wifi_wake_reason_cnt); in wifi_get_wake_reason_stats()
1488 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_wake_reason_stats()
1492 if (wifiLoggerCommand->put_u32( in wifi_get_wake_reason_stats()
1499 if (wifiLoggerCommand->put_u32( in wifi_get_wake_reason_stats()
1505 wifiLoggerCommand->attr_end(nlData); in wifi_get_wake_reason_stats()
1508 ret = wifiLoggerCommand->requestResponse(); in wifi_get_wake_reason_stats()
1514 delete wifiLoggerCommand; in wifi_get_wake_reason_stats()