aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* D-Bus: Add association response status code property for failure casesNaveen Singh2016-03-061-0/+5
| | | | | | | | | | (Re)Association Response frame with status code other than 0 is now notified over DBUS as a part of PropertiesChanged signal. This can be used by application in case AP is denying association with status code 17 (band steering) so that it does not interfere in the BSSID selection logic of wpa_supplicant. Signed-off-by: Naveen Singh <nasingh@google.com>
* dbus: Add support for vendor specific elementsAvichal Agarwal2015-12-061-0/+52
| | | | | | | | | | | | | | | | | | The new methods are 1. VendorElemAdd "i" "ay" i=integer ay=array of bytes 2. VendorElemGet "i" i=integer (output array of bytes) 3. VendorElemRem "i" "ay" i=integer ay=array of bytes These provide functionality similar to the control interface commands VENDOR_ELEM_ADD, VENDOR_ELEM_GET, and VENDOR_ELEM_REMOVE. Signed-off-by: Avichal Agarwal <avichal.a@samsung.com> Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com> Signed-off-by: Kyeong-Chae Lim <kcya.lim@samsung.com> Signed-off-by: Mayank Haarit <mayank.h@samsung.com> Signed-off-by: Dilshad Ahmad <dilshad.a@samsung.com> [VendorElemGet to return array of bytes instead of string; cleanup] Signed-off-by: Jouni Malinen <j@w1.fi>
* dbus: Add SaveConfig to update configuration filePurushottam Kushwaha2015-11-151-0/+4
| | | | | | | | This is similar to SAVE_CONFIG on control interface, which allow users to update the configuration file. Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com> Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
* dbus: Expose interface globals via D-Bus propertiesDan Williams2015-10-281-0/+245
| | | | | | | All interface globals are now exposed as D-Bus properties of type string, and parsed via the normal interface global parsing functions. Signed-off-by: Dan Williams <dcbw@redhat.com>
* D-Bus: Add a dbus handler for expected disconnectionNingyuan Wang2015-10-121-0/+5
| | | | | | | | | | | Add a global D-Bus handler ExpectDisconnect for setting wpa_s->own_disconnect_req flag. This flag will prevent wpa_supplicant from adding blacklists and requesting incomplete scan upon the incoming disconnection. This is mainly meant for a case where suspend/resume is used and some external component knows about that and can provide the information to wpa_supplicant before the disconnection happens. Signed-off-by: Ningyuan Wang <nywang@google.com>
* doc: Update version to 2.5Jouni Malinen2015-09-271-1/+1
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* D-Bus: Add InvitationReceived SignalManeesh Jain2015-09-271-0/+19
| | | | | | | | This is equivalent to the P2P_EVENT_INVITATION_RECEIVED signal on the control interface. It can be used to sent the Invitation Received signal to applications written using D-Bus. Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
* D-Bus: Add signal to notify WPS timeout eventSaurav Babu2015-09-271-1/+1
| | | | Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
* D-BUS: dev_passwd_id should be "q" because it uses DBUS_TYPE_UINT16Nishant Chaprana2015-09-251-1/+1
| | | | | | | | This corrects the type of dev_passwd_id in GONegotiationRequest event. This field is packed as DBUS_TYPE_UINT16 but in wpas_dbus_interface_signals it was "i" which is DBUS_TYPE_INT32. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* P2P: Add D-Bus signal GroupFormationFailureNishant Chaprana2015-09-051-0/+10
| | | | | | | This is similar to the control interface event P2P-GROUP-FORMATION-FAILURE. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* dbus: Add RemoveClient method to remove a client from local GOPurushottam Kushwaha2015-06-191-0/+17
| | | | | | | | | | | | This is equivalent to the P2P_REMOVE_CLIENT command on control interface. This can be used to remove the specified client [as object path or string format interface address] from all groups (operating and persistent) from the local GO. Argument(s): peer[object path] OR iface[string format MAC address] Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com> Signed-off-by: Jijo Jacob <jijo.jacob@samsung.com>
* dbus: Add Reconnect command to D-Bus InterfaceMAYANK HAARIT2015-06-141-0/+10
| | | | | | | This has same behavior as the ctrl_iface RECONNECT command. Signed-off-by: Mayank Haarit <mayank.h@samsung.com> Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com>
* doc: Update D-Bus GONegotiationRequest Signal: add device_go_intentMAYANK HAARIT2015-06-141-1/+1
| | | | | | | | | This new parameter was added by commit aa2b12562b6e70fe48c7ce4abebf094206a9332a ('P2P: Add GO Intent of connecting device in GO Negotiation Request event'). Signed-off-by: Rahul Jain <rahul.jain@samsung.com> Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
* D-Bus: Add WPS pbc-overlap EventAvichal Agarwal2015-06-101-2/+3
| | | | | | | This sends an Event D-Bus signal with name "pbc-overlap" for WPS-EVENT-OVERLAP. Signed-off-by: Avichal Agarwal <avichal.a@samsung.com>
* P2P: Add ModelNumber and SerialNumber info into D-Bus peer interfaceAmit Khatri2015-06-101-0/+8
| | | | | Signed-off-by: Amit Khatri <amit.khatri@samsung.com> Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
* P2P: Add ModelName info into D-Bus peer interfaceAmit Khatri2015-06-101-0/+4
| | | | | Signed-off-by: Amit Khatri <amit.khatri@samsung.com> Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
* doc: Add missing ListenChannel to P2P informationAmit Khatri2015-06-101-0/+1
| | | | | Signed-off-by: Amit Khatri <amit.khatri@samsung.com> Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
* doc: Fix a typo in D-Bus API documentAmit Khatri2015-06-061-1/+1
| | | | | Signed-off-by: Amit Khatri <amit.khatri@samsung.com> Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
* P2P: Add manufacturer info into D-Bus peer interfaceAmit Khatri2015-05-291-0/+4
| | | | | | | | | | Allow the Manufacturer information for a found P2P peer device to be fetched through the D-Bus interface similarly to p2p_peer <mac address> on ctrl interface. Signed-off-by: Amit Khatri <amit.khatri@samsung.com> Signed-off-by: Rahul Jain <rahul.jain@samsung.com> Signed-off-by: Ashutosh Kaushik <k.ashutosh@samsung.com>
* P2P: Add P2P Cancel method over D-Bus interfaceNishant Chaprana2015-05-291-0/+5
| | | | | | | This patch adds P2P Cancel method over fi.w1.wpa_supplicant1.Interface.P2PDevice dbus interface. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* WPS: Add WPS Cancel method over D-Bus interfaceNishant Chaprana2015-05-291-0/+4
| | | | Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* P2P: Add D-Bus FindStopped to notify P2P-FIND-STOPPED eventNishant Chaprana2015-05-251-0/+4
| | | | | | | Add D-Bus notification mechanism of P2P-FIND-STOPPED event on fi.w1.wpa_supplicant1.Interface.P2PDevice interface. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* Add peer certificate alt subject name information to EAP eventsJouni Malinen2015-01-141-1/+1
| | | | | | | | | | | | | | | A new "CTRL-EVENT-EAP-PEER-ALT depth=<i> <alt name>" event is now used to provide information about server certificate chain alternative subject names for upper layers, e.g., to make it easier to configure constraints on the server certificate. For example: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:server.example.com Currently, this includes DNS, EMAIL, and URI components from the certificates. Similar information is priovided to D-Bus Certification signal in the new altsubject argument which is a string array of these items. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add rule for generating _wpa_supplicant.epsJouni Malinen2015-01-031-3/+6
| | | | | | | | Commit 7c4e92115a795dd2ee2135cf49d7e9e172fb5851 ('Update Doxygen documentation for new version') rename the PNG version of the image, but forgot the EPS version for Latex. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Disable Doxygen autolink supportJouni Malinen2015-01-0313-408/+411
| | | | | | | | | | | | | | | The way autolink support is implementing in Doxygen is a bit inconvenient with wpa_supplicant being recognized as something that would always be linked to struct wpa_supplicant. In addition, number of links were not really noticed automatically. To get this working more robustly and without having to use the %wpa_supplicant workaround (which had its own issues, e.g., with titles), disable autolinking and use explicit \ref commands instead. This is also updating some of the obsolete notes to point to correct file names, etc. changes in the source code tree. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Document the D-Bus P2P extensionsJouni Malinen2015-01-021-4/+735
| | | | | | | | | | P2P support was added to the wpa_supplicant D-Bus interface long time ago, but there has been no attempt of documenting that interface so far. This commit adds at least a list of new interfaces, methods, properties, and signals. Some of the incorrect and/or strange parts of the interface are also identified with bug/todo comments. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Document D-Bus WPS property ConfigMethodsJouni Malinen2015-01-021-0/+4
| | | | | | This was added a long time ago, but documentation update was forgotten. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Document missing D-Bus Interface propertiesJouni Malinen2015-01-021-0/+10
| | | | | | | CurrentAuthMode and DisconnectReason have been added a long time ago, but documentation update was forgotten. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Document D-Bus BSS properties WPS and AgeJouni Malinen2015-01-021-0/+11
| | | | | | | These have been added a long time ago, but documentation update was forgotten. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus documentation for Probe Request reportingJouni Malinen2015-01-021-0/+34
| | | | | | | | Commit 2d43d37ff2c3115da812bec8ea4c72048e1194d8 ('DBus: Add ability to report probe requests') added this capability, but forgot to document it. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Fix D-Bus documentation for .Network PropertiesJouni Malinen2015-01-021-1/+1
| | | | | | | This propertry is not read-only, i.e., it can also be used to change configuration parameters for an existing network. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus signals Certification(), EAP(), NetworkRequest()Jouni Malinen2014-12-291-0/+59
| | | | | | | This documents number of EAP related D-Bus signals and the related NetworkResponse() method. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus FlushBSS() methodJouni Malinen2014-12-291-0/+9
| | | | | | | | Commit 2b65b30da86f550dc8c228cb2c6456e76dbc7978 ('dbus: Add D-Bus methods to flush the BSS cache') added this, but forgot to update documentation. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus RemoveAllNetworks() methodJouni Malinen2014-12-291-0/+5
| | | | | | | | Commit 7c49fdd0bd214f5fa3af8407d7011930ac150ef1 ('dbus: Add RemoveAllNetworks to the new D-Bus API') added this, but forgot to document it. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus Reattach() methodJouni Malinen2014-12-291-0/+10
| | | | | | | | Commit 0f44ec8eba8a2b01e9c443308a72a2fd3208f7cf ('Add a reattach command for fast reassociate-back-to-same-BSS') added Reattach(), but forgot to document it. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus SignalPoll() methodJouni Malinen2014-12-291-0/+21
| | | | | | | | Commit 7a4a93b9593575ffd64ba72739429d98e4b90858 ('dbus: Add SignalPoll() method to report current signal properties') added this method, but forgot to document it. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Add D-Bus global Capabilities propertyJouni Malinen2014-12-291-0/+5
| | | | | | | | This property was added to the fi.w1.wpa_supplicant1 interface in commit 1634ac0654eba8d458640a115efc0a6cde3bac4d ('dbus: Add global capabilities property'), but documentation was not updated. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Fix D-Bus documentation for CreateInterface()Jouni Malinen2014-12-291-1/+2
| | | | | | | The "Bridge_ifname" parameter had been renamed to "BridgeIfname" and "ConfigFile" is also available as a parameter. Signed-off-by: Jouni Malinen <j@w1.fi>
* doc: Fix D-Bus page format with newer Doxygen versionsJouni Malinen2014-12-291-13/+13
| | | | | | | | | It looks like the space indentation before the HTML command ended up being converted to HTML tags getting shown as code text rather than being used to control formatting. Fix this by removing indentation from the first line of each HTML segment. Signed-off-by: Jouni Malinen <j@w1.fi>
* Remove references to madwifi from various filesJouni Malinen2014-11-012-2/+2
| | | | | | | | Number of documentation and configuration files had references to the madwifi driver interface that was removed in the previous commit. Remove these references as well. Signed-off-by: Jouni Malinen <j@w1.fi>
* test: Remove driver_test.cJouni Malinen2014-10-111-162/+0
| | | | | | | | | | | | The driver_test.c driver wrapper (-Dtest in wpa_supplicant and driver=test in hostapd) was previously used for testing without real Wi-Fi hardware. mac80211_hwsim-based tests have practically replaced all these needs and there has been no improvements or use for driver_test.c in a long while. Because of this, there has not really been any effort to maintain this older test tool and no justification to change this either. Remove the obsoleted test mechanism to clean up the repository. Signed-off-by: Jouni Malinen <j@w1.fi>
* Add reassociate command to dbus doxygenFionn Cleary2014-04-111-0/+10
| | | | Signed-off-by: Fionn Cleary <fionn.cleary@streamunlimited.com>
* P2P: Remove WPA_DRIVER_FLAGS_P2P_MGMT optionJouni Malinen2013-12-291-24/+0
| | | | | | | | | | | | | The option of handling upper layer P2P management operations within the driver/firmware was originally planned to be used with wpa_supplicant, but this has not really happened and there is no clear sign of this being needed in the near term either. This functionality has not been completed and it is certainly not being kept up-to-date or tested. As such, it is best to remove it for now and if this or something similar is needed in the future, it can be brought back once a clear need for it has been demonstrated first. Signed-hostap: Jouni Malinen <j@w1.fi>
* D-Bus: Add support to set pkcs11_{engine,module}_pathMichael Schaller2013-11-231-0/+29
| | | | | | | Add SetPKCS11EngineAndModulePath D-Bus method. Add PKCS11EnginePath and PKCS11ModulePath D-Bus property getters. Signed-hostap: Michael Schaller <misch@google.com>
* dbus_new: Add documentation for D-Bus TDLS methodsPaul Stewart2013-11-201-0/+67
| | | | Signed-hostap: Paul Stewart <pstew@chromium.org>
* doc: Update D-Bus docs for Scan()'s new AllowRoam optionDan Williams2013-10-221-0/+1
| | | | Signed-hostap: Dan Williams <dcbw@redhat.com>
* D-Bus: Emit signal when a station is authorized or deauthorizedChengyi Zhao2013-06-221-0/+20
| | | | | | | | | | Add "StaAuthorized" and "StaDeauthorized" D-Bus interface in AP mode. After enabling the AP mode of wpa_supplicant, the other process need to get the MAC address and authorization status of every station, so wpa_supplicant emits signal when the station is authorized or deauthorized. Signed-hostap: Chengyi Zhao <chengyix.zhao@gmail.com>
* dbus_new: Add EAP logon/logoffPaul Stewart2013-04-231-1/+9
| | | | | | | | | Add "EAPLogoff" and "EAPLogon" interface DBus commands which parallel the "logoff" and "logon" wpa_ctrl commands which terminate and restart EAP authentication. Slightly enhance the "logon" case by expiring any running "startWhile" timer. Signed-hostap: Paul Stewart <pstew@chromium.org>
* Add Doxygen documentation for functionality related to scanningJouni Malinen2012-12-271-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* D-Bus: Add AutoScan interface method to set/unset autoscan parametersTomasz Bursztyka2012-06-261-0/+16
| | | | Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>