Prechádzať zdrojové kódy

qcacmn: WMI support added for sifs_trigger interval config

FR: TDMA Support for Wave2 Radios (host support)
Added a wmi cmd for configuring the interval between successive sifs
trigger frames given by the user app. Added a separate wmi cmd instead
of wmi param with reference to further scope.

Change-Id: Ifa778a761e3495ef7abab5f63a49661b307034ae
CRs-Fixed: 2330484
narayan 7 rokov pred
rodič
commit
e1b4466a92
3 zmenil súbory, kde vykonal 15 pridanie a 0 odobranie
  1. 3 0
      wmi_unified_api.h
  2. 9 0
      wmi_unified_param.h
  3. 3 0
      wmi_unified_priv.h

+ 3 - 0
wmi_unified_api.h

@@ -470,6 +470,9 @@ QDF_STATUS wmi_unified_hidden_ssid_vdev_restart_send(void *wmi_hdl,
 QDF_STATUS wmi_unified_vdev_set_param_send(void *wmi_hdl,
 				struct vdev_set_params *param);
 
+QDF_STATUS wmi_unified_sifs_trigger_send(void *wmi_hdl,
+					 struct sifs_trigger_param *param);
+
 QDF_STATUS wmi_unified_peer_delete_send(void *wmi_hdl,
 				    uint8_t
 				    peer_addr[IEEE80211_ADDR_LEN],

+ 9 - 0
wmi_unified_param.h

@@ -881,6 +881,15 @@ struct vdev_set_params {
 	uint32_t param_value;
 };
 
+/**
+ * struct sifs_trigger_param - sifs_trigger cmd parameter
+ * @if_id: vdev id
+ * @param_value: parameter value
+ */
+struct sifs_trigger_param {
+	uint32_t if_id;
+	uint32_t param_value;
+};
 
 /**
  * struct peer_delete_params - peer delete cmd parameter

+ 3 - 0
wmi_unified_priv.h

@@ -367,6 +367,9 @@ QDF_STATUS
 QDF_STATUS (*send_vdev_set_param_cmd)(wmi_unified_t wmi_handle,
 				struct vdev_set_params *param);
 
+QDF_STATUS (*send_vdev_sifs_trigger_cmd)(wmi_unified_t wmi_handle,
+					 struct sifs_trigger_param *param);
+
 QDF_STATUS (*send_stats_request_cmd)(wmi_unified_t wmi_handle,
 				uint8_t macaddr[IEEE80211_ADDR_LEN],
 				struct stats_request_params *param);