Home
last modified time | relevance | path

Searched refs:P2P (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/wifi/1.3/default/
Dwifi_feature_flags.cpp76 # define WIFI_HAL_INTERFACE_COMBINATIONS {{{STA}, 1}, {{P2P, NAN}, 1}}
79 # define WIFI_HAL_INTERFACE_COMBINATIONS {{{STA}, 1}, {{P2P}, 1}}
85 {{{STA}, 1}, {{P2P, NAN}, 1}}
89 {{{STA}, 1}, {{P2P}, 1}}
97 # define WIFI_HAL_INTERFACE_COMBINATIONS {{{STA}, 1}, {{P2P, NAN}, 1}}
100 # define WIFI_HAL_INTERFACE_COMBINATIONS {{{STA}, 1}, {{P2P}, 1}}
132 #define P2P IfaceType::P2P macro
144 #undef P2P
Dwifi_mode_controller.cpp33 case IfaceType::P2P: in convertIfaceTypeToFirmwareMode()
Dwifi_p2p_iface.cpp59 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::P2P}; in getTypeInternal()
Dwifi_chip.cpp906 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::P2P)) { in createP2pIfaceInternal()
913 if (!callback->onIfaceAdded(IfaceType::P2P, ifname).isOk()) { in createP2pIfaceInternal()
944 if (!callback->onIfaceRemoved(IfaceType::P2P, ifname).isOk()) { in removeP2pIfaceInternal()
1307 iface_counts[IfaceType::P2P] = p2p_ifaces_.size(); in getCurrentIfaceCombination()
1331 {IfaceType::AP, IfaceType::NAN, IfaceType::P2P, IfaceType::STA}) { in expandIfaceCombinations()
1356 {IfaceType::AP, IfaceType::NAN, IfaceType::P2P, IfaceType::STA}) { in canExpandedIfaceComboSupportIfaceOfTypeWithCurrentIfaces()
1400 {IfaceType::AP, IfaceType::NAN, IfaceType::P2P, IfaceType::STA}) { in canExpandedIfaceComboSupportIfaceCombo()
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantP2pIfaceCallback.hal21 * for each P2P mode interface (ISupplicantP2pIface).
43 * Status codes for P2P operations.
62 * Status codes for P2P discovery.
87 * Used to indicate that a P2P device has been found.
90 * be the P2P device address or the P2P interface address.
91 * @param p2pDeviceAddress P2P device address.
92 * @param primaryDeviceType Type of device. Refer to section B.1 of Wifi P2P
97 * @param deviceCapabilities Refer to section 4.1.4 of Wifi P2P Technical
99 * @param groupCapabilites Refer to section 4.1.4 of Wifi P2P Technical
111 * Used to indicate that a P2P device has been lost.
[all …]
DISupplicantP2pNetwork.hal23 * Interface exposed by the supplicant for each P2P mode network
105 * Set the list of P2P Clients in a persistent group (GO).
106 * This is a list of P2P Clients (P2P Device Address) that have joined
120 * Get the list of P2P Clients in a persistent group (GO).
121 * This is a list of P2P Clients (P2P Device Address) that have joined
DISupplicantP2pIface.hal23 * Interface exposed by the supplicant for each P2P mode network
101 * Set the postfix to be used for P2P SSID's.
114 * Set the Maximum idle time in seconds for P2P groups.
115 * This value controls how long a P2P group is maintained after there
117 * associated stations in the group. As a P2P client, this means no
147 * Initiate a P2P service discovery with an optional timeout.
162 * Stop an ongoing P2P service discovery.
174 * Flush P2P peer table and state.
185 * Start P2P group formation with a discovered P2P peer. This includes
200 * Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.7.
[all …]
Dtypes.hal74 P2P
78 * P2P group capability.
DISupplicant.hal148 * When both P2P and STA mode ifaces are active, this must be used
149 * to prioritize either STA or P2P connection to resolve conflicts
DISupplicantIface.hal143 * @parm type Type of device. Refer to section B.1 of Wifi P2P
/hardware/interfaces/wifi/1.3/default/tests/
Dwifi_chip_unit_tests.cpp52 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P}, 1}}} in setupV1IfaceCombination()
69 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV1_AwareIfaceCombination()
86 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV1_AwareDisabledApIfaceCombination()
100 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV2_AwareIfaceCombination()
113 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV2_AwareDisabledApIfaceCombination()
202 } else if (type == IfaceType::P2P) { in createIface()
241 } else if (type == IfaceType::P2P) { in removeIface()
317 ASSERT_FALSE(createIface(IfaceType::P2P).empty()); in TEST_F()
333 ASSERT_FALSE(createIface(IfaceType::P2P).empty()); in TEST_F()
376 ASSERT_FALSE(createIface(IfaceType::P2P).empty()); in TEST_F()
[all …]
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
Dsupplicant_hidl_test.cpp89 iface_info.type = IfaceType::P2P; in TEST_F()
129 iface_info.type = IfaceType::P2P; in TEST_F()
/hardware/interfaces/wifi/supplicant/1.2/
DISupplicantP2pIface.hal25 * Interface exposed by the supplicant for each P2P mode network
33 * Set up a P2P group owner or join a group as a group client
36 * If joinExistingGroup is false, this device sets up a P2P group owner manually (i.e.,
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test.cpp81 return iface.type == IfaceType::P2P; in TEST_F()
188 IfaceType::P2P, [](const SupplicantStatus& status) { in TEST_F()
Dsupplicant_hidl_test_utils.cpp211 ISupplicant::IfaceInfo info = {IfaceType::P2P, getP2pIfaceName()}; in addSupplicantP2pIface_1_1()
287 if (!findIfaceOfType(supplicant, IfaceType::P2P, &info)) { in getSupplicantP2pIface()
Dsupplicant_p2p_iface_hidl_test.cpp213 EXPECT_EQ(status_and_interface_type.second, IfaceType::P2P); in TEST_F()
/hardware/interfaces/wifi/1.0/
DIWifiChip.hal56 * [{STA} <= 1, {NAN,P2P} <= 1]
57 * Optionally a STA and either NAN or P2P
58 * [], [STA], [STA+NAN], [STA+P2P], [NAN], [P2P]
59 * Not included [NAN+P2P], [STA+NAN+P2P]
419 * Create a P2P iface on the chip.
423 * allowed (specified in |ChipIfaceCombination|) number of ifaces of the P2P
437 * List all the P2P iface names configured on the chip.
445 * @return ifnames List of all P2P iface names on the chip.
450 * Gets a HIDL interface object for the P2P Iface corresponding
465 * Removes the P2P Iface with the provided ifname.
Dtypes.hal57 P2P,
1716 * Optional - peer device hint (STA, P2P, AP).
1720 * Required for STA-AP mode, optional for P2P, NBD etc.
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp563 configureChipForIfaceType(IfaceType::P2P, true); in TEST_F()
577 configureChipForIfaceType(IfaceType::P2P, true); in TEST_F()
609 configureChipForIfaceType(IfaceType::P2P, true); in TEST_F()
635 configureChipForIfaceType(IfaceType::P2P, true); in TEST_F()
Dwifi_hidl_test_utils.cpp160 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::P2P)) { in getWifiP2pIface()
/hardware/interfaces/wifi/1.3/
DIWifiChip.hal37 * Support P2P MAC randomization