aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
Commit message (Collapse)AuthorAgeFilesLines
* Assign QCA vendor command/attributes for set/get wifi configurationSunil Dutt2016-04-181-1/+59
| | | | | | | | This adds QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION and QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION and the attributes used with these commands. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA nl80211 vendor commands for TSF and WISA FeatureManikandan Mohan2016-04-051-0/+44
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Revert "Assign QCA vendor command and attribute for Tx/Rx aggregation"Sunil Dutt2016-03-311-19/+0
| | | | | | | | | | | This reverts commit 4ca16b5fd71833d7d200167ba10b471cab7d049f. Configuration for this will be done using a previously assigned more generic command. This new command QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION has not been used in any driver version and won't be used, so the assigned command id can be freed for future use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Assign QCA vendor command and attribute for Tx/Rx aggregationSunil Dutt2016-03-171-0/+19
| | | | | | | | Assign nl80211 vendor command QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION and corresponding attributes. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 116..118Jouni Malinen2016-03-081-0/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Assign QCA vendor command and attribute for Tx power reduction in dBPeng Xu2015-11-191-0/+17
| | | | | | | | Assign nl80211 vendor command QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_DECR_DB and corresponding attributes. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Extend QCA roam event with subnet change indicationRavi Joshi2015-11-161-0/+1
| | | | | | | | | The new attribute can be used with QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH to indicate whether the IP subnet was detected to have changed when processing offloaded roam/key management. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 110..114Jouni Malinen2015-10-261-0/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Assign QCA commands and attributes for Tx power scaling and OTA testingPeng Xu2015-10-261-0/+32
| | | | | | | | Assign nl80211vendor commands QCA_NL80211_VENDOR_SUBCMD_OTA_TEST and QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE as well as corresponding attributes. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor definitions for simultaneous offchannelKanchanapally, Vidyullatha2015-09-301-0/+3
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor definitions for vendor scan supportKanchanapally, Vidyullatha2015-09-301-0/+54
| | | | | | | Introduce definitions for QCA vendor specific subcommands and attributes to support vendor scan request. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Define new registry for QCA vendor specific elementsJouni Malinen2015-07-301-0/+30
| | | | | | | | | | The new enum qca_vendor_element_id registry is used to manage assignments of vendor specific elements using the QCA OUI 00:13:74. The initial assignment is for the purpose for extending P2P functionality for cases where the wpa_supplicant implementation is used by both ends of an exchange. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Fix generating offloaded ACS channel list when hw_mode is set to anyPeng Xu2015-07-281-0/+1
| | | | | | | | | When ACS is offloaded to device driver and the hw_mode parameter is set to any, the current_mode structure is NULL which fails the ACS command. Fix this by populating the ACS channel list with channels from all bands when current_mode is NULL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* QCA vendor command support to set band to driverSrinivas Dasari2015-07-281-0/+9
| | | | | | | | | Add vendor command to pass SET setband command to the driver and read the updated channel list from driver when this notification succeeds. This allows the driver to update its internal channel lists based on setband configuration. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor definitions for multi-port concurrencyAhmad Kholaif2015-07-221-0/+51
| | | | | | | Introduce definitions for QCA vendor specific subcommands and attributes to support multiport concurrency. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor command for updating gateway parametersRavi Joshi2015-07-211-0/+1
| | | | | | Add vendor command for updating gateway parameters to the driver. Signed-off-by: Ravi Joshi <ravij@qca.qualcomm.com>
* Extend hw_mode to support any band for offloaded ACS casePeng Xu2015-05-271-0/+4
| | | | | | | | | When device supports dual band operations with offloaded ACS, hw_mode can now be set to any band (hw_mode=any) in order to allow ACS to select the best channel from any band. After a channel is selected, the hw_mode is updated for hostapd. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor subcmd for Link Property QuerySunil Dutt2015-05-071-0/+1
| | | | | | | | Link Property query vendor command shall facilitate the information of the Wi-Fi link. MAC address of the Wi-Fi peer is given as an input for querying the link properties. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Mark QCA vendor command id 53 reserved, but not used anymoreJouni Malinen2015-04-221-1/+1
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor subcmd for OCBJouni Malinen2015-04-211-0/+9
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Extend offloaded ACS QCA vendor command to support VHTManikandan Mohan2015-03-231-0/+5
| | | | | | | | Update ACS driver offload feature for VHT configuration. In addition, this allows the chanlist parameter to be used to specify which channels are included as options for the offloaded ACS case. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add QCA vendor subcmd for Data OffloadSunil Dutt2015-03-071-0/+22
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 61..90Jouni Malinen2015-03-061-0/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Allocate QCA vendor subcmds for DFS radar detected and CAC eventsAhmad Kholaif2015-02-111-3/+24
| | | | | | | | | | | | When DFS offloading capability is supported by the driver, the driver should use these events to indicate when a radar pattern has been detected, channel availability check (CAC) has been completed, aborted or finished after the non-occupancy period is over on a DFS channel. Also, add a new driver.h event to be used by NL80211 to indicate CAC Started event on a DFS channel. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Allocate QCA vendor subcmd for DFS CAC Start eventAhmad Kholaif2015-02-091-1/+5
| | | | | | | | When DFS offloading capability is supported by the driver, the driver should use this event to indicate when channel availability check (CAC) is started on a DFS channel. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Test vendor command and eventJouni Malinen2015-02-091-0/+1
| | | | | | | | This adds testing code (for CONFIG_TESTING_OPTIONS=y builds only) to send an nl80211 vendor command and report a test vendor event in case the driver supports this. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Add QCA vendor specific query of device/driver featuresChet Lanctot2014-12-091-2/+26
| | | | | | | | This commit introduces a QCA vendor command that allows interrogation of the vendor-specific features supported by the device/driver. Currently the only defined feature is the ability to offload key management. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* hostapd: Allow ACS to be offloaded to the driverPeng Xu2014-12-031-0/+25
| | | | | | | | Using QCA vendor command, allow ACS function to be offloaded to the driver. Once channels are selected, hostapd is notified to perform OBSS operation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add a name for an assigned QCA nl80211 vendor subcmdJouni Malinen2014-12-021-1/+1
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Rename QCA nl80211 vendor subcmds to match AOSP namesJouni Malinen2014-12-021-14/+14
| | | | | | | This makes the enum vendor_subcmds definitions more consistent with the names used in Android. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add names for assigned QCA nl80211 vendor subcmdsJouni Malinen2014-11-211-1/+30
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 53Jouni Malinen2014-11-201-0/+1
| | | | | | These is reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Assign QCA vendor specific nl80211 command id 52 for APFINDJouni Malinen2014-11-131-0/+1
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Add support for offloading key management operations to the driverChet Lanctot2014-10-231-0/+25
| | | | | | | | | This commit introduces a QCA vendor command and event to provide an option to use extended versions of the nl80211 connect/roam operations in a way that allows drivers to offload key management operations to the driver/firmware. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 34..49Jouni Malinen2014-10-071-1/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Add roaming policy update using QCA vendor commandJouni Malinen2014-09-111-1/+19
| | | | | | | | This allows updating roaming policy for drivers that select the BSS internally so that wpa_supplicant (based on bssid parameter configuration) and the driver remain in sync. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 20..33Jouni Malinen2014-06-051-1/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Add vendor attribute for interface indexAmar Singhal2014-06-051-0/+2
| | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Reserve QCA vendor specific nl80211 commands 14..19Jouni Malinen2014-05-221-0/+1
| | | | | | These are reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Make qca-vendor.h independent of other header filesJouni Malinen2014-04-251-10/+0
| | | | | | | | Move the definitions that depended in common.h into a separate header file so that qca-vendor.h can be copied and used as-is in other projects. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Allocate QCA vendor subcmd for extended statisticsAmar Singhal2014-04-251-0/+3
| | | | | | | | This allocates a QCA vendor subcmd for extended statistics functionality and also an attribute for delivering the payload for extended statistics. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Tag and ignore generated packetsJohannes Berg2014-04-131-0/+7
| | | | | | | | Rather than ignoring packets with a minimal 8-byte radiotap header, which may occur elsewhere, tag generated (decrypted) packets with an empty vendor namespace tag and ignore those. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* nl80211: Add QCA vendor subcmd for NANAmarnath Hullur Subramanyam2014-04-071-0/+7
| | | | | | | QCA vendor extension is used for NAN functionality. This defines the subcommand and attribute to address this. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* nl80211: Fetch DFS offload capability from driverAmar Singhal2014-03-221-0/+13
| | | | | | | This uses a QCA vendor extension to determine if the driver supports fully offloaded DFS operations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Apply unsafe frequency rules to available channelsArif Hussain2014-01-271-0/+18
| | | | | | | | | | | | | | | | This adds a QCA vendor specific nl80211 event to allow the driver to indicate a list of frequency ranges that should be avoided due to interference or possible known co-existance constraints. Such frequencies are marked as not allowed for P2P use to force groups to be formed on different channels. If a P2P GO is operating on a channel that the driver recommended not to use, a notification about this is sent on the control interface and upper layer code may decide to tear down the group and optionally restart it on another channel. As a TODO item, this could also be changed to use CSA to avoid removing the group. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Add a header file defining QCA OUI and vendor extensionsJouni Malinen2014-01-241-0/+33
This file is used as a registry of identifier assignments from the Qualcomm Atheros OUI 00:13:74 for purposes other than MAC address assignment. One of the first uses will be for nl80211 vendor commands/events which is reason for the preparation change in driver_nl80211.c Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>