mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
Add subcmd QCA_NL80211_VENDOR_SUBCMD_INTEROP_ISSUES_AP
In practice, some APs have interop issues with the DUT. This sub command is used to transfer the AP info between the driver and user space. This works both as a command and event. As a command, it configures the stored list of APs from user space to firmware; as an event, it indicates the AP info detected by the firmware to user space for persistent storage. The attributes defined in enum qca_vendor_attr_interop_issues_ap are used to deliver the parameters. Signed-off-by: Paul Zhang <paulz@codeaurora.org>
This commit is contained in:
parent
a85d4ed1c0
commit
fb10f3bb65
@ -571,6 +571,14 @@ enum qca_radiotap_vendor_ids {
|
|||||||
*
|
*
|
||||||
* All the attributes used with this command are defined in
|
* All the attributes used with this command are defined in
|
||||||
* enum qca_wlan_vendor_attr_beacon_reporting_params.
|
* enum qca_wlan_vendor_attr_beacon_reporting_params.
|
||||||
|
* @QCA_NL80211_VENDOR_SUBCMD_INTEROP_ISSUES_AP: In practice, some APs have
|
||||||
|
* interop issues with the DUT. This sub command is used to transfer the
|
||||||
|
* AP info between the driver and user space. This works both as a command
|
||||||
|
* and an event. As a command, it configures the stored list of APs from
|
||||||
|
* user space to firmware; as an event, it indicates the AP info detected
|
||||||
|
* by the firmware to user space for persistent storage. The attributes
|
||||||
|
* defined in enum qca_vendor_attr_interop_issues_ap are used to deliver
|
||||||
|
* the parameters.
|
||||||
*/
|
*/
|
||||||
enum qca_nl80211_vendor_subcmds {
|
enum qca_nl80211_vendor_subcmds {
|
||||||
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
|
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
|
||||||
@ -740,6 +748,7 @@ enum qca_nl80211_vendor_subcmds {
|
|||||||
QCA_NL80211_VENDOR_SUBCMD_PEER_STATS_CACHE_FLUSH = 178,
|
QCA_NL80211_VENDOR_SUBCMD_PEER_STATS_CACHE_FLUSH = 178,
|
||||||
QCA_NL80211_VENDOR_SUBCMD_MPTA_HELPER_CONFIG = 179,
|
QCA_NL80211_VENDOR_SUBCMD_MPTA_HELPER_CONFIG = 179,
|
||||||
QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING = 180,
|
QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING = 180,
|
||||||
|
QCA_NL80211_VENDOR_SUBCMD_INTEROP_ISSUES_AP = 181,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum qca_wlan_vendor_attr {
|
enum qca_wlan_vendor_attr {
|
||||||
@ -6945,4 +6954,46 @@ enum qca_wlan_vendor_attr_beacon_reporting_params {
|
|||||||
QCA_WLAN_VENDOR_ATTR_BEACON_REPORTING_LAST - 1
|
QCA_WLAN_VENDOR_ATTR_BEACON_REPORTING_LAST - 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum qca_vendor_interop_issues_ap_type - Interop issue types
|
||||||
|
* This enum defines the valid set of values of interop issue types. These
|
||||||
|
* values are used by attribute %QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_TYPE.
|
||||||
|
*
|
||||||
|
* @QCA_VENDOR_INTEROP_ISSUES_AP_ON_STA_PS: The AP has power save interop issue
|
||||||
|
* when the STA's Qpower feature is enabled.
|
||||||
|
*/
|
||||||
|
enum qca_vendor_interop_issues_ap_type {
|
||||||
|
QCA_VENDOR_INTEROP_ISSUES_AP_INVALID = 0,
|
||||||
|
QCA_VENDOR_INTEROP_ISSUES_AP_ON_STA_PS = 1,
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum qca_vendor_attr_interop_issues_ap - attribute for AP with interop issues
|
||||||
|
* Values are used by %QCA_NL80211_VENDOR_SUBCMD_INTEROP_ISSUES_AP.
|
||||||
|
*
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_INVALID: Invalid value
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_TYPE: Interop issue type
|
||||||
|
* 32-bit unsigned value. The values defined in enum
|
||||||
|
* qca_vendor_interop_issues_ap_type are used.
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_LIST: APs' BSSID container
|
||||||
|
* array of nested QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_BSSID attributes.
|
||||||
|
* It is present and mandatory for the command but is not used for the event
|
||||||
|
* since only a single BSSID is reported in an event.
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_BSSID: AP's BSSID 6-byte MAC address.
|
||||||
|
* It is used within the nested QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_LIST
|
||||||
|
* attribute in command case and without such encapsulation in the event case.
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_AFTER_LAST: last value
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_MAX: max value
|
||||||
|
*/
|
||||||
|
enum qca_vendor_attr_interop_issues_ap {
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_INVALID,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_TYPE,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_LIST,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_BSSID,
|
||||||
|
/* keep last */
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_AFTER_LAST,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_MAX =
|
||||||
|
QCA_WLAN_VENDOR_ATTR_INTEROP_ISSUES_AP_AFTER_LAST - 1
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* QCA_VENDOR_H */
|
#endif /* QCA_VENDOR_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user