2014-01-24 08:58:00 -05:00
|
|
|
/*
|
|
|
|
* Qualcomm Atheros OUI and vendor specific assignments
|
|
|
|
* Copyright (c) 2014, Qualcomm Atheros, Inc.
|
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QCA_VENDOR_H
|
|
|
|
#define QCA_VENDOR_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is a registry of identifier assignments from the Qualcomm Atheros
|
|
|
|
* OUI 00:13:74 for purposes other than MAC address assignment. New identifiers
|
|
|
|
* can be assigned through normal review process for changes to the upstream
|
|
|
|
* hostap.git repository.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define OUI_QCA 0x001374
|
|
|
|
|
2014-04-09 05:53:16 -04:00
|
|
|
/**
|
|
|
|
* enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs
|
|
|
|
*/
|
|
|
|
enum qca_radiotap_vendor_ids {
|
|
|
|
QCA_RADIOTAP_VID_WLANTEST = 0,
|
|
|
|
};
|
|
|
|
|
2014-01-24 08:58:00 -05:00
|
|
|
/**
|
|
|
|
* enum qca_nl80211_vendor_subcmds - QCA nl80211 vendor command identifiers
|
|
|
|
*
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_UNSPEC: Reserved value 0
|
|
|
|
*
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_TEST: Test command/event
|
2014-01-24 09:14:29 -05:00
|
|
|
*
|
2014-09-11 08:54:57 -04:00
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_ROAMING: Set roaming policy for drivers that use
|
|
|
|
* internal BSS-selection. This command uses
|
|
|
|
* @QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY to specify the new roaming policy
|
|
|
|
* for the current connection (i.e., changes policy set by the nl80211
|
|
|
|
* Connect command). @QCA_WLAN_VENDOR_ATTR_MAC_ADDR may optionally be
|
|
|
|
* included to indicate which BSS to use in case roaming is disabled.
|
|
|
|
*
|
2014-01-24 09:14:29 -05:00
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY: Recommendation of frequency
|
|
|
|
* ranges to avoid to reduce issues due to interference or internal
|
|
|
|
* co-existence information in the driver. The event data structure is
|
|
|
|
* defined in struct qca_avoid_freq_list.
|
2014-03-22 15:20:32 -04:00
|
|
|
*
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY: Command to check driver support
|
|
|
|
* for DFS offloading.
|
2014-04-01 14:13:49 -04:00
|
|
|
*
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_NAN: NAN command/event which is used to pass
|
|
|
|
* NAN Request/Response and NAN Indication messages. These messages are
|
|
|
|
* interpreted between the framework and the firmware component.
|
2014-10-23 11:21:49 -04:00
|
|
|
*
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY: Set key operation that can be
|
|
|
|
* used to configure PMK to the driver even when not connected. This can
|
|
|
|
* be used to request offloading of key management operations.
|
|
|
|
* @QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH: An extended version of
|
|
|
|
* NL80211_CMD_ROAM event with optional attributes including information
|
|
|
|
* from offloaded key management operation. Uses
|
|
|
|
* enum qca_wlan_vendor_attr_roam_auth attributes.
|
2014-01-24 08:58:00 -05:00
|
|
|
*/
|
|
|
|
enum qca_nl80211_vendor_subcmds {
|
|
|
|
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
|
|
|
|
QCA_NL80211_VENDOR_SUBCMD_TEST = 1,
|
2014-09-11 08:54:57 -04:00
|
|
|
/* subcmds 2..8 not yet allocated */
|
|
|
|
QCA_NL80211_VENDOR_SUBCMD_ROAMING = 9,
|
2014-01-24 09:14:29 -05:00
|
|
|
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY = 10,
|
2014-03-22 15:20:32 -04:00
|
|
|
QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY = 11,
|
2014-04-01 14:13:49 -04:00
|
|
|
QCA_NL80211_VENDOR_SUBCMD_NAN = 12,
|
2014-04-17 12:54:30 -04:00
|
|
|
QCA_NL80211_VENDOR_SUBMCD_STATS_EXT = 13,
|
2014-10-07 13:07:48 -04:00
|
|
|
/* 14..49 - reserved for QCA */
|
2014-10-23 11:21:49 -04:00
|
|
|
QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY = 50,
|
|
|
|
QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH = 51,
|
2014-11-13 09:26:55 -05:00
|
|
|
QCA_NL80211_VENDOR_SUBCMD_APFIND = 52,
|
2014-01-24 08:58:00 -05:00
|
|
|
};
|
|
|
|
|
2014-01-24 09:14:29 -05:00
|
|
|
|
2014-03-22 15:20:32 -04:00
|
|
|
enum qca_wlan_vendor_attr {
|
|
|
|
QCA_WLAN_VENDOR_ATTR_INVALID = 0,
|
|
|
|
/* used by QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_DFS = 1,
|
2014-04-01 14:13:49 -04:00
|
|
|
/* used by QCA_NL80211_VENDOR_SUBCMD_NAN */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_NAN = 2,
|
2014-04-17 12:54:30 -04:00
|
|
|
/* used by QCA_NL80211_VENDOR_SUBCMD_STATS_EXT */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_STATS_EXT = 3,
|
2014-06-03 14:52:31 -04:00
|
|
|
/* used by QCA_NL80211_VENDOR_SUBCMD_STATS_EXT */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_IFINDEX = 4,
|
2014-09-11 08:54:57 -04:00
|
|
|
/* used by QCA_NL80211_VENDOR_SUBCMD_ROAMING, u32 with values defined
|
|
|
|
* by enum qca_roaming_policy. */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY = 5,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_MAC_ADDR = 6,
|
2014-03-22 15:20:32 -04:00
|
|
|
/* keep last */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_AFTER_LAST,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,
|
|
|
|
};
|
|
|
|
|
2014-09-11 08:54:57 -04:00
|
|
|
|
|
|
|
enum qca_roaming_policy {
|
|
|
|
QCA_ROAMING_NOT_ALLOWED,
|
|
|
|
QCA_ROAMING_ALLOWED_WITHIN_ESS,
|
|
|
|
};
|
|
|
|
|
2014-10-23 11:21:49 -04:00
|
|
|
enum qca_wlan_vendor_attr_roam_auth {
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_INVALID = 0,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_BSSID,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RESP_IE,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AUTHORIZED,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_KEY_REPLAY_CTR,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KCK,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KEK,
|
|
|
|
/* keep last */
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST,
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX =
|
|
|
|
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST - 1
|
|
|
|
};
|
|
|
|
|
2014-01-24 08:58:00 -05:00
|
|
|
#endif /* QCA_VENDOR_H */
|