qcacmn: QCA vendor attributes for MLO and EHT capabilities

Add new QCA vendor attributes to configure the driver for EHT
capabilities and multi-link configuration.

Change-Id: I322a6fe112b83b3636c9383db152bfaa5dd34c14
CRs-Fixed: 3395113
Dieser Commit ist enthalten in:
Gururaj Pandurangi
2023-02-02 03:25:28 -08:00
committet von Madan Koyyalamudi
Ursprung 3d76f47ca8
Commit d77d7fbf29

Datei anzeigen

@@ -5314,6 +5314,29 @@ enum qca_wlan_vendor_attr_config {
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_WFC_STATE = 86,
/* 8-bit unsigned value to configure the driver to enable/disable the
* EHT EML capability in management frame EHT capabilities.
* 1 - Enable, 0 - Disable.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_EML_CAPABILITY = 87,
/* 8-bit unsigned value to configure the driver with EHT MLO max
* simultaneous links to be used for MLO connection.
* The range of the value is 0 to 14.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_SIMULTANEOUS_LINKS = 88,
/* 8-bit unsigned value to configure the driver with EHT MLO maximum
* number of links to be used for MLO connection.
* The range of the value is 1 to 16.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_NUM_LINKS = 89,
/* 8-bit unsigned value to configure the driver with EHT MLO mode.
* Uses enum qca_wlan_eht_mlo_mode values.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MODE = 90,
/* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@@ -8857,6 +8880,24 @@ enum eht_mcs_config {
EHT_MCS0_13 = 3,
};
/**
* enum qca_wlan_eht_mlo_mode: EHT MLO mode configuration.
* @QCA_WLAN_EHT_MODE_INVALID: Invalid.
* @QCA_WLAN_EHT_MLSR: Multi-link single radio mode
* @QCA_WLAN_EHT_EMLSR: Enhanced multi-link single radio mode.
* @QCA_WLAN_EHT_NON_STR_MLMR: Non simultaneous transmit and receive
* multi-link multi radio mode.
* @QCA_WLAN_EHT_STR_MLMR: Simultaneous transmit and receive
* multi-link multi radio mode.
*/
enum qca_wlan_eht_mlo_mode {
QCA_WLAN_EHT_MODE_INVALID = 0,
QCA_WLAN_EHT_MLSR = 1,
QCA_WLAN_EHT_EMLSR = 2,
QCA_WLAN_EHT_NON_STR_MLMR = 3,
QCA_WLAN_EHT_STR_MLMR = 4,
};
/**
* enum qca_wlan_vendor_attr_he_omi_tx: Represents attributes for
* HE operating mode control transmit request. These attributes are