summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2026-05-15 15:09:35 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2026-05-26 15:17:12 +0300
commit6f55c4f3ca2bd1621cd1a7bb1ec65de4c595a819 (patch)
tree504d590d4a9689bd7dfb48d873334de12e5c7bbb /drivers/net/wireless/intel/iwlwifi/fw
parent6d75bcc06ae468dafeac123e7150fb7fd3ed3872 (diff)
downloadlinux-next-6f55c4f3ca2bd1621cd1a7bb1ec65de4c595a819.tar.gz
linux-next-6f55c4f3ca2bd1621cd1a7bb1ec65de4c595a819.zip
wifi: iwlwifi: mld: add support for deferred nan schedule config
Add support for deferred schedule update. Notify mac80211 that the schedule update is done when the firmware notifies that the schedule is applied. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Link: https://patch.msgid.link/20260515150751.a69730d26890.I2ae54cbed8b507e6398a55c19795b27d5ea03aba@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h b/drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
index d03a2bda4e68..09f869b5be0c 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
@@ -85,6 +85,11 @@ enum iwl_mac_conf_subcmd_ids {
*/
NAN_ULW_ATTR_NOTIF = 0xf2,
/**
+ * @NAN_SCHED_UPDATE_COMPLETED_NOTIF:
+ * &struct iwl_nan_sched_update_completed_notif
+ */
+ NAN_SCHED_UPDATE_COMPLETED_NOTIF = 0xf3,
+ /**
* @NAN_DW_END_NOTIF: &struct iwl_nan_dw_end_notif
*/
NAN_DW_END_NOTIF = 0xf4,
@@ -1421,4 +1426,28 @@ struct iwl_nan_ulw_attr_notif {
u8 attr[IWL_NAN_MAX_ENDLESS_ULW_ATTR_LEN];
} __packed; /* NAN_ULW_ATTR_NOTIF_API_S_VER_1 */
+/**
+ * enum iwl_nan_sched_update_status - NAN schedule update status
+ *
+ * @IWL_NAN_SCHED_UPDATE_SUCCESS: schedule update completed successfully
+ * @IWL_NAN_SCHED_UPDATE_FAILURE: schedule update failed. Currently not expected
+ * to happen, but reserved for future use.
+ */
+enum iwl_nan_sched_update_status {
+ IWL_NAN_SCHED_UPDATE_SUCCESS = 0,
+ IWL_NAN_SCHED_UPDATE_FAILURE = 1,
+};
+
+/**
+ * struct iwl_nan_sched_update_completed_notif - NAN schedule update completed
+ *
+ * @status: status of the schedule update operation. See
+ * &enum iwl_nan_sched_update_status
+ * @reserved: reserved
+ */
+struct iwl_nan_sched_update_completed_notif {
+ u8 status;
+ u8 reserved[3];
+} __packed; /* NAN_SCHED_UPDATE_COMPLETED_NTF_API_S_VER_1 */
+
#endif /* __iwl_fw_api_mac_cfg_h__ */