aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/README-P2P
Commit message (Collapse)AuthorAgeFilesLines
* P2P: Add optional op_class argument to P2P_SET listen_channelLior David2016-03-071-1/+6
| | | | | | | | | | | The existing implementation in p2p_ctrl_set used a hard-coded operating class 81 which is only suitable for the social channels in the 2.4 GHz band, and will not work for the social channel in the 60 GHz band. Extend this by adding an optional op_class argument to P2P_SET listen_channel. If not specified, use the default value of 81 to match existing behavior. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
* Fix some typos in wpa_supplicant README filesJouni Malinen2016-03-031-2/+2
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* README-P2P: Fix a typoNishant Chaprana2016-03-031-2/+2
| | | | Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* P2P: Add an option to specify group SSID in P2P_CONNECT join caseJouni Malinen2015-12-301-0/+7
| | | | | | | | | | | The new optional ssid=<hexdump> argument to P2P_CONNECT can be used to make P2P Client operations during join-an-existing-group more robust by filtering out scan results based on the SSID in addition to the P2P Device/Interface Address. This can help if the same MAC address has been used in multiple groups recently and the cached scan results may still include an older BSS. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Allow a specific channel to be specified in P2P_FINDDaisuke Niwa2015-02-281-2/+4
| | | | | | | | | The optional freq=<MHz> can now be used with the P2P_FIND command to specify a single channel to scan during the first round of P2P search. For example, this can be used to replace the full initial scan with a single channel scan of a known operation channel. Signed-off-by: Daichi Ueura <daichi.ueura@sonymobile.com>
* P2PS: Add P2PS interface infoRajiv Ranjan2015-02-211-2/+226
| | | | | | This adds documentation on P2PS related interface commands and events. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Document P2P_CONNECT-autoJouni Malinen2015-02-081-1/+5
| | | | | | | | Commit b31be3a0fd58b38e669d804aa082b1039408566f ('P2P: Add automatic GO Negotiation vs. join-a-group selection') added this P2P_CONNECT 'auto' parameter, but did not update any documentation on it. Signed-off-by: Jouni Malinen <j@w1.fi>
* P2P: Make the default p2p_find delay value configurableNirav Shah2014-06-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the p2p_find default delay value configurable as p2p_search_delay parameter through the configuration file (and through control interface "SET p2p_search_delay <value>" on the P2P management interface. This parameter controls the number milliseconds of extra delay that is added between search iterations when there is a concurrent operation in progress. This can be used, e.g., p2p_search_delay=100 to make p2p_find friendlier to concurrent operations by avoiding it from taking 100% of the radio resources. The default value is the previous default, i.e., 500 ms. Smaller values can be used to find peers more quickly at the cost of larger effect to concurrent operations while a larger value leaves more time for the concurrent operations at the cost of making device discovery take longer time. The optional p2p_find delay argument can still be used to override the search delay for each search operation. Since the P2P_CONCURRENT_SEARCH_DELAY macro is not used anymore, the driver specific build parameter for bcmdhd from Android.mk is also removed. Similar configuration can now be achieved with p2p_search_delay=0 in the p2p0 interface configuration file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Address few issues seen with P2P SDJithu Jance2014-02-201-3/+2
| | | | | | | | | | | | | | | | | | Suppose we have multiple peers and we have peers advertising SD capability, but no services registered for advertising. In this case, even if there are multiple broadcast queries set, we might end up sending only the lastly added broadcast query to the same device (since SD_INFO won't get set for the first broadcast query). Add support for multiple wildcard queries to be tracked to enable this type of use case. Some times it is seen that before advancing to next device in the list, the scan results come and update SD_SCHEDULE flag. This will result in sending the already sent query to the same device without giving chance to other devices. This issue again is seen with peer devices advertising SD capability without any services registered. Signed-off-by: Jithu Jance <jithu@broadcom.com>
* P2P: Allow requested device type to be specified with p2p_findJouni Malinen2014-01-081-1/+6
| | | | | | | This allows filtering of P2P peers that reply to the device discovery Probe Request frames. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Send received Presence Response information to ctrl_iface monitorsJouni Malinen2014-01-011-2/+4
| | | | | | | | | The P2P_PRESENCE_REQ command did not give any easily available indication of the response received from the GO. Make this more useful by providing such response (if received) as a ctrl_iface monitor event (P2P-PRESENCE-RESPONSE). Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Add VHT parameter to P2P operationsEliad Peller2013-10-271-3/+5
| | | | | | | | | | | | Add the option to ask for VHT operation similarly to the way ht40 is configured - either by adding 'vht' param to the relevant p2p_* commands or by configuring p2p_go_vht=1 in the configuration file. This patch only adds the configuration option (e.g., via control interface). The actual handling of the VHT parameter (asking the driver to use VHT, etc.) will be done by the following patch. Signed-hostap: Eliad Peller <eliadx.peller@intel.com>
* P2P: Document per-client keys and p2p_remove_clientJouni Malinen2013-09-011-0/+22
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Allow P2P client to specify preferred group channelJouni Malinen2013-03-011-2/+6
| | | | | | | | | | When re-invoking a persistent group in P2P client role, the new pref=<MHz> parameter can now be used with the p2p_invite command to indicate a preferred operating frequency. Unlike the older freq=<MHz> parameter, this leaves GO an option to select another channel (from our supported channels) if the GO cannot accept the channel. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Add some more details on Service Query TLV formatJouni Malinen2013-01-131-0/+13
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Add more complete description of p2p_cancelJouni Malinen2012-12-181-1/+7
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Allow p2p_invite-persistent to specify channel for GOJouni Malinen2012-08-311-4/+5
| | | | | | | The freq and ht40 parameters can now be used with the p2p_invite command when reinvoking a persistent group as the GO. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WFD: Add support for sending Wi-Fi Display service discovery requestsJouni Malinen2012-08-291-0/+8
| | | | | | | | | | | | | | | wpa_cli p2p_serv_disc_req command can now be used to request WSD request to be sent to specified or all peers who support WSD. format: wifi-display <list of roles> <list of subelements> examples: p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source] 2,3,4,5 p2p_serv_disc_req 02:01:02:03:04:05 wifi-display [pri-sink] 3 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [sec-source] 2 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source+sink] 2,3,4,5 p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source][pri-sink] 2,3,4,5 Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Add option for adding extra delay to p2p_findJouni Malinen2012-08-231-1/+7
| | | | | | | | | | A new optional delay=<search delay in milliseconds> parameter can now be used with p2p_find command to request an extra delay between search iterations. This can be used, e.g., to make p2p_find friendlier to concurrent operations by avoiding it from taking 100% of the radio resources. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Fix a typoJouni Malinen2012-06-231-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Add option for Provision Discovery before GO NegotiationJouni Malinen2012-05-111-1/+6
| | | | | | | | | | This is a workaround for interoperability issues with some deployed P2P implementations that require a Provision Discovery exchange to be used before GO Negotiation. The new provdisc parameter for the p2p_connect command can be used to request this behavior without having to run a separate p2p_prov_disc command. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Add option to force SSID/passphrase for GO NegotiationJouni Malinen2012-04-271-2/+8
| | | | | | | | | | | | | An existing persistent group information can now be used to force GO Negotiation to use the previously used SSID/passphrase from a persistent group if we become a GO. This can be used as an alternative to inviting a new P2P peer to join the group (i.e., use GO Negotiation with GO intent 15 instead of starting an autonomous GO and using invitation), e.g., in case a GO Negotiation Request is received from a peer while we are not running as a GO. The persistent group to use for parameters is indicated with persistent=<network id> parameter to p2p_connect. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Add p2p_prov_disc auto mechanismJouni Malinen2012-04-261-2/+5
| | | | | | | | wpa_supplicant can now be requested to automatically figure out whether the indicated peer is operating as a GO and if so, use join-a-group style PD instead of pre-GO Negotiation PD. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Add optional "join" argument for p2p_prov_disc commandJithu Jance2011-12-061-1/+5
| | | | | | | | This can be used to request Provision Discovery Request to be sent for the purpose of joining a running group, e.g., to request the GO to display a PIN that we can then use with p2p_connect join command. Signed-hostap: Jithu Jance <jithu@broadcom.com>
* Remove documentation for label option in p2p_connectJouni Malinen2011-12-061-5/+4
| | | | | | | | P2P use cases do not allow use of Label config method and the earlier code for this has already been removed, but this documentation was not updated at the same time. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Add some initial documentation for P2P useJouni Malinen2010-11-191-0/+522