dp_ipa.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. /*
  2. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
  3. * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. #ifndef _DP_IPA_H_
  18. #define _DP_IPA_H_
  19. #if defined(QCA_WIFI_KIWI) || defined(QCA_WIFI_KIWI_V2)
  20. /* Index into soc->tcl_data_ring[] */
  21. #define IPA_TCL_DATA_RING_IDX 3
  22. #else
  23. #define IPA_TCL_DATA_RING_IDX 2
  24. #endif
  25. /* Index into soc->tx_comp_ring[] */
  26. #define IPA_TX_COMP_RING_IDX IPA_TCL_DATA_RING_IDX
  27. #ifdef IPA_OFFLOAD
  28. #define DP_IPA_MAX_IFACE 3
  29. #define IPA_REO_DEST_RING_IDX 3
  30. #define IPA_REO_DEST_RING_IDX_2 7
  31. #define IPA_RX_REFILL_BUF_RING_IDX 2
  32. /* Adding delay before disabling ipa pipes if any Tx Completions are pending */
  33. #define TX_COMP_DRAIN_WAIT_MS 50
  34. #define TX_COMP_DRAIN_WAIT_TIMEOUT_MS 100
  35. #ifdef IPA_WDI3_TX_TWO_PIPES
  36. #if defined(QCA_WIFI_KIWI) || defined(QCA_WIFI_KIWI_V2)
  37. /* Index into soc->tcl_data_ring[] and soc->tx_comp_ring[] */
  38. #define IPA_TX_ALT_RING_IDX 4
  39. #define IPA_TX_ALT_COMP_RING_IDX IPA_TX_ALT_RING_IDX
  40. #else /* !KIWI */
  41. #define IPA_TX_ALT_RING_IDX 1
  42. /*
  43. * must be same as IPA_TX_ALT_RING_IDX as tcl and wbm ring
  44. * are initialized with same index as a pair.
  45. */
  46. #define IPA_TX_ALT_COMP_RING_IDX 1
  47. #endif /* KIWI */
  48. #define IPA_SESSION_ID_SHIFT 1
  49. #endif /* IPA_WDI3_TX_TWO_PIPES */
  50. /**
  51. * struct dp_ipa_uc_tx_hdr - full tx header registered to IPA hardware
  52. * @eth: ether II header
  53. */
  54. struct dp_ipa_uc_tx_hdr {
  55. struct ethhdr eth;
  56. } __packed;
  57. /**
  58. * struct dp_ipa_uc_rx_hdr - full rx header registered to IPA hardware
  59. * @eth: ether II header
  60. */
  61. struct dp_ipa_uc_rx_hdr {
  62. struct ethhdr eth;
  63. } __packed;
  64. #define DP_IPA_UC_WLAN_TX_HDR_LEN sizeof(struct dp_ipa_uc_tx_hdr)
  65. #define DP_IPA_UC_WLAN_RX_HDR_LEN sizeof(struct dp_ipa_uc_rx_hdr)
  66. /* 28 <bytes of rx_msdu_end_tlv> + 16 <bytes of attn tlv> +
  67. * 52 <bytes of rx_mpdu_start_tlv> + <L2 Header>
  68. */
  69. #define DP_IPA_UC_WLAN_RX_HDR_LEN_AST 110
  70. #define DP_IPA_UC_WLAN_HDR_DES_MAC_OFFSET 0
  71. #define DP_IPA_HDL_INVALID 0xFF
  72. #define DP_IPA_HDL_FIRST 0
  73. #define DP_IPA_HDL_SECOND 1
  74. /**
  75. * wlan_ipa_get_hdl() - Get ipa handle from IPA component
  76. * @psoc - control psoc object
  77. * @pdev_id - pdev id
  78. *
  79. * IPA componenet will return the IPA handle based on pdev_id
  80. *
  81. * Return: IPA handle
  82. */
  83. qdf_ipa_wdi_hdl_t wlan_ipa_get_hdl(void *psoc, uint8_t pdev_id);
  84. /**
  85. * dp_ipa_get_resource() - Client request resource information
  86. * @soc_hdl - data path soc handle
  87. * @pdev_id - device instance id
  88. *
  89. * IPA client will request IPA UC related resource information
  90. * Resource information will be distributed to IPA module
  91. * All of the required resources should be pre-allocated
  92. *
  93. * Return: QDF_STATUS
  94. */
  95. QDF_STATUS dp_ipa_get_resource(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  96. /**
  97. * dp_ipa_set_doorbell_paddr () - Set doorbell register physical address to SRNG
  98. * @soc_hdl - data path soc handle
  99. * @pdev_id - device instance id
  100. *
  101. * Set TX_COMP_DOORBELL register physical address to WBM Head_Ptr_MemAddr_LSB
  102. * Set RX_READ_DOORBELL register physical address to REO Head_Ptr_MemAddr_LSB
  103. *
  104. * Return: none
  105. */
  106. QDF_STATUS dp_ipa_set_doorbell_paddr(struct cdp_soc_t *soc_hdl,
  107. uint8_t pdev_id);
  108. /**
  109. * dp_ipa_iounmap_doorbell_vaddr() - unmap ipa RX db vaddr
  110. * @soc_hdl - data path soc handle
  111. * @pdev_id - device instance id
  112. *
  113. * Return: none
  114. */
  115. QDF_STATUS dp_ipa_iounmap_doorbell_vaddr(struct cdp_soc_t *soc_hdl,
  116. uint8_t pdev_id);
  117. QDF_STATUS dp_ipa_uc_set_active(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  118. bool uc_active, bool is_tx);
  119. /**
  120. * dp_ipa_op_response() - Handle OP command response from firmware
  121. * @soc_hdl - data path soc handle
  122. * @pdev_id - device instance id
  123. * @op_msg: op response message from firmware
  124. *
  125. * Return: none
  126. */
  127. QDF_STATUS dp_ipa_op_response(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  128. uint8_t *op_msg);
  129. /**
  130. * dp_ipa_register_op_cb() - Register OP handler function
  131. * @soc_hdl - data path soc handle
  132. * @pdev_id - device instance id
  133. * @op_cb: handler function pointer
  134. *
  135. * Return: none
  136. */
  137. QDF_STATUS dp_ipa_register_op_cb(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  138. ipa_uc_op_cb_type op_cb, void *usr_ctxt);
  139. /**
  140. * dp_ipa_register_op_cb() - Deregister OP handler function
  141. * @soc_hdl - data path soc handle
  142. * @pdev_id - device instance id
  143. *
  144. * Return: none
  145. */
  146. void dp_ipa_deregister_op_cb(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  147. /**
  148. * dp_ipa_get_stat() - Get firmware wdi status
  149. * @soc_hdl - data path soc handle
  150. * @pdev_id - device instance id
  151. *
  152. * Return: none
  153. */
  154. QDF_STATUS dp_ipa_get_stat(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  155. /**
  156. * dp_tx_send_ipa_data_frame() - send IPA data frame
  157. * @soc_hdl: datapath soc handle
  158. * @vdev_id: virtual device/interface id
  159. * @skb: skb
  160. *
  161. * Return: skb/ NULL is for success
  162. */
  163. qdf_nbuf_t dp_tx_send_ipa_data_frame(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
  164. qdf_nbuf_t skb);
  165. /**
  166. * dp_ipa_enable_autonomy() – Enable autonomy RX path
  167. * @soc_hdl - data path soc handle
  168. * @pdev_id - device instance id
  169. *
  170. * Set all RX packet route to IPA REO ring
  171. * Program Destination_Ring_Ctrl_IX_0 REO register to point IPA REO ring
  172. * Return: none
  173. */
  174. QDF_STATUS dp_ipa_enable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  175. /**
  176. * dp_ipa_disable_autonomy() – Disable autonomy RX path
  177. * @soc_hdl - data path soc handle
  178. * @pdev_id - device instance id
  179. *
  180. * Disable RX packet routing to IPA REO
  181. * Program Destination_Ring_Ctrl_IX_0 REO register to disable
  182. * Return: none
  183. */
  184. QDF_STATUS dp_ipa_disable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  185. #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) || \
  186. defined(CONFIG_IPA_WDI_UNIFIED_API)
  187. /**
  188. * dp_ipa_setup() - Setup and connect IPA pipes
  189. * @soc_hdl - data path soc handle
  190. * @pdev_id - device instance id
  191. * @ipa_i2w_cb: IPA to WLAN callback
  192. * @ipa_w2i_cb: WLAN to IPA callback
  193. * @ipa_wdi_meter_notifier_cb: IPA WDI metering callback
  194. * @ipa_desc_size: IPA descriptor size
  195. * @ipa_priv: handle to the HTT instance
  196. * @is_rm_enabled: Is IPA RM enabled or not
  197. * @tx_pipe_handle: pointer to Tx pipe handle
  198. * @rx_pipe_handle: pointer to Rx pipe handle
  199. * @is_smmu_enabled: Is SMMU enabled or not
  200. * @sys_in: parameters to setup sys pipe in mcc mode
  201. * @hdl: IPA handle
  202. * @id: IPA instance id
  203. * @ipa_ast_notify_cb: IPA to WLAN callback for ast create and update
  204. *
  205. * Return: QDF_STATUS
  206. */
  207. QDF_STATUS dp_ipa_setup(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  208. void *ipa_i2w_cb, void *ipa_w2i_cb,
  209. void *ipa_wdi_meter_notifier_cb,
  210. uint32_t ipa_desc_size, void *ipa_priv,
  211. bool is_rm_enabled, uint32_t *tx_pipe_handle,
  212. uint32_t *rx_pipe_handle,
  213. bool is_smmu_enabled,
  214. qdf_ipa_sys_connect_params_t *sys_in, bool over_gsi,
  215. qdf_ipa_wdi_hdl_t hdl, qdf_ipa_wdi_hdl_t id,
  216. void *ipa_ast_notify_cb);
  217. #else /* CONFIG_IPA_WDI_UNIFIED_API */
  218. /**
  219. * dp_ipa_setup() - Setup and connect IPA pipes
  220. * @soc_hdl - data path soc handle
  221. * @pdev_id - device instance id
  222. * @ipa_i2w_cb: IPA to WLAN callback
  223. * @ipa_w2i_cb: WLAN to IPA callback
  224. * @ipa_wdi_meter_notifier_cb: IPA WDI metering callback
  225. * @ipa_desc_size: IPA descriptor size
  226. * @ipa_priv: handle to the HTT instance
  227. * @is_rm_enabled: Is IPA RM enabled or not
  228. * @tx_pipe_handle: pointer to Tx pipe handle
  229. * @rx_pipe_handle: pointer to Rx pipe handle
  230. * @hdl: IPA handle
  231. *
  232. * Return: QDF_STATUS
  233. */
  234. QDF_STATUS dp_ipa_setup(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  235. void *ipa_i2w_cb, void *ipa_w2i_cb,
  236. void *ipa_wdi_meter_notifier_cb,
  237. uint32_t ipa_desc_size, void *ipa_priv,
  238. bool is_rm_enabled, uint32_t *tx_pipe_handle,
  239. uint32_t *rx_pipe_handle);
  240. #endif /* CONFIG_IPA_WDI_UNIFIED_API */
  241. QDF_STATUS dp_ipa_cleanup(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  242. uint32_t tx_pipe_handle,
  243. uint32_t rx_pipe_handle, qdf_ipa_wdi_hdl_t hdl);
  244. QDF_STATUS dp_ipa_remove_header(char *name);
  245. int dp_ipa_add_header_info(char *ifname, uint8_t *mac_addr,
  246. uint8_t session_id, bool is_ipv6_enabled);
  247. int dp_ipa_register_interface(char *ifname, bool is_ipv6_enabled);
  248. QDF_STATUS dp_ipa_setup_iface(char *ifname, uint8_t *mac_addr,
  249. qdf_ipa_client_type_t prod_client,
  250. qdf_ipa_client_type_t cons_client,
  251. uint8_t session_id, bool is_ipv6_enabled,
  252. qdf_ipa_wdi_hdl_t hdl);
  253. QDF_STATUS dp_ipa_cleanup_iface(char *ifname, bool is_ipv6_enabled,
  254. qdf_ipa_wdi_hdl_t hdl);
  255. /**
  256. * dp_ipa_uc_enable_pipes() - Enable and resume traffic on Tx/Rx pipes
  257. * @soc_hdl - handle to the soc
  258. * @pdev_id - pdev id number, to get the handle
  259. * @hdl: IPA handle
  260. *
  261. * Return: QDF_STATUS
  262. */
  263. QDF_STATUS dp_ipa_enable_pipes(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  264. qdf_ipa_wdi_hdl_t hdl);
  265. /**
  266. * dp_ipa_disable_pipes() – Suspend traffic and disable Tx/Rx pipes
  267. * @soc_hdl - handle to the soc
  268. * @pdev_id - pdev id number, to get the handle
  269. * @hdl: IPA handle
  270. *
  271. * Return: QDF_STATUS
  272. */
  273. QDF_STATUS dp_ipa_disable_pipes(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
  274. qdf_ipa_wdi_hdl_t hdl);
  275. QDF_STATUS dp_ipa_set_perf_level(int client, uint32_t max_supported_bw_mbps,
  276. qdf_ipa_wdi_hdl_t hdl);
  277. /**
  278. * dp_ipa_rx_intrabss_fwd() - Perform intra-bss fwd for IPA RX path
  279. *
  280. * @soc_hdl: data path soc handle
  281. * @vdev_id: virtual device/interface id
  282. * @nbuf: pointer to skb of ethernet packet received from IPA RX path
  283. * @fwd_success: pointer to indicate if skb succeeded in intra-bss TX
  284. *
  285. * This function performs intra-bss forwarding for WDI 3.0 IPA RX path.
  286. *
  287. * Return: true if packet is intra-bss fwd-ed and no need to pass to
  288. * network stack. false if packet needs to be passed to network stack.
  289. */
  290. bool dp_ipa_rx_intrabss_fwd(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
  291. qdf_nbuf_t nbuf, bool *fwd_success);
  292. int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev);
  293. int dp_ipa_uc_attach(struct dp_soc *soc, struct dp_pdev *pdev);
  294. int dp_ipa_ring_resource_setup(struct dp_soc *soc,
  295. struct dp_pdev *pdev);
  296. QDF_STATUS dp_ipa_handle_rx_buf_smmu_mapping(struct dp_soc *soc,
  297. qdf_nbuf_t nbuf,
  298. uint32_t size,
  299. bool create);
  300. bool dp_reo_remap_config(struct dp_soc *soc, uint32_t *remap0,
  301. uint32_t *remap1, uint32_t *remap2);
  302. bool dp_ipa_is_mdm_platform(void);
  303. qdf_nbuf_t dp_ipa_handle_rx_reo_reinject(struct dp_soc *soc, qdf_nbuf_t nbuf);
  304. /**
  305. * dp_ipa_tx_buf_smmu_mapping() - Create SMMU mappings for IPA
  306. * allocated TX buffers
  307. * @soc_hdl: handle to the soc
  308. * @pdev_id: pdev id number, to get the handle
  309. *
  310. * Return: QDF_STATUS
  311. */
  312. QDF_STATUS dp_ipa_tx_buf_smmu_mapping(
  313. struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  314. /**
  315. * dp_ipa_tx_buf_smmu_unmapping() - Release SMMU mappings for IPA
  316. * allocated TX buffers
  317. * @soc_hdl: handle to the soc
  318. * @pdev_id: pdev id number, to get the handle
  319. *
  320. * Return: QDF_STATUS
  321. */
  322. QDF_STATUS dp_ipa_tx_buf_smmu_unmapping(
  323. struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
  324. #ifndef QCA_OL_DP_SRNG_LOCK_LESS_ACCESS
  325. static inline void
  326. dp_ipa_rx_buf_smmu_mapping_lock(struct dp_soc *soc)
  327. {
  328. if (soc->ipa_rx_buf_map_lock_initialized)
  329. qdf_spin_lock_bh(&soc->ipa_rx_buf_map_lock);
  330. }
  331. static inline void
  332. dp_ipa_rx_buf_smmu_mapping_unlock(struct dp_soc *soc)
  333. {
  334. if (soc->ipa_rx_buf_map_lock_initialized)
  335. qdf_spin_unlock_bh(&soc->ipa_rx_buf_map_lock);
  336. }
  337. static inline void
  338. dp_ipa_reo_ctx_buf_mapping_lock(struct dp_soc *soc,
  339. uint32_t reo_ring_num)
  340. {
  341. if (!soc->ipa_reo_ctx_lock_required[reo_ring_num])
  342. return;
  343. qdf_spin_lock_bh(&soc->ipa_rx_buf_map_lock);
  344. }
  345. static inline void
  346. dp_ipa_reo_ctx_buf_mapping_unlock(struct dp_soc *soc,
  347. uint32_t reo_ring_num)
  348. {
  349. if (!soc->ipa_reo_ctx_lock_required[reo_ring_num])
  350. return;
  351. qdf_spin_unlock_bh(&soc->ipa_rx_buf_map_lock);
  352. }
  353. #else
  354. static inline void
  355. dp_ipa_rx_buf_smmu_mapping_lock(struct dp_soc *soc)
  356. {
  357. }
  358. static inline void
  359. dp_ipa_rx_buf_smmu_mapping_unlock(struct dp_soc *soc)
  360. {
  361. }
  362. static inline void
  363. dp_ipa_reo_ctx_buf_mapping_lock(struct dp_soc *soc,
  364. uint32_t reo_ring_num)
  365. {
  366. }
  367. static inline void
  368. dp_ipa_reo_ctx_buf_mapping_unlock(struct dp_soc *soc,
  369. uint32_t reo_ring_num)
  370. {
  371. }
  372. #endif
  373. #ifdef IPA_WDS_EASYMESH_FEATURE
  374. /**
  375. * dp_ipa_ast_create() - Create/update AST entry in AST table
  376. * for learning/roaming packets from IPA
  377. * @soc: data path soc handle
  378. * @data: Structure used for updating the AST table
  379. *
  380. * Create/update AST entry in AST table for learning/roaming packets from IPA
  381. *
  382. * Return: QDF_STATUS
  383. */
  384. QDF_STATUS dp_ipa_ast_create(struct cdp_soc_t *soc_hdl,
  385. qdf_ipa_ast_info_type_t *data);
  386. /**
  387. * dp_ipa_ast_notify_cb() - Provide ast notify cb to IPA
  388. * @pipe_in: WDI conn pipe in params
  389. * @ipa_ast_notify_cb: ipa ast notify cb
  390. *
  391. * Return: None
  392. */
  393. static inline void
  394. dp_ipa_ast_notify_cb(qdf_ipa_wdi_conn_in_params_t *pipe_in,
  395. void *ipa_ast_notify_cb)
  396. {
  397. QDF_IPA_WDI_CONN_IN_PARAMS_AST_NOTIFY(pipe_in) = ipa_ast_notify_cb;
  398. }
  399. #else
  400. static inline void
  401. dp_ipa_ast_notify_cb(qdf_ipa_wdi_conn_in_params_t *pipe_in,
  402. void *ipa_ast_notify_cb)
  403. {
  404. }
  405. #endif
  406. #else
  407. static inline int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev)
  408. {
  409. return QDF_STATUS_SUCCESS;
  410. }
  411. static inline int dp_ipa_uc_attach(struct dp_soc *soc, struct dp_pdev *pdev)
  412. {
  413. return QDF_STATUS_SUCCESS;
  414. }
  415. static inline int dp_ipa_ring_resource_setup(struct dp_soc *soc,
  416. struct dp_pdev *pdev)
  417. {
  418. return 0;
  419. }
  420. static inline QDF_STATUS dp_ipa_handle_rx_buf_smmu_mapping(struct dp_soc *soc,
  421. qdf_nbuf_t nbuf,
  422. uint32_t size,
  423. bool create)
  424. {
  425. return QDF_STATUS_SUCCESS;
  426. }
  427. static inline void
  428. dp_ipa_rx_buf_smmu_mapping_lock(struct dp_soc *soc)
  429. {
  430. }
  431. static inline void
  432. dp_ipa_rx_buf_smmu_mapping_unlock(struct dp_soc *soc)
  433. {
  434. }
  435. static inline void
  436. dp_ipa_reo_ctx_buf_mapping_lock(struct dp_soc *soc,
  437. uint32_t reo_ring_num)
  438. {
  439. }
  440. static inline void
  441. dp_ipa_reo_ctx_buf_mapping_unlock(struct dp_soc *soc,
  442. uint32_t reo_ring_num)
  443. {
  444. }
  445. static inline qdf_nbuf_t dp_ipa_handle_rx_reo_reinject(struct dp_soc *soc,
  446. qdf_nbuf_t nbuf)
  447. {
  448. return nbuf;
  449. }
  450. static inline QDF_STATUS dp_ipa_tx_buf_smmu_mapping(struct cdp_soc_t *soc_hdl,
  451. uint8_t pdev_id)
  452. {
  453. return QDF_STATUS_SUCCESS;
  454. }
  455. static inline QDF_STATUS dp_ipa_tx_buf_smmu_unmapping(struct cdp_soc_t *soc_hdl,
  456. uint8_t pdev_id)
  457. {
  458. return QDF_STATUS_SUCCESS;
  459. }
  460. #ifdef IPA_WDS_EASYMESH_FEATURE
  461. static inline QDF_STATUS dp_ipa_ast_create(struct cdp_soc_t *soc_hdl,
  462. qdf_ipa_ast_info_type_t *data)
  463. {
  464. return QDF_STATUS_SUCCESS;
  465. }
  466. #endif
  467. #endif
  468. #endif /* _DP_IPA_H_ */