Переглянути джерело

qcacmn: ATF Rx Ops prototype change

Minor changes to return types of few function pointers.
Changes made during ATF validation on DA.

Change-Id: I2db8fbe7942b293ca01811fdb482afc9c8f533ce
Subrat Mishra 8 роки тому
батько
коміт
9c63fb71d0

+ 4 - 4
umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

@@ -604,7 +604,7 @@ struct wlan_lmac_if_p2p_rx_ops {
  * @atf_set_token_utilized:            Set atf token utilized
  */
 struct wlan_lmac_if_atf_rx_ops {
-	uint32_t (*atf_get_atf_commit)(struct wlan_objmgr_pdev *pdev);
+	uint8_t (*atf_get_atf_commit)(struct wlan_objmgr_pdev *pdev);
 	uint32_t (*atf_get_fmcap)(struct wlan_objmgr_psoc *psoc);
 	uint32_t (*atf_get_obss_scale)(struct wlan_objmgr_pdev *pdev);
 	uint32_t (*atf_get_mode)(struct wlan_objmgr_psoc *psoc);
@@ -613,9 +613,9 @@ struct wlan_lmac_if_atf_rx_ops {
 	uint32_t (*atf_get_peers)(struct wlan_objmgr_psoc *psoc);
 	uint32_t (*atf_get_tput_based)(struct wlan_objmgr_pdev *pdev);
 	uint32_t (*atf_get_logging)(struct wlan_objmgr_pdev *pdev);
-	uint32_t (*atf_get_txbuf_share)(struct wlan_objmgr_pdev *pdev);
-	uint32_t (*atf_get_txbuf_max)(struct wlan_objmgr_pdev *pdev);
-	uint32_t (*atf_get_txbuf_min)(struct wlan_objmgr_pdev *pdev);
+	uint8_t (*atf_get_txbuf_share)(struct wlan_objmgr_pdev *pdev);
+	uint16_t (*atf_get_txbuf_max)(struct wlan_objmgr_pdev *pdev);
+	uint16_t (*atf_get_txbuf_min)(struct wlan_objmgr_pdev *pdev);
 	uint32_t (*atf_get_ssidgroup)(struct wlan_objmgr_pdev *pdev);
 	uint32_t (*atf_get_tx_block_count)(struct wlan_objmgr_vdev *vdev);
 	uint8_t (*atf_get_peer_blk_txtraffic)(struct wlan_objmgr_peer *peer);