Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #ifndef WIFI_CHIP_H_ |
| 18 | #define WIFI_CHIP_H_ |
| 19 | |
xshu | 5899e8e | 2018-01-09 15:36:03 -0800 | [diff] [blame] | 20 | #include <list> |
Roshan Pius | 35d958c | 2016-10-06 16:47:38 -0700 | [diff] [blame] | 21 | #include <map> |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 22 | |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 23 | #include <android-base/macros.h> |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 24 | #include <android/hardware/wifi/1.3/IWifiChip.h> |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 25 | |
Roshan Pius | d37341f | 2017-01-31 13:13:28 -0800 | [diff] [blame] | 26 | #include "hidl_callback_util.h" |
xshu | 5899e8e | 2018-01-09 15:36:03 -0800 | [diff] [blame] | 27 | #include "ringbuffer.h" |
Roshan Pius | 35d958c | 2016-10-06 16:47:38 -0700 | [diff] [blame] | 28 | #include "wifi_ap_iface.h" |
Roshan Pius | 200a17d | 2017-11-01 13:03:35 -0700 | [diff] [blame] | 29 | #include "wifi_feature_flags.h" |
Roshan Pius | aabe575 | 2016-09-29 09:03:59 -0700 | [diff] [blame] | 30 | #include "wifi_legacy_hal.h" |
Roshan Pius | 52947fb | 2016-11-18 11:38:07 -0800 | [diff] [blame] | 31 | #include "wifi_mode_controller.h" |
Roshan Pius | 35d958c | 2016-10-06 16:47:38 -0700 | [diff] [blame] | 32 | #include "wifi_nan_iface.h" |
| 33 | #include "wifi_p2p_iface.h" |
Roshan Pius | 5926828 | 2016-10-06 20:23:47 -0700 | [diff] [blame] | 34 | #include "wifi_rtt_controller.h" |
Roshan Pius | 35d958c | 2016-10-06 16:47:38 -0700 | [diff] [blame] | 35 | #include "wifi_sta_iface.h" |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 36 | |
| 37 | namespace android { |
| 38 | namespace hardware { |
| 39 | namespace wifi { |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 40 | namespace V1_3 { |
Roshan Pius | 79a9975 | 2016-10-04 13:03:58 -0700 | [diff] [blame] | 41 | namespace implementation { |
Roshan Pius | dbd83ef | 2017-06-20 12:05:40 -0700 | [diff] [blame] | 42 | using namespace android::hardware::wifi::V1_0; |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 43 | |
Roshan Pius | aabe575 | 2016-09-29 09:03:59 -0700 | [diff] [blame] | 44 | /** |
| 45 | * HIDL interface object used to control a Wifi HAL chip instance. |
| 46 | * Since there is only a single chip instance used today, there is no |
| 47 | * identifying handle information stored here. |
| 48 | */ |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 49 | class WifiChip : public V1_3::IWifiChip { |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 50 | public: |
Roshan Pius | 200a17d | 2017-11-01 13:03:35 -0700 | [diff] [blame] | 51 | WifiChip( |
| 52 | ChipId chip_id, |
| 53 | const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, |
| 54 | const std::weak_ptr<mode_controller::WifiModeController> |
| 55 | mode_controller, |
| 56 | const std::weak_ptr<feature_flags::WifiFeatureFlags> feature_flags); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 57 | // HIDL does not provide a built-in mechanism to let the server invalidate |
| 58 | // a HIDL interface object after creation. If any client process holds onto |
| 59 | // a reference to the object in their context, any method calls on that |
| 60 | // reference will continue to be directed to the server. |
| 61 | // |
| 62 | // However Wifi HAL needs to control the lifetime of these objects. So, add |
| 63 | // a public |invalidate| method to |WifiChip| and it's child objects. This |
| 64 | // will be used to mark an object invalid when either: |
| 65 | // a) Wifi HAL is stopped, or |
| 66 | // b) Wifi Chip is reconfigured. |
| 67 | // |
| 68 | // All HIDL method implementations should check if the object is still |
| 69 | // marked valid before processing them. |
| 70 | void invalidate(); |
| 71 | bool isValid(); |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 72 | std::set<sp<V1_2::IWifiChipEventCallback>> getEventCallbacks(); |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 73 | |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 74 | // HIDL methods exposed. |
| 75 | Return<void> getId(getId_cb hidl_status_cb) override; |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 76 | // Deprecated support for this callback |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 77 | Return<void> registerEventCallback( |
Roshan Pius | 1ce92cf | 2018-01-22 16:12:19 -0800 | [diff] [blame] | 78 | const sp<V1_0::IWifiChipEventCallback>& event_callback, |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 79 | registerEventCallback_cb hidl_status_cb) override; |
| 80 | Return<void> getCapabilities(getCapabilities_cb hidl_status_cb) override; |
| 81 | Return<void> getAvailableModes( |
| 82 | getAvailableModes_cb hidl_status_cb) override; |
| 83 | Return<void> configureChip(ChipModeId mode_id, |
| 84 | configureChip_cb hidl_status_cb) override; |
| 85 | Return<void> getMode(getMode_cb hidl_status_cb) override; |
| 86 | Return<void> requestChipDebugInfo( |
| 87 | requestChipDebugInfo_cb hidl_status_cb) override; |
| 88 | Return<void> requestDriverDebugDump( |
| 89 | requestDriverDebugDump_cb hidl_status_cb) override; |
| 90 | Return<void> requestFirmwareDebugDump( |
| 91 | requestFirmwareDebugDump_cb hidl_status_cb) override; |
| 92 | Return<void> createApIface(createApIface_cb hidl_status_cb) override; |
| 93 | Return<void> getApIfaceNames(getApIfaceNames_cb hidl_status_cb) override; |
| 94 | Return<void> getApIface(const hidl_string& ifname, |
| 95 | getApIface_cb hidl_status_cb) override; |
| 96 | Return<void> removeApIface(const hidl_string& ifname, |
| 97 | removeApIface_cb hidl_status_cb) override; |
| 98 | Return<void> createNanIface(createNanIface_cb hidl_status_cb) override; |
| 99 | Return<void> getNanIfaceNames(getNanIfaceNames_cb hidl_status_cb) override; |
| 100 | Return<void> getNanIface(const hidl_string& ifname, |
| 101 | getNanIface_cb hidl_status_cb) override; |
| 102 | Return<void> removeNanIface(const hidl_string& ifname, |
| 103 | removeNanIface_cb hidl_status_cb) override; |
| 104 | Return<void> createP2pIface(createP2pIface_cb hidl_status_cb) override; |
| 105 | Return<void> getP2pIfaceNames(getP2pIfaceNames_cb hidl_status_cb) override; |
| 106 | Return<void> getP2pIface(const hidl_string& ifname, |
| 107 | getP2pIface_cb hidl_status_cb) override; |
| 108 | Return<void> removeP2pIface(const hidl_string& ifname, |
| 109 | removeP2pIface_cb hidl_status_cb) override; |
| 110 | Return<void> createStaIface(createStaIface_cb hidl_status_cb) override; |
| 111 | Return<void> getStaIfaceNames(getStaIfaceNames_cb hidl_status_cb) override; |
| 112 | Return<void> getStaIface(const hidl_string& ifname, |
| 113 | getStaIface_cb hidl_status_cb) override; |
| 114 | Return<void> removeStaIface(const hidl_string& ifname, |
| 115 | removeStaIface_cb hidl_status_cb) override; |
| 116 | Return<void> createRttController( |
| 117 | const sp<IWifiIface>& bound_iface, |
| 118 | createRttController_cb hidl_status_cb) override; |
| 119 | Return<void> getDebugRingBuffersStatus( |
| 120 | getDebugRingBuffersStatus_cb hidl_status_cb) override; |
| 121 | Return<void> startLoggingToDebugRingBuffer( |
| 122 | const hidl_string& ring_name, |
| 123 | WifiDebugRingBufferVerboseLevel verbose_level, |
| 124 | uint32_t max_interval_in_sec, uint32_t min_data_size_in_bytes, |
| 125 | startLoggingToDebugRingBuffer_cb hidl_status_cb) override; |
| 126 | Return<void> forceDumpToDebugRingBuffer( |
| 127 | const hidl_string& ring_name, |
| 128 | forceDumpToDebugRingBuffer_cb hidl_status_cb) override; |
Roger Wang | b294c76 | 2018-11-02 15:34:39 +0800 | [diff] [blame] | 129 | Return<void> flushRingBufferToFile( |
| 130 | flushRingBufferToFile_cb hidl_status_cb) override; |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 131 | Return<void> stopLoggingToDebugRingBuffer( |
| 132 | stopLoggingToDebugRingBuffer_cb hidl_status_cb) override; |
| 133 | Return<void> getDebugHostWakeReasonStats( |
| 134 | getDebugHostWakeReasonStats_cb hidl_status_cb) override; |
| 135 | Return<void> enableDebugErrorAlerts( |
| 136 | bool enable, enableDebugErrorAlerts_cb hidl_status_cb) override; |
| 137 | Return<void> selectTxPowerScenario( |
Ahmed ElArabawy | 6a1accf | 2018-01-23 10:57:29 -0800 | [diff] [blame] | 138 | V1_1::IWifiChip::TxPowerScenario scenario, |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 139 | selectTxPowerScenario_cb hidl_status_cb) override; |
| 140 | Return<void> resetTxPowerScenario( |
| 141 | resetTxPowerScenario_cb hidl_status_cb) override; |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 142 | Return<void> setLatencyMode(LatencyMode mode, |
| 143 | setLatencyMode_cb hidl_status_cb) override; |
Roshan Pius | 1ce92cf | 2018-01-22 16:12:19 -0800 | [diff] [blame] | 144 | Return<void> registerEventCallback_1_2( |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 145 | const sp<V1_2::IWifiChipEventCallback>& event_callback, |
Roshan Pius | 1ce92cf | 2018-01-22 16:12:19 -0800 | [diff] [blame] | 146 | registerEventCallback_1_2_cb hidl_status_cb) override; |
Ahmed ElArabawy | 6a1accf | 2018-01-23 10:57:29 -0800 | [diff] [blame] | 147 | Return<void> selectTxPowerScenario_1_2( |
| 148 | TxPowerScenario scenario, |
| 149 | selectTxPowerScenario_cb hidl_status_cb) override; |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 150 | Return<void> getCapabilities_1_3( |
| 151 | getCapabilities_cb hidl_status_cb) override; |
Ahmed ElArabawy | 6a1accf | 2018-01-23 10:57:29 -0800 | [diff] [blame] | 152 | Return<void> debug(const hidl_handle& handle, |
| 153 | const hidl_vec<hidl_string>& options) override; |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 154 | |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 155 | private: |
| 156 | void invalidateAndRemoveAllIfaces(); |
Roshan Pius | 35d958c | 2016-10-06 16:47:38 -0700 | [diff] [blame] | 157 | |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 158 | // Corresponding worker functions for the HIDL methods. |
| 159 | std::pair<WifiStatus, ChipId> getIdInternal(); |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 160 | // Deprecated support for this callback |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 161 | WifiStatus registerEventCallbackInternal( |
Roshan Pius | 1ce92cf | 2018-01-22 16:12:19 -0800 | [diff] [blame] | 162 | const sp<V1_0::IWifiChipEventCallback>& event_callback); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 163 | std::pair<WifiStatus, uint32_t> getCapabilitiesInternal(); |
| 164 | std::pair<WifiStatus, std::vector<ChipMode>> getAvailableModesInternal(); |
Roshan Pius | ba38d9c | 2017-12-08 07:32:08 -0800 | [diff] [blame] | 165 | WifiStatus configureChipInternal( |
| 166 | std::unique_lock<std::recursive_mutex>* lock, ChipModeId mode_id); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 167 | std::pair<WifiStatus, uint32_t> getModeInternal(); |
| 168 | std::pair<WifiStatus, IWifiChip::ChipDebugInfo> |
| 169 | requestChipDebugInfoInternal(); |
| 170 | std::pair<WifiStatus, std::vector<uint8_t>> |
| 171 | requestDriverDebugDumpInternal(); |
| 172 | std::pair<WifiStatus, std::vector<uint8_t>> |
| 173 | requestFirmwareDebugDumpInternal(); |
| 174 | std::pair<WifiStatus, sp<IWifiApIface>> createApIfaceInternal(); |
| 175 | std::pair<WifiStatus, std::vector<hidl_string>> getApIfaceNamesInternal(); |
| 176 | std::pair<WifiStatus, sp<IWifiApIface>> getApIfaceInternal( |
| 177 | const std::string& ifname); |
| 178 | WifiStatus removeApIfaceInternal(const std::string& ifname); |
| 179 | std::pair<WifiStatus, sp<IWifiNanIface>> createNanIfaceInternal(); |
| 180 | std::pair<WifiStatus, std::vector<hidl_string>> getNanIfaceNamesInternal(); |
| 181 | std::pair<WifiStatus, sp<IWifiNanIface>> getNanIfaceInternal( |
| 182 | const std::string& ifname); |
| 183 | WifiStatus removeNanIfaceInternal(const std::string& ifname); |
| 184 | std::pair<WifiStatus, sp<IWifiP2pIface>> createP2pIfaceInternal(); |
| 185 | std::pair<WifiStatus, std::vector<hidl_string>> getP2pIfaceNamesInternal(); |
| 186 | std::pair<WifiStatus, sp<IWifiP2pIface>> getP2pIfaceInternal( |
| 187 | const std::string& ifname); |
| 188 | WifiStatus removeP2pIfaceInternal(const std::string& ifname); |
| 189 | std::pair<WifiStatus, sp<IWifiStaIface>> createStaIfaceInternal(); |
| 190 | std::pair<WifiStatus, std::vector<hidl_string>> getStaIfaceNamesInternal(); |
| 191 | std::pair<WifiStatus, sp<IWifiStaIface>> getStaIfaceInternal( |
| 192 | const std::string& ifname); |
| 193 | WifiStatus removeStaIfaceInternal(const std::string& ifname); |
| 194 | std::pair<WifiStatus, sp<IWifiRttController>> createRttControllerInternal( |
| 195 | const sp<IWifiIface>& bound_iface); |
| 196 | std::pair<WifiStatus, std::vector<WifiDebugRingBufferStatus>> |
| 197 | getDebugRingBuffersStatusInternal(); |
| 198 | WifiStatus startLoggingToDebugRingBufferInternal( |
| 199 | const hidl_string& ring_name, |
| 200 | WifiDebugRingBufferVerboseLevel verbose_level, |
| 201 | uint32_t max_interval_in_sec, uint32_t min_data_size_in_bytes); |
| 202 | WifiStatus forceDumpToDebugRingBufferInternal(const hidl_string& ring_name); |
Roger Wang | b294c76 | 2018-11-02 15:34:39 +0800 | [diff] [blame] | 203 | WifiStatus flushRingBufferToFileInternal(); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 204 | WifiStatus stopLoggingToDebugRingBufferInternal(); |
| 205 | std::pair<WifiStatus, WifiDebugHostWakeReasonStats> |
| 206 | getDebugHostWakeReasonStatsInternal(); |
| 207 | WifiStatus enableDebugErrorAlertsInternal(bool enable); |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 208 | WifiStatus selectTxPowerScenarioInternal( |
| 209 | V1_1::IWifiChip::TxPowerScenario scenario); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 210 | WifiStatus resetTxPowerScenarioInternal(); |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 211 | WifiStatus setLatencyModeInternal(LatencyMode mode); |
Roshan Pius | 1ce92cf | 2018-01-22 16:12:19 -0800 | [diff] [blame] | 212 | WifiStatus registerEventCallbackInternal_1_2( |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 213 | const sp<V1_2::IWifiChipEventCallback>& event_callback); |
Ahmed ElArabawy | 6a1accf | 2018-01-23 10:57:29 -0800 | [diff] [blame] | 214 | WifiStatus selectTxPowerScenarioInternal_1_2(TxPowerScenario scenario); |
Ahmed ElArabawy | eaf8240 | 2018-10-26 09:46:04 -0700 | [diff] [blame] | 215 | std::pair<WifiStatus, uint32_t> getCapabilitiesInternal_1_3(); |
Roshan Pius | ba38d9c | 2017-12-08 07:32:08 -0800 | [diff] [blame] | 216 | WifiStatus handleChipConfiguration( |
| 217 | std::unique_lock<std::recursive_mutex>* lock, ChipModeId mode_id); |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 218 | WifiStatus registerDebugRingBufferCallback(); |
Roshan Pius | 85c6441 | 2018-01-22 17:58:40 -0800 | [diff] [blame] | 219 | WifiStatus registerRadioModeChangeCallback(); |
Roshan Pius | 2c06a3f | 2016-12-15 17:51:40 -0800 | [diff] [blame] | 220 | |
Roshan Pius | cc33820 | 2017-11-02 13:54:09 -0700 | [diff] [blame] | 221 | std::vector<IWifiChip::ChipIfaceCombination> |
| 222 | getCurrentModeIfaceCombinations(); |
| 223 | std::map<IfaceType, size_t> getCurrentIfaceCombination(); |
| 224 | std::vector<std::map<IfaceType, size_t>> expandIfaceCombinations( |
| 225 | const IWifiChip::ChipIfaceCombination& combination); |
| 226 | bool canExpandedIfaceCombinationSupportIfaceOfType( |
| 227 | const std::map<IfaceType, size_t>& combo, IfaceType type); |
| 228 | bool canCurrentModeSupportIfaceOfType(IfaceType type); |
| 229 | bool isValidModeId(ChipModeId mode_id); |
Roshan Pius | 8e3c7ef | 2017-11-03 09:43:08 -0700 | [diff] [blame] | 230 | std::string allocateApOrStaIfaceName(); |
xshu | 5899e8e | 2018-01-09 15:36:03 -0800 | [diff] [blame] | 231 | bool writeRingbufferFilesInternal(); |
Roshan Pius | cc33820 | 2017-11-02 13:54:09 -0700 | [diff] [blame] | 232 | |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 233 | ChipId chip_id_; |
| 234 | std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_; |
| 235 | std::weak_ptr<mode_controller::WifiModeController> mode_controller_; |
Roshan Pius | 200a17d | 2017-11-01 13:03:35 -0700 | [diff] [blame] | 236 | std::weak_ptr<feature_flags::WifiFeatureFlags> feature_flags_; |
Roshan Pius | 675609b | 2017-10-31 14:24:58 -0700 | [diff] [blame] | 237 | std::vector<sp<WifiApIface>> ap_ifaces_; |
| 238 | std::vector<sp<WifiNanIface>> nan_ifaces_; |
| 239 | std::vector<sp<WifiP2pIface>> p2p_ifaces_; |
| 240 | std::vector<sp<WifiStaIface>> sta_ifaces_; |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 241 | std::vector<sp<WifiRttController>> rtt_controllers_; |
xshu | 5899e8e | 2018-01-09 15:36:03 -0800 | [diff] [blame] | 242 | std::map<std::string, Ringbuffer> ringbuffer_map_; |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 243 | bool is_valid_; |
Roshan Pius | cc33820 | 2017-11-02 13:54:09 -0700 | [diff] [blame] | 244 | // Members pertaining to chip configuration. |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 245 | uint32_t current_mode_id_; |
Roshan Pius | cc33820 | 2017-11-02 13:54:09 -0700 | [diff] [blame] | 246 | std::vector<IWifiChip::ChipMode> modes_; |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 247 | // The legacy ring buffer callback API has only a global callback |
| 248 | // registration mechanism. Use this to check if we have already |
| 249 | // registered a callback. |
| 250 | bool debug_ring_buffer_cb_registered_; |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 251 | hidl_callback_util::HidlCallbackHandler<V1_2::IWifiChipEventCallback> |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 252 | event_cb_handler_; |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 253 | |
Roshan Pius | abcf78f | 2017-10-06 16:30:38 -0700 | [diff] [blame] | 254 | DISALLOW_COPY_AND_ASSIGN(WifiChip); |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 255 | }; |
| 256 | |
Roshan Pius | 79a9975 | 2016-10-04 13:03:58 -0700 | [diff] [blame] | 257 | } // namespace implementation |
Jong Wook Kim | da830c9 | 2018-07-23 15:29:38 -0700 | [diff] [blame] | 258 | } // namespace V1_3 |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 259 | } // namespace wifi |
| 260 | } // namespace hardware |
| 261 | } // namespace android |
| 262 | |
| 263 | #endif // WIFI_CHIP_H_ |