Lines Matching refs:wifiLoggerCommand
73 WifiLoggerCommand *wifiLoggerCommand = NULL; in wifi_start_logging() local
102 wifiLoggerCommand = new WifiLoggerCommand( in wifi_start_logging()
108 if (wifiLoggerCommand == NULL) { in wifi_start_logging()
113 ret = wifiLoggerCommand->create(); in wifi_start_logging()
118 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_start_logging()
123 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_start_logging()
127 ret = wifiLoggerCommand->put_u32(QCA_WLAN_VENDOR_ATTR_WIFI_LOGGER_RING_ID, in wifi_start_logging()
132 ret = wifiLoggerCommand->put_u32( in wifi_start_logging()
138 ret = wifiLoggerCommand->put_u32(QCA_WLAN_VENDOR_ATTR_WIFI_LOGGER_FLAGS, in wifi_start_logging()
143 wifiLoggerCommand->attr_end(nlData); in wifi_start_logging()
146 ret = wifiLoggerCommand->requestResponse(); in wifi_start_logging()
155 delete wifiLoggerCommand; in wifi_start_logging()
226 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_logger_supported_feature_set() local
236 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_logger_supported_feature_set()
242 if (wifiLoggerCommand == NULL) { in wifi_get_logger_supported_feature_set()
247 ret = wifiLoggerCommand->create(); in wifi_get_logger_supported_feature_set()
252 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_logger_supported_feature_set()
257 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_logger_supported_feature_set()
261 ret = wifiLoggerCommand->put_u32(QCA_WLAN_VENDOR_ATTR_LOGGER_SUPPORTED, 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()
276 delete wifiLoggerCommand; in wifi_get_logger_supported_feature_set()
286 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_ring_data() local
308 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_ring_data()
313 if (wifiLoggerCommand == NULL) { in wifi_get_ring_data()
318 ret = wifiLoggerCommand->create(); in wifi_get_ring_data()
323 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_ring_data()
328 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_ring_data()
332 if (wifiLoggerCommand->put_u32( in wifi_get_ring_data()
337 wifiLoggerCommand->attr_end(nlData); in wifi_get_ring_data()
340 ret = wifiLoggerCommand->requestResponse(); in wifi_get_ring_data()
345 delete wifiLoggerCommand; in wifi_get_ring_data()
360 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_firmware_version() local
370 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_firmware_version()
375 if (wifiLoggerCommand == NULL) { in wifi_get_firmware_version()
380 ret = wifiLoggerCommand->create(); in wifi_get_firmware_version()
385 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()
394 ret = wifiLoggerCommand->put_u32( in wifi_get_firmware_version()
399 wifiLoggerCommand->attr_end(nlData); in wifi_get_firmware_version()
401 wifiLoggerCommand->setVersionInfo(buffer, buffer_size); in wifi_get_firmware_version()
404 ret = wifiLoggerCommand->requestResponse(); in wifi_get_firmware_version()
409 delete wifiLoggerCommand; in wifi_get_firmware_version()
421 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_driver_version() local
431 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_driver_version()
436 if (wifiLoggerCommand == NULL) { in wifi_get_driver_version()
441 ret = wifiLoggerCommand->create(); in wifi_get_driver_version()
446 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_driver_version()
451 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_driver_version()
455 ret = wifiLoggerCommand->put_u32( in wifi_get_driver_version()
460 wifiLoggerCommand->attr_end(nlData); in wifi_get_driver_version()
462 wifiLoggerCommand->setVersionInfo(buffer, buffer_size); in wifi_get_driver_version()
465 ret = wifiLoggerCommand->requestResponse(); in wifi_get_driver_version()
470 delete wifiLoggerCommand; in wifi_get_driver_version()
481 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_firmware_memory_dump() local
500 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_firmware_memory_dump()
505 if (wifiLoggerCommand == NULL) { in wifi_get_firmware_memory_dump()
510 ret = wifiLoggerCommand->create(); in wifi_get_firmware_memory_dump()
516 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_firmware_memory_dump()
522 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_firmware_memory_dump()
526 wifiLoggerCommand->attr_end(nlData); in wifi_get_firmware_memory_dump()
534 ret = wifiLoggerCommand->setCallbackHandler(callbackHandler); in wifi_get_firmware_memory_dump()
539 ret = wifiLoggerCommand->requestResponse(); in wifi_get_firmware_memory_dump()
544 delete wifiLoggerCommand; in wifi_get_firmware_memory_dump()
1471 WifiLoggerCommand *wifiLoggerCommand; in wifi_get_wake_reason_stats() local
1496 wifiLoggerCommand = new WifiLoggerCommand( in wifi_get_wake_reason_stats()
1501 if (wifiLoggerCommand == NULL) { in wifi_get_wake_reason_stats()
1507 ret = wifiLoggerCommand->create(); in wifi_get_wake_reason_stats()
1512 ret = wifiLoggerCommand->set_iface_id(ifaceInfo->name); in wifi_get_wake_reason_stats()
1516 wifiLoggerCommand->getWakeStatsRspParams(wifi_wake_reason_cnt); in wifi_get_wake_reason_stats()
1519 nlData = wifiLoggerCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_wake_reason_stats()
1523 ret = wifiLoggerCommand->put_u32( in wifi_get_wake_reason_stats()
1529 ret = wifiLoggerCommand->put_u32( in wifi_get_wake_reason_stats()
1535 wifiLoggerCommand->attr_end(nlData); in wifi_get_wake_reason_stats()
1538 ret = wifiLoggerCommand->requestResponse(); in wifi_get_wake_reason_stats()
1543 delete wifiLoggerCommand; in wifi_get_wake_reason_stats()