summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/p2p
Commit message (Collapse)AuthorAgeFilesLines
* Frameworks/base: Fix a hashCode implementationAndreas Gampe2015-03-151-1/+1
| | | | | | | | | Equals uses Arrays.equals. That means two responses are equal if the content of the data arrays is equal. By convention, the hash code of those objects should agree. In that case one cannot use hashCode on the array (which is the identity hash code). Change-Id: Icce8e2e71e9142421f5dac8a0ee8a211623fb704
* am 400ec1b9: am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"Elliott Hughes2014-08-181-0/+1
|\ | | | | | | | | * commit '400ec1b938ddc8da367c594105bfaa7485c80564': WifiP2pWfdInfo set device type bugfix
| * am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"Elliott Hughes2014-08-181-0/+1
| |\ | | | | | | | | | | | | * commit '085889e37f5798dd50ec8c66cd0e2cd2ec37c6bd': WifiP2pWfdInfo set device type bugfix
| | * WifiP2pWfdInfo set device type bugfixGrigoriy Kraynov2014-08-181-0/+1
| | | | | | | | | | | | | | | Change-Id: I37a53aed80574e78c80dc4a4192bd8cc4320de9d Signed-off-by: Grigoriy Kraynov <kraynov@mgpro.ru>
| | * DO NOT MERGE refactor wifi p2p's startDhcpServer functionJianzheng Zhou2014-06-231-5/+23
| |/ | | | | | | | | | | | | | | Add getTetheredDhcpRanges() interface and call it before calling mNwService.startTethering() to update dhcp ranges. This will allow p2p app to run well concurrently with other tethering app(e.g. usb tethering). Change-Id: I5e8ffeb5d2d396f48b897cd9396f133e25ecca57 Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
* | interface for nfc handover supplicant commandsAndres Morales2014-06-162-2/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | expose: NFC_GET_HANDOVER_SEL NFC_GET_HANDOVER_REQ NFC_REPORT_HANDOVER These are used in for setting up WFD with NFC and are only accessible given the CONNECTIVITY_INTERNAL permission. Change-Id: Ia43afc137d474822cad896d335530654081a808c
* | Move Wifi/P2p service components under servicesVinit Deshapnde2013-12-115-2963/+24
| | | | | | | | | | | | | | | | | | | | Some methods need to be public, since frameworks/base complies before frameworks/base/services; and services takes build dependency on base. Similar issue exists with WifiEnterpriseConfig constants. Bug: 9907308 Change-Id: Ied0e3dee0b25c939067dbc66867a9814b3b3b68e
* | wifi: P2P: Fix WFD subelement parsingDmitry Shmidt2013-12-111-1/+1
| | | | | | | | | | Change-Id: Ifd802b59266760fb570fee28a6c34339a7f9fa01 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Remove unused imports from frameworks/base.John Spurlock2013-11-204-22/+0
| | | | | | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* | am 63dd9d2f: am 4802c6da: am 4d8a8392: Merge "Don\'t set same country code ↵Robert Greenwalt2013-10-211-1/+15
|\ \ | |/ | | | | | | | | | | on supplicant again and again" into klp-dev * commit '63dd9d2f550983d890ea21eee9b8f8619608bb79': Don't set same country code on supplicant again and again
| * Don't set same country code on supplicant again and againVinit Deshapnde2013-10-211-1/+15
| | | | | | | | | | | | | | | | Setting the same code is redundant, and may cause supplicant to drop currently connected connection. Bug: 11303252 Change-Id: I1af57b3af2d0b8cc51939a8b9872fb3fe0105a91
* | Add a missing wifi p2p discovery changed broadcastYuhao Zheng2013-10-091-0/+1
|/ | | | | | | | | | | | When we disable wifi while wifi p2p peer searching is in progress, we don't get a WIFI_P2P_DISCOVERY_CHANGED_ACTION broadcast saying that discovery is stopped. Since this broadcast is sticky, applications will still get the previous one saying discovery is started even if wifi p2p has been disabled. Adding a sendP2pDiscoveryChangedBroadcast when exiting P2pEnabledState fixes this problem, and it won't be a duplicate as sendP2pDiscoveryChangedBroadcast checks for that. Bug: 11151666 Change-Id: I62de8f3d17d80f151403b91cf5c62866d931c01b
* Revert "Use a build-specific wifi country code"Robert Greenwalt2013-10-031-0/+6
| | | | | | | This reverts commit c33cd23c17c24df33550a6662cedfe60b323604a. bug:11064682 Change-Id: I35825a7005e75f3abf02f23f31dee1cb7b101c31
* Use a build-specific wifi country codeRobert Greenwalt2013-09-291-6/+0
| | | | | | | | | | This ignores any previous setting and instead uses a value set at build time. This does not preclude us from using some other signal to determine country for wifi channel limits. bug:10513734 Change-Id: Ib82c07285af70fbd82eb0466b7391979ebc8be10
* Set country code on P2p interfaces as wellVinit Deshapnde2013-09-091-0/+14
| | | | | | | | | | This change will set country code on P2p interfaces as well, so the drivers are free to use channels that are permitted regionally. This is required for FCC style compliance and Miracast certification. Bug: 10513263 Change-Id: I88c645bd488066d5167e23e2772f2e0e1f40fa8a
* wifi-display: add certification optionsChong Zhang2013-08-232-1/+117
| | | | | | | | | | | | | | | | | | | | When certification mode is enabled: - Pass wfd session info to wifi display settings - Allow sink to connect to source - Add interface in display manager for pausing/resuming session - Add interface in WifiP2pManager for setting lc, oc and starting autonomous GO Note that we're compliant regardless of certification mode, but some confusing options (eg. allowing incoming connection from sink) we want to hide when not being tested. Bug: 9371882 Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
* Use a single socket to communicate with supplicantVinit Deshapnde2013-08-081-1/+1
| | | | | | | | | This helps to prepare for future updates from external sources. Bug: 9298955 Change-Id: I4c63ad5fc1ea3564aab38cfce955de19bad75c0c (cherry picked from commit fb40801ed8c217ae01082fb1cbd0c30bbf5532ac)
* am 5d6b7db5: am 20c911ba: Merge "When wifi wants ASCII lowercasing, it needs ↵Elliott Hughes2013-08-022-2/+2
|\ | | | | | | | | | | | | to ask for it." * commit '5d6b7db5d9cb7de5cee45dd35af18e179f01d583': When wifi wants ASCII lowercasing, it needs to ask for it.
| * When wifi wants ASCII lowercasing, it needs to ask for it.Elliott Hughes2013-08-022-2/+5
| | | | | | | | | | | | | | http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Ibf25d0bbc76015cf8353ec01ab2b743cbc2bde67
* | am 6f2b31fc: am 56a7e4ad: am 116d4665: Merge "Block Wifi P2p discovery while ↵Robert Greenwalt2013-07-111-0/+64
|\ \ | |/ | | | | | | | | | | doing dhcp." into jb-mr2-dev * commit '6f2b31fcf57e4e7f5cd8af9b66619c8f5825a850': Block Wifi P2p discovery while doing dhcp.
| * Block Wifi P2p discovery while doing dhcp.Robert Greenwalt2013-07-111-0/+64
| | | | | | | | | | | | bug:9531609 bug:9302399 Change-Id: Ie4b7c3a75245a0e7cc09fa89ddb1187d349779a1
* | Explicit locale when formatting machine strings.Jeff Sharkey2013-06-115-12/+21
|/ | | | | Bug: 9390451 Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
* Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-devDmitry Shmidt2013-05-111-0/+2
|\
| * P2P: Turn OFF PS-mode for DHCP sessionDmitry Shmidt2013-05-101-0/+2
| | | | | | | | | | | | | | Bug: 8494584 Change-Id: I1d7519a40342538ab31ccad6210e47b3622ae31e Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Fix for P2P GO beaconing when 4way Handshake failsRobert Greenwalt2013-05-101-0/+7
|/ | | | | bug:8871100 Change-Id: I01276f13bfdd4bc23771414935d2a370223bf4fa
* Add support for setMiracastModeIrfan Sheriff2013-03-283-4/+46
| | | | | | | | | | | Usage is setMiracastMode(WifiP2pManager.MIRACAST_SOURCE) or setMiracastMode(WifiP2pManager.MIRACAST_SINK) as an example. Only available for internal use and can be called as long as driver is active. P2p connection is not needed for it to be called Bug: 8493089 Change-Id: I1f87eaf3311212aae980077de26c05651a8cc811
* am 17d89636: am 011b8efc: Merge "frameworks/base: stop find before issuing ↵Irfan Sheriff2013-03-061-0/+2
|\ | | | | | | | | | | | | wps pbc." * commit '17d89636530f4a5e4e77d3ae11e2e696a697cc64': frameworks/base: stop find before issuing wps pbc.
| * frameworks/base: stop find before issuing wps pbc.Deepthi Gowri2013-03-061-0/+2
| | | | | | | | | | | | | | | | Stop p2p find before issuing a PBC to avoid GO switching to other channel leading connection failure. Change-Id: I88906f944de1c85b143f96cb7b35724af19cd151 Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
* | Fix copy constructorIrfan Sheriff2013-03-041-0/+1
| | | | | | | | | | Bug: 8300712 Change-Id: If1c41a9fe35ca5950382ffcc5759fc14641d0b04
* | Fix concurrency issuesIrfan Sheriff2013-02-273-4/+4
| | | | | | | | | | | | | | Make true copy of list when passing off on broadcast Bug: 8212369 Change-Id: Iaf4a303513d267f76bd16b845ec68baabfca6b45
* | Fix NPEIrfan Sheriff2013-02-121-4/+13
| | | | | | | | | | | | | | | | | | | | | | Supplicant sometimes reports 00:00:00:00:00:00 as group owner address causing an NPE. Avoid updating from peer list and let connection continue since group owner address is not essential for data transfer to continue. Bug: 8158711 Change-Id: I06ce88d7fb426fec4965087968f738dd2a7a7799
* | Add protected log methods to StateMachineWink Saville2013-01-281-2/+4
| | | | | | | | | | | | | | This allow child classes to Override the logging and have consistent behavior across StateMachines. Change-Id: I7e23a44d08ca304ade2d7830fd0e307f63f1879e
* | Use readUnsignedByte.Wink Saville2013-01-091-3/+3
| | | | | | | | | | | | | | To remove any doubt about how java is doing its byte/integer arithmetic use readUnsignedByte instead of readByte. Change-Id: I5bdc200ed0cda51ad739804ac1d8d13c043424ec
* | P2p cleanupIrfan Sheriff2012-12-144-198/+296
| | | | | | | | | | | | | | | | | | | | - Clean up handling of mSavedPeerConfig - Add argument protection - Split out WPS handling on GO into a separate API. This was almost hacky right now for applications and was working in an undocumented way - Refactor connect function call and fix updating group capability Change-Id: I26211c72ad60c6b6c939ad7473fcf2fc633f3010
* | Expose more details in broadcastsIrfan Sheriff2012-12-115-55/+127
| | | | | | | | | | | | Expose details in broadcasts and do the necessary clean up alongside Change-Id: I9011d51675a233aa3542f097c8a489c2095103b1
* | Remove exposing dialog handling to appsIrfan Sheriff2012-12-052-402/+34
| | | | | | | | | | | | | | | | | | | | This was a hidden API that has little value in being exposed due to persistence now being supported on the platform. The only use case for this is NFC, and we are going to add support for that in official way Change-Id: I20d97c8fd81e50fc610b4983b613e26ebaa72578
* | am 9648a484: am cdd03f54: Merge "Try go-negotiation when invocation request ↵Irfan Sheriff2012-12-031-1/+12
|\ \ | |/ | | | | | | | | | | is deferred." * commit '9648a484e0f5e0d90c76e83b2ec6a12dec1e3d83': Try go-negotiation when invocation request is deferred.
| * Merge "Try go-negotiation when invocation request is deferred."Irfan Sheriff2012-12-031-1/+12
| |\
| | * Try go-negotiation when invocation request is deferred.Yoshihiko Ikenaga2012-11-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Devices setting persistent_reconnect to 0 in wpa_supplicant returns "information is currently unable" error. In that case, the connection establishment was always failed when the other device does NOT handle the invitation request. So, try go-negotiation for interoperability. Change-Id: Ia30a1c63d1bb4acc186a71248fb0aa5ea7edc627 Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | | Merge "Cleanup logging"Irfan Sheriff2012-11-301-0/+21
|\ \ \
| * | | Cleanup loggingIrfan Sheriff2012-11-301-0/+21
| | | | | | | | | | | | | | | | Change-Id: Ieea19853c069266b55cad80cce3743b5ba91218a
* | | | am a80b9954: am 10c29234: am 13fd8919: Merge "Fixed typo and space."Irfan Sheriff2012-11-271-40/+40
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit 'a80b9954a4e68700030e0c1718a82f3433074037': Fixed typo and space.
| * | Fixed typo and space.Yoshihiko Ikenaga2012-11-161-40/+40
| |/ | | | | | | Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Remove DhcpInfoInternalRobert Greenwalt2012-11-091-8/+9
|/ | | | | | | First step in accepting a set of patches. bug:6799630 Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
* am 4e7f2ffe: Merge "Handle group tear down only at group removed event" into ↵Irfan Sheriff2012-10-241-3/+11
|\ | | | | | | | | | | | | jb-mr1-dev * commit '4e7f2ffe1791807636ac542f73016773c30daa92': Handle group tear down only at group removed event
| * Handle group tear down only at group removed eventIrfan Sheriff2012-10-241-3/+11
| | | | | | | | | | | | | | | | Handling group removal at disconnect causes issues where supplicant keeps the group and then the next invocation fails Bug: 7403755 Change-Id: Iea7e5ec98486607f8e2c4a55be3743e0545a9da7
* | am bf310d1f: Merge "Fix issues shown on CTS tests" into jb-mr1-devIrfan Sheriff2012-10-231-2/+20
|\ \ | |/ | | | | | | * commit 'bf310d1f6ef4ac167f66a4e31724c7766981bd84': Fix issues shown on CTS tests
| * Fix issues shown on CTS testsIrfan Sheriff2012-10-231-2/+20
| | | | | | | | | | | | | | | | | | Reset timeout for single interface architecture Fix persistence reinvocation handling on the receive side Bug: 7379336 Change-Id: Iacca0bd6dcbeb42af63bf2078e8cf3126e4e74a7
* | am 61e42262: Fix group join CTS testIrfan Sheriff2012-10-191-1/+11
|\ \ | |/ | | | | | | * commit '61e42262000549b78843f0959043fec8367ed189': Fix group join CTS test
| * Fix group join CTS testIrfan Sheriff2012-10-191-1/+11
| | | | | | | | | | Bug: 7379336 Change-Id: I20ead7e8c0d855be523bdfd8d9cb9eaa4b8fcac1