Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 113) sorted by relevance

12345

/hardware/qcom/wlan/qcwcn/wifi_hal/
Drtt.cpp43 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, in wifi_get_rtt_capabilities() argument
49 if (iface == NULL) { in wifi_get_rtt_capabilities()
74 ret = (wifi_error)lowiWifiHalApi->get_rtt_capabilities(iface, capabilities); in wifi_get_rtt_capabilities()
84 wifi_interface_handle iface, in wifi_rtt_range_request() argument
92 if (iface == NULL) { in wifi_rtt_range_request()
129 ret = (wifi_error)lowiWifiHalApi->rtt_range_request(id, iface, in wifi_rtt_range_request()
141 wifi_interface_handle iface, in wifi_rtt_range_cancel() argument
148 if (iface == NULL) { in wifi_rtt_range_cancel()
188 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface, in wifi_set_lci() argument
194 if (iface == NULL) { in wifi_set_lci()
[all …]
Dwifihal_internal.h79 int (*get_rtt_capabilities)(wifi_interface_handle iface,
82 wifi_interface_handle iface,
95 wifi_error (*get_valid_channels)(wifi_interface_handle iface,
105 wifi_interface_handle iface,
110 wifi_interface_handle iface);
112 wifi_error (*get_cached_gscan_results)(wifi_interface_handle iface,
119 wifi_interface_handle iface,
124 wifi_interface_handle iface);
127 wifi_interface_handle iface,
132 wifi_interface_handle iface);
[all …]
Dnan.cpp42 wifi_error nan_register_handler(wifi_interface_handle iface, in nan_register_handler() argument
48 wifi_handle wifiHandle = getWifiHandle(iface); in nan_register_handler()
69 wifi_interface_handle iface, in nan_enable_request() argument
74 interface_info *ifaceInfo = getIfaceInfo(iface); in nan_enable_request()
75 wifi_handle wifiHandle = getWifiHandle(iface); in nan_enable_request()
112 wifi_interface_handle iface) in nan_disable_request() argument
116 interface_info *ifaceInfo = getIfaceInfo(iface); in nan_disable_request()
117 wifi_handle wifiHandle = getWifiHandle(iface); in nan_disable_request()
154 wifi_interface_handle iface, in nan_publish_request() argument
159 interface_info *ifaceInfo = getIfaceInfo(iface); in nan_publish_request()
[all …]
Droam.cpp57 wifi_interface_handle iface, in wifi_set_bssid_blacklist() argument
64 interface_info *ifaceInfo = getIfaceInfo(iface); in wifi_set_bssid_blacklist()
65 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_set_bssid_blacklist()
148 wifi_error wifi_set_ssid_white_list(wifi_request_id id, wifi_interface_handle iface, in wifi_set_ssid_white_list() argument
155 interface_info *ifaceInfo = getIfaceInfo(iface); in wifi_set_ssid_white_list()
156 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_set_ssid_white_list()
233 wifi_error wifi_get_roaming_capabilities(wifi_interface_handle iface, in wifi_get_roaming_capabilities() argument
236 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_get_roaming_capabilities()
254 wifi_error wifi_configure_roaming(wifi_interface_handle iface, wifi_roaming_config *roaming_config) in wifi_configure_roaming() argument
259 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_configure_roaming()
[all …]
Dwifilogger.cpp66 wifi_error wifi_start_logging(wifi_interface_handle iface, in wifi_start_logging() argument
75 interface_info *ifaceInfo = getIfaceInfo(iface); in wifi_start_logging()
76 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_start_logging()
160 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, in wifi_get_ring_buffers_status() argument
164 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_get_ring_buffers_status()
221 wifi_error wifi_get_logger_supported_feature_set(wifi_interface_handle iface, in wifi_get_logger_supported_feature_set() argument
228 interface_info *ifaceInfo = getIfaceInfo(iface); in wifi_get_logger_supported_feature_set()
229 wifi_handle wifiHandle = getWifiHandle(iface); in wifi_get_logger_supported_feature_set()
281 wifi_error wifi_get_ring_data(wifi_interface_handle iface, in wifi_get_ring_data() argument
288 interface_info *ifaceInfo = getIfaceInfo(iface); in wifi_get_ring_data()
[all …]
Dwifihal_vendor.cpp245 wifi_error wifi_set_nud_stats(wifi_interface_handle iface, u32 gw_addr) in wifi_set_nud_stats() argument
250 interface_info *iinfo = getIfaceInfo(iface); in wifi_set_nud_stats()
251 wifi_handle handle = getWifiHandle(iface); in wifi_set_nud_stats()
293 wifi_error wifi_get_nud_stats(wifi_interface_handle iface, in wifi_get_nud_stats() argument
299 interface_info *iinfo = getIfaceInfo(iface); in wifi_get_nud_stats()
300 wifi_handle handle = getWifiHandle(iface); in wifi_get_nud_stats()
342 wifi_error wifi_clear_nud_stats(wifi_interface_handle iface) in wifi_clear_nud_stats() argument
347 interface_info *iinfo = getIfaceInfo(iface); in wifi_clear_nud_stats()
348 wifi_handle handle = getWifiHandle(iface); in wifi_clear_nud_stats()
Dtdls.cpp348 wifi_error wifi_enable_tdls(wifi_interface_handle iface, in wifi_enable_tdls() argument
356 interface_info *iinfo = getIfaceInfo(iface); in wifi_enable_tdls()
357 wifi_handle handle = getWifiHandle(iface); in wifi_enable_tdls()
435 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr) in wifi_disable_tdls() argument
440 interface_info *iinfo = getIfaceInfo(iface); in wifi_disable_tdls()
441 wifi_handle handle = getWifiHandle(iface); in wifi_disable_tdls()
483 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr, in wifi_get_tdls_status() argument
489 interface_info *iinfo = getIfaceInfo(iface); in wifi_get_tdls_status()
490 wifi_handle handle = getWifiHandle(iface); in wifi_get_tdls_status()
530 wifi_error wifi_get_tdls_capabilities(wifi_interface_handle iface, in wifi_get_tdls_capabilities() argument
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h188 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size);
222 wifi_error wifi_set_iface_event_handler(wifi_request_id id, wifi_interface_handle iface, wifi_event…
223 wifi_error wifi_reset_iface_event_handler(wifi_request_id id, wifi_interface_handle iface);
328 wifi_error (* wifi_rtt_get_responder_info)(wifi_interface_handle iface,
330 wifi_error (* wifi_enable_responder)(wifi_request_id id, wifi_interface_handle iface,
333 wifi_error (* wifi_disable_responder)(wifi_request_id id, wifi_interface_handle iface);
340 wifi_error (* wifi_get_firmware_memory_dump)( wifi_interface_handle iface,
342 wifi_error (* wifi_set_log_handler)(wifi_request_id id, wifi_interface_handle iface,
344 wifi_error (* wifi_reset_log_handler)(wifi_request_id id, wifi_interface_handle iface);
345 wifi_error (* wifi_set_alert_handler)(wifi_request_id id, wifi_interface_handle iface,
[all …]
Drtt.h156 wifi_error wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface,
160 wifi_error wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface,
176 wifi_interface_handle iface, wifi_channel_map *params, unsigned num_dw);
181 wifi_error wifi_rtt_channel_map_clear(wifi_request_id id, wifi_interface_handle iface);
210 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, wifi_rtt_capabilities *capabiliti…
271 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface,
275 wifi_error wifi_set_lcr(wifi_request_id id, wifi_interface_handle iface,
289 wifi_error wifi_rtt_get_responder_info(wifi_interface_handle iface,
298 wifi_error wifi_enable_responder(wifi_request_id id, wifi_interface_handle iface,
305 wifi_error wifi_disable_responder(wifi_request_id id, wifi_interface_handle iface);
Dwifi_logger.h306 wifi_error wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface,
310 wifi_error wifi_reset_log_handler(wifi_request_id id, wifi_interface_handle iface);
327 wifi_error wifi_set_alert_handler(wifi_request_id id, wifi_interface_handle iface,
331 wifi_error wifi_reset_alert_handler(wifi_request_id id, wifi_interface_handle iface);
334 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name);
357 wifi_error wifi_start_logging(wifi_interface_handle iface, u32 verbose_level, u32 flags,
365 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, u32 *num_rings,
383 wifi_error wifi_get_firmware_memory_dump(wifi_interface_handle iface,
391 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, int buffer_size);
398 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size);
[all …]
Dwifi_config.h20 wifi_interface_handle iface, int extended_dtim);
23 wifi_error wifi_set_country_code(wifi_interface_handle iface, const char* country_code);
32 … wifi_set_beacon_wifi_iface_stats_averaging_factor(wifi_request_id id, wifi_interface_handle iface,
38 wifi_error wifi_set_guard_time(wifi_request_id id, wifi_interface_handle iface,
Dgscan.h202 wifi_error wifi_start_gscan(wifi_request_id id, wifi_interface_handle iface,
206 wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface);
228 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
252 wifi_error wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface,
256 wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface);
306 wifi_error wifi_set_significant_change_handler(wifi_request_id id, wifi_interface_handle iface,
310 wifi_error wifi_reset_significant_change_handler(wifi_request_id id, wifi_interface_handle iface);
397 wifi_error wifi_set_epno_list(wifi_request_id id, wifi_interface_handle iface,
401 wifi_error wifi_reset_epno_list(wifi_request_id id, wifi_interface_handle iface);
424 wifi_error wifi_set_passpoint_list(wifi_request_id id, wifi_interface_handle iface, int num,
[all …]
Dtdls.h65 wifi_error wifi_enable_tdls(wifi_interface_handle iface, mac_addr addr,
76 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr);
79 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr,
83 wifi_error wifi_get_tdls_capabilities(wifi_interface_handle iface,
/hardware/interfaces/wifi/1.3/default/tests/
Dhidl_struct_util_unit_tests.cpp135 legacy_stats.iface.beacon_rx = rand(); in TEST_F()
136 legacy_stats.iface.rssi_mgmt = rand(); in TEST_F()
137 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].rx_mpdu = rand(); in TEST_F()
138 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].tx_mpdu = rand(); in TEST_F()
139 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].mpdu_lost = rand(); in TEST_F()
140 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries = rand(); in TEST_F()
142 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].rx_mpdu = rand(); in TEST_F()
143 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].tx_mpdu = rand(); in TEST_F()
144 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].mpdu_lost = rand(); in TEST_F()
145 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].retries = rand(); in TEST_F()
[all …]
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp301 const hidl_string iface(TEST_IFACE); in TEST_P() local
306 control->setUpstreamParameters(iface, v4Addr, v4Gw, v6Gws, ASSERT_FALSE_CALLBACK); in TEST_P()
313 const hidl_string iface(TEST_IFACE); in TEST_P() local
315 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P()
322 const hidl_string iface(TEST_IFACE); in TEST_P() local
324 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P()
331 const hidl_string iface(TEST_IFACE); in TEST_P() local
333 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P()
340 const hidl_string iface(TEST_IFACE); in TEST_P() local
342 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp127 DebugCommand(wifi_interface_handle iface, char *buffer, int *buffer_size, in DebugCommand() argument
129 : WifiCommand("DebugCommand", iface, 0), mBuff(buffer), mBuffSize(buffer_size), mType in DebugCommand()
136 DebugCommand(wifi_interface_handle iface, char *ring_name, GetCmdType cmdType) in DebugCommand() argument
137 : WifiCommand("DebugCommand", iface, 0), mRingName(ring_name), mType(cmdType) in DebugCommand()
141 DebugCommand(wifi_interface_handle iface, u32 *num_rings, in DebugCommand() argument
143 … : WifiCommand("DebugCommand", iface, 0), mNumRings(num_rings), mStatus(status), mType(cmdType) in DebugCommand()
149 DebugCommand(wifi_interface_handle iface, unsigned int *support, GetCmdType cmdType) in DebugCommand() argument
150 : WifiCommand("DebugCommand", iface, 0), mSupport(support), mType(cmdType) in DebugCommand()
154 DebugCommand(wifi_interface_handle iface, u32 verbose_level, u32 flags, in DebugCommand() argument
156 : WifiCommand("DebugCommand", iface, 0), mVerboseLevel(verbose_level), mFlags(flags), in DebugCommand()
[all …]
Drtt.cpp139 GetRttCapabilitiesCommand(wifi_interface_handle iface, wifi_rtt_capabilities *capabitlites) in GetRttCapabilitiesCommand() argument
140 : WifiCommand("GetRttCapabilitiesCommand", iface, 0), mCapabilities(capabitlites) in GetRttCapabilitiesCommand()
186 GetRttResponderInfoCommand(wifi_interface_handle iface, wifi_rtt_responder *responderInfo) in GetRttResponderInfoCommand() argument
187 : WifiCommand("GetRttResponderInfoCommand", iface, 0), mResponderInfo(responderInfo) in GetRttResponderInfoCommand()
236 EnableResponderCommand(wifi_interface_handle iface, int id, wifi_channel_info channel_hint, in EnableResponderCommand() argument
238 : WifiCommand("EnableResponderCommand", iface, 0), mChannelInfo(channel_hint), in EnableResponderCommand()
285 CancelResponderCommand(wifi_interface_handle iface, int id) in CancelResponderCommand() argument
286 : WifiCommand("CancelResponderCommand", iface, 0)/*, mChannelInfo(channel)*/ in CancelResponderCommand()
322 RttCommand(wifi_interface_handle iface, int id, unsigned num_rtt_config, in RttCommand() argument
324 : WifiCommand("RttCommand", iface, id), numRttParams(num_rtt_config), rttParams(rtt_config), in RttCommand()
[all …]
Dwifi_offload.cpp82 MKeepAliveCommand(wifi_interface_handle iface, u8 index, u8 *ip_packet, u16 ip_packet_len, in MKeepAliveCommand() argument
84 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mIpPkt(ip_packet), in MKeepAliveCommand()
90 MKeepAliveCommand(wifi_interface_handle iface, u8 index, GetCmdType cmdType) in MKeepAliveCommand() argument
91 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mType(cmdType) in MKeepAliveCommand()
218 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface, in wifi_start_sending_offloaded_packet() argument
225 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, ip_packet, ip_packet_len, in wifi_start_sending_offloaded_packet()
238 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface) in wifi_stop_sending_offloaded_packet() argument
241 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, STOP_MKEEP_ALIVE); in wifi_stop_sending_offloaded_packet()
Dgscan.cpp168 wifi_error wifi_enable_full_scan_results(wifi_request_id id, wifi_interface_handle iface,
170 wifi_error wifi_disable_full_scan_results(wifi_request_id id, wifi_interface_handle iface);
195 GetCapabilitiesCommand(wifi_interface_handle iface, wifi_gscan_capabilities *capabitlites) in GetCapabilitiesCommand() argument
196 : WifiCommand("GetGscanCapabilitiesCommand", iface, 0), mCapabilities(capabitlites) in GetCapabilitiesCommand()
252 GetChannelListCommand(wifi_interface_handle iface, wifi_channel *channel_buf, int *ch_num, in GetChannelListCommand() argument
254 : WifiCommand("GetChannelListCommand", iface, 0), channels(channel_buf), in GetChannelListCommand()
395 FullScanResultsCommand(wifi_interface_handle iface, int id, int *params, in FullScanResultsCommand() argument
397 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
475 ScanCommand(wifi_interface_handle iface, int id, wifi_scan_cmd_params *params, in ScanCommand() argument
477 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp111 std::string getIfaceName(const sp<IWifiIface>& iface) { in getIfaceName() argument
112 const auto& status_and_name = HIDL_INVOKE(iface, getName); in getIfaceName()
371 sp<IWifiApIface> iface; in TEST_F() local
372 EXPECT_EQ(WifiStatusCode::SUCCESS, createApIface(&iface)); in TEST_F()
373 EXPECT_NE(nullptr, iface.get()); in TEST_F()
391 sp<IWifiApIface> iface; in TEST_F() local
392 EXPECT_EQ(WifiStatusCode::SUCCESS, createApIface(&iface)); in TEST_F()
393 EXPECT_NE(nullptr, iface.get()); in TEST_F()
395 std::string iface_name = getIfaceName(iface); in TEST_F()
468 sp<IWifiNanIface> iface; in TEST_F() local
[all …]
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
Dsupplicant_hidl_test.cpp74 [&](const SupplicantStatus& status, const sp<ISupplicantIface>& iface) { in TEST_F() argument
78 EXPECT_NE(nullptr, iface.get()); in TEST_F()
92 [&](const SupplicantStatus& status, const sp<ISupplicantIface>& iface) { in TEST_F() argument
96 EXPECT_NE(nullptr, iface.get()); in TEST_F()
110 [&](const SupplicantStatus& status, const sp<ISupplicantIface>& iface) { in TEST_F() argument
114 EXPECT_NE(nullptr, iface.get()); in TEST_F()
133 [&](const SupplicantStatus& status, const sp<ISupplicantIface>& iface) { in TEST_F() argument
137 EXPECT_NE(nullptr, iface.get()); in TEST_F()
/hardware/interfaces/wifi/1.0/
DIWifiChip.hal299 * Create an AP iface on the chip.
311 * @return iface HIDL interface object representing the iface if
314 createApIface() generates (WifiStatus status, IWifiApIface iface);
317 * List all the AP iface names configured on the chip.
318 * The corresponding |IWifiApIface| object for any iface are
325 * @return ifnames List of all AP iface names on the chip.
333 * @param ifname Name of the iface.
339 * @return iface HIDL interface object representing the iface if
342 getApIface(string ifname) generates (WifiStatus status, IWifiApIface iface);
349 * @param ifname Name of the iface.
[all …]
DIWifiIface.hal20 * Interface used to represent a single iface.
24 * Get the type of this iface.
30 * @return type One of the supported iface types.
35 * Get the name of this iface.
41 * @return name Name of the iface.
DIWifiChipEventCallback.hal23 * configured. When this is called any previous iface objects must be
33 * error and any iface objects available previously must be considered
42 * Callback indicating that a new iface has been added to the chip.
44 * @param type Type of iface added.
45 * @param name Name of iface added.
50 * Callback indicating that an existing iface has been removed from the chip.
52 * @param type Type of iface removed.
53 * @param name Name of iface removed.
/hardware/interfaces/wifi/1.3/default/
Dwifi_chip.cpp49 void invalidateAndClear(std::vector<sp<Iface>>& ifaces, sp<Iface> iface) { in invalidateAndClear() argument
50 iface->invalidate(); in invalidateAndClear()
51 ifaces.erase(std::remove(ifaces.begin(), ifaces.end(), iface), in invalidateAndClear()
57 for (const auto& iface : ifaces) { in invalidateAndClearAll() local
58 iface->invalidate(); in invalidateAndClearAll()
66 for (const auto& iface : ifaces) { in getNames() local
67 names.emplace_back(iface->getName()); in getNames()
76 for (const auto& iface : ifaces) { in findUsingName() local
77 if (name == iface->getName()) { in findUsingName()
78 return iface; in findUsingName()
[all …]

12345