]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor event to indicate driver recovery after internal failures
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 15 Jun 2022 14:10:21 +0000 (19:40 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 16 Jun 2022 17:15:39 +0000 (20:15 +0300)
Add QCA vendor event to indicate user space that the driver recovery is
completed after the internal failure reported with
QCA_NL80211_VENDOR_SUBCMD_HANG.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/common/qca-vendor.h

index acf35543fe0e1cea2ea4368f15a0b9bd767b1b00..874bac4256d2ffbe5c89ef627345f172f6e33478 100644 (file)
@@ -796,6 +796,11 @@ enum qca_radiotap_vendor_ids {
  *
  *     The attributes used with this command are defined in
  *     enum qca_wlan_vendor_attr_radio_combination_matrix.
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_DRIVER_READY: Event indicating to the user space
+ *     that the driver is ready for operations again after recovering from
+ *     internal failures. This occurs following a failure that was indicated by
+ *     @QCA_NL80211_VENDOR_SUBCMD_HANG.
  */
 enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@@ -993,6 +998,7 @@ enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_MCC_QUOTA = 205,
        /* 206..212 - reserved for QCA */
        QCA_NL80211_VENDOR_SUBCMD_GET_RADIO_COMBINATION_MATRIX = 213,
+       QCA_NL80211_VENDOR_SUBCMD_DRIVER_READY = 214,
 };
 
 enum qca_wlan_vendor_attr {