cdp_txrx_mob_def.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. /*
  2. * Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. #ifndef __CDP_TXRX_MOB_DEF_H
  19. #define __CDP_TXRX_MOB_DEF_H
  20. #include <sir_types.h>
  21. #include <htt.h>
  22. #define TX_WMM_AC_NUM 4
  23. #define ENABLE_DP_HIST_STATS
  24. #define DP_RX_DISABLE_NDI_MDNS_FORWARDING
  25. #define OL_TXQ_PAUSE_REASON_FW (1 << 0)
  26. #define OL_TXQ_PAUSE_REASON_PEER_UNAUTHORIZED (1 << 1)
  27. #define OL_TXQ_PAUSE_REASON_TX_ABORT (1 << 2)
  28. #define OL_TXQ_PAUSE_REASON_VDEV_STOP (1 << 3)
  29. #define OL_TXQ_PAUSE_REASON_THERMAL_MITIGATION (1 << 4)
  30. #define OL_TXRX_INVALID_NUM_PEERS (-1)
  31. /* Maximum number of station supported by data path, including BC. */
  32. #define WLAN_MAX_STA_COUNT (HAL_NUM_STA)
  33. /* The symbolic station ID return to HDD to specify the packet is bc/mc */
  34. #define WLAN_RX_BCMC_STA_ID (WLAN_MAX_STA_COUNT + 1)
  35. /* The symbolic station ID return to HDD to specify the packet is
  36. to soft-AP itself */
  37. #define WLAN_RX_SAP_SELF_STA_ID (WLAN_MAX_STA_COUNT + 2)
  38. /* is 802.11 address multicast/broadcast? */
  39. #define IEEE80211_IS_MULTICAST(_a) (*(_a) & 0x01)
  40. #define MAX_PEERS 32
  41. /*
  42. * Bins used for reporting delay histogram:
  43. * bin 0: 0 - 10 ms delay
  44. * bin 1: 10 - 20 ms delay
  45. * bin 2: 20 - 40 ms delay
  46. * bin 3: 40 - 80 ms delay
  47. * bin 4: 80 - 160 ms delay
  48. * bin 5: > 160 ms delay
  49. */
  50. #define QCA_TX_DELAY_HIST_REPORT_BINS 6
  51. /* BA actions */
  52. #define IEEE80211_ACTION_BA_ADDBA_REQUEST 0 /* ADDBA request */
  53. #define IEEE80211_ACTION_BA_ADDBA_RESPONSE 1 /* ADDBA response */
  54. #define IEEE80211_ACTION_BA_DELBA 2 /* DELBA */
  55. #define IEEE80211_BA_POLICY_DELAYED 0
  56. #define IEEE80211_BA_POLICY_IMMEDIATE 1
  57. #define IEEE80211_BA_AMSDU_SUPPORTED 1
  58. /**
  59. * enum netif_action_type - Type of actions on netif queues
  60. * @WLAN_STOP_ALL_NETIF_QUEUE: stop all netif queues
  61. * @WLAN_START_ALL_NETIF_QUEUE: start all netif queues
  62. * @WLAN_WAKE_ALL_NETIF_QUEUE: wake all netif queues
  63. * @WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER: stop all queues and off carrier
  64. * @WLAN_START_ALL_NETIF_QUEUE_N_CARRIER: start all queues and on carrier
  65. * @WLAN_NETIF_TX_DISABLE: disable tx
  66. * @WLAN_NETIF_TX_DISABLE_N_CARRIER: disable tx and off carrier
  67. * @WLAN_NETIF_CARRIER_ON: on carrier
  68. * @WLAN_NETIF_CARRIER_OFF: off carrier
  69. * @WLAN_NETIF_PRIORITY_QUEUE_ON: start priority netif queues
  70. * @WLAN_NETIF_PRIORITY_QUEUE_OFF: stop priority netif queues
  71. * @WLAN_WAKE_NON_PRIORITY_QUEUE: wake non priority netif queues
  72. * @WLAN_STOP_NON_PRIORITY_QUEUE: stop non priority netif queues
  73. */
  74. enum netif_action_type {
  75. WLAN_NETIF_ACTION_TYPE_NONE = 0,
  76. WLAN_STOP_ALL_NETIF_QUEUE = 1,
  77. WLAN_START_ALL_NETIF_QUEUE = 2,
  78. WLAN_WAKE_ALL_NETIF_QUEUE = 3,
  79. WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER = 4,
  80. WLAN_START_ALL_NETIF_QUEUE_N_CARRIER = 5,
  81. WLAN_NETIF_TX_DISABLE = 6,
  82. WLAN_NETIF_TX_DISABLE_N_CARRIER = 7,
  83. WLAN_NETIF_CARRIER_ON = 8,
  84. WLAN_NETIF_CARRIER_OFF = 9,
  85. WLAN_NETIF_PRIORITY_QUEUE_ON = 10,
  86. WLAN_NETIF_PRIORITY_QUEUE_OFF = 11,
  87. WLAN_NETIF_VO_QUEUE_ON = 12,
  88. WLAN_NETIF_VO_QUEUE_OFF = 13,
  89. WLAN_NETIF_VI_QUEUE_ON = 14,
  90. WLAN_NETIF_VI_QUEUE_OFF = 15,
  91. WLAN_NETIF_BE_BK_QUEUE_OFF = 16,
  92. WLAN_WAKE_NON_PRIORITY_QUEUE = 17,
  93. WLAN_STOP_NON_PRIORITY_QUEUE = 18,
  94. WLAN_NETIF_ACTION_TYPE_MAX,
  95. };
  96. /**
  97. * enum netif_reason_type - reason for netif queue action
  98. * @WLAN_CONTROL_PATH: action from control path
  99. * @WLAN_DATA_FLOW_CONTROL: because of flow control
  100. * @WLAN_FW_PAUSE: because of firmware pause
  101. * @WLAN_TX_ABORT: because of tx abort
  102. * @WLAN_VDEV_STOP: because of vdev stop
  103. * @WLAN_PEER_UNAUTHORISED: because of peer is unauthorised
  104. * @WLAN_THERMAL_MITIGATION: because of thermal mitigation
  105. */
  106. enum netif_reason_type {
  107. WLAN_CONTROL_PATH = 1,
  108. WLAN_DATA_FLOW_CONTROL,
  109. WLAN_FW_PAUSE,
  110. WLAN_TX_ABORT,
  111. WLAN_VDEV_STOP,
  112. WLAN_PEER_UNAUTHORISED,
  113. WLAN_THERMAL_MITIGATION,
  114. WLAN_DATA_FLOW_CONTROL_PRIORITY,
  115. WLAN_REASON_TYPE_MAX,
  116. };
  117. enum ol_rx_err_type {
  118. OL_RX_ERR_DEFRAG_MIC,
  119. OL_RX_ERR_PN,
  120. OL_RX_ERR_UNKNOWN_PEER,
  121. OL_RX_ERR_MALFORMED,
  122. OL_RX_ERR_TKIP_MIC,
  123. OL_RX_ERR_DECRYPT,
  124. OL_RX_ERR_MPDU_LENGTH,
  125. OL_RX_ERR_ENCRYPT_REQUIRED,
  126. OL_RX_ERR_DUP,
  127. OL_RX_ERR_UNKNOWN,
  128. OL_RX_ERR_FCS,
  129. OL_RX_ERR_PRIVACY,
  130. OL_RX_ERR_NONE_FRAG,
  131. OL_RX_ERR_NONE = 0xFF
  132. };
  133. enum throttle_level {
  134. THROTTLE_LEVEL_0,
  135. THROTTLE_LEVEL_1,
  136. THROTTLE_LEVEL_2,
  137. THROTTLE_LEVEL_3,
  138. /* Invalid */
  139. THROTTLE_LEVEL_MAX,
  140. };
  141. enum {
  142. OL_TX_WMM_AC_BE,
  143. OL_TX_WMM_AC_BK,
  144. OL_TX_WMM_AC_VI,
  145. OL_TX_WMM_AC_VO,
  146. OL_TX_NUM_WMM_AC
  147. };
  148. /**
  149. * @enum ol_tx_spec
  150. * @brief indicate what non-standard transmission actions to apply
  151. * @details
  152. * Indicate one or more of the following:
  153. * - The tx frame already has a complete 802.11 header.
  154. * Thus, skip 802.3/native-WiFi to 802.11 header encapsulation and
  155. * A-MSDU aggregation.
  156. * - The tx frame should not be aggregated (A-MPDU or A-MSDU)
  157. * - The tx frame is already encrypted - don't attempt encryption.
  158. * - The tx frame is a segment of a TCP jumbo frame.
  159. * - This tx frame should not be unmapped and freed by the txrx layer
  160. * after transmission, but instead given to a registered tx completion
  161. * callback.
  162. * More than one of these specification can apply, though typically
  163. * only a single specification is applied to a tx frame.
  164. * A compound specification can be created, as a bit-OR of these
  165. * specifications.
  166. */
  167. enum ol_tx_spec {
  168. OL_TX_SPEC_STD = 0x0, /* do regular processing */
  169. OL_TX_SPEC_RAW = 0x1, /* skip encap + A-MSDU aggr */
  170. OL_TX_SPEC_NO_AGGR = 0x2, /* skip encap + all aggr */
  171. OL_TX_SPEC_NO_ENCRYPT = 0x4, /* skip encap + encrypt */
  172. OL_TX_SPEC_TSO = 0x8, /* TCP segmented */
  173. OL_TX_SPEC_NWIFI_NO_ENCRYPT = 0x10, /* skip encrypt for nwifi */
  174. OL_TX_SPEC_NO_FREE = 0x20, /* give to cb rather than free */
  175. };
  176. /**
  177. * @enum peer_debug_id_type: debug ids to track peer get_ref and release_ref
  178. * @brief Unique peer debug IDs to track the callers. Each new usage can add to
  179. * this enum list to create a new "PEER_DEBUG_ID_".
  180. * @PEER_DEBUG_ID_OL_INTERNAL: debug id for OL internal usage
  181. * @PEER_DEBUG_ID_WMA_PKT_DROP: debug id for wma_is_pkt_drop_candidate API
  182. * @PEER_DEBUG_ID_WMA_ADDBA_REQ: debug id for ADDBA request
  183. * @PEER_DEBUG_ID_WMA_DELBA_REQ: debug id for DELBA request
  184. * @PEER_DEBUG_ID_LIM_SEND_ADDBA_RESP: debug id for send ADDBA response
  185. * @PEER_DEBUG_ID_OL_RX_THREAD: debug id for rx thread
  186. * @PEER_DEBUG_ID_WMA_CCMP_REPLAY_ATTACK: debug id for CCMP replay
  187. * @PEER_DEBUG_ID_WMA_DEL_BSS:debug id for remove BSS
  188. * @PEER_DEBUG_ID_WMA_VDEV_STOP_RESP:debug id for vdev stop response handler
  189. * @PEER_DEBUG_ID_OL_PEER_MAP:debug id for peer map/unmap
  190. * @PEER_DEBUG_ID_OL_PEER_ATTACH: debug id for peer attach/detach
  191. * @PEER_DEBUG_ID_OL_TXQ_VDEV_FL: debug id for vdev flush
  192. * @PEER_DEBUG_ID_OL_HASH_ERS:debug id for peer find hash erase
  193. * @PEER_DEBUG_ID_MAX: debug id MAX
  194. */
  195. enum peer_debug_id_type {
  196. PEER_DEBUG_ID_OL_INTERNAL,
  197. PEER_DEBUG_ID_WMA_PKT_DROP,
  198. PEER_DEBUG_ID_WMA_ADDBA_REQ,
  199. PEER_DEBUG_ID_WMA_DELBA_REQ,
  200. PEER_DEBUG_ID_LIM_SEND_ADDBA_RESP,
  201. PEER_DEBUG_ID_OL_RX_THREAD,
  202. PEER_DEBUG_ID_WMA_CCMP_REPLAY_ATTACK,
  203. PEER_DEBUG_ID_WMA_DEL_BSS,
  204. PEER_DEBUG_ID_WMA_VDEV_STOP_RESP,
  205. PEER_DEBUG_ID_OL_PEER_MAP,
  206. PEER_DEBUG_ID_OL_PEER_ATTACH,
  207. PEER_DEBUG_ID_OL_TXQ_VDEV_FL,
  208. PEER_DEBUG_ID_OL_HASH_ERS,
  209. PEER_DEBUG_ID_OL_UNMAP_TIMER_WORK,
  210. PEER_DEBUG_ID_MAX
  211. };
  212. /**
  213. * struct ol_txrx_desc_type - txrx descriptor type
  214. * @is_qos_enabled: is station qos enabled
  215. * @is_wapi_supported: is station wapi supported
  216. * @peer_addr: peer mac address
  217. */
  218. struct ol_txrx_desc_type {
  219. uint8_t is_qos_enabled;
  220. uint8_t is_wapi_supported;
  221. struct qdf_mac_addr peer_addr;
  222. };
  223. /**
  224. * struct ol_tx_sched_wrr_ac_specs_t - the wrr ac specs params structure
  225. * @wrr_skip_weight: map to ol_tx_sched_wrr_adv_category_info_t.specs.
  226. * wrr_skip_weight
  227. * @credit_threshold: map to ol_tx_sched_wrr_adv_category_info_t.specs.
  228. * credit_threshold
  229. * @send_limit: map to ol_tx_sched_wrr_adv_category_info_t.specs.
  230. * send_limit
  231. * @credit_reserve: map to ol_tx_sched_wrr_adv_category_info_t.specs.
  232. * credit_reserve
  233. * @discard_weight: map to ol_tx_sched_wrr_adv_category_info_t.specs.
  234. * discard_weight
  235. *
  236. * This structure is for wrr ac specs params set from user, it will update
  237. * its content corresponding to the ol_tx_sched_wrr_adv_category_info_t.specs.
  238. */
  239. struct ol_tx_sched_wrr_ac_specs_t {
  240. int wrr_skip_weight;
  241. uint32_t credit_threshold;
  242. uint16_t send_limit;
  243. int credit_reserve;
  244. int discard_weight;
  245. };
  246. /**
  247. * struct txrx_pdev_cfg_param_t - configuration information
  248. * passed to the data path
  249. */
  250. struct txrx_pdev_cfg_param_t {
  251. uint8_t is_full_reorder_offload;
  252. /* IPA Micro controller data path offload enable flag */
  253. uint8_t is_uc_offload_enabled;
  254. /* IPA Micro controller data path offload TX buffer count */
  255. uint32_t uc_tx_buffer_count;
  256. /* IPA Micro controller data path offload TX buffer size */
  257. uint32_t uc_tx_buffer_size;
  258. /* IPA Micro controller data path offload RX indication ring count */
  259. uint32_t uc_rx_indication_ring_count;
  260. /* IPA Micro controller data path offload TX partition base */
  261. uint32_t uc_tx_partition_base;
  262. /* IP, TCP and UDP checksum offload */
  263. bool ip_tcp_udp_checksum_offload;
  264. /* Rx processing in thread from TXRX */
  265. bool enable_rxthread;
  266. /* CE classification enabled through INI */
  267. bool ce_classify_enabled;
  268. #if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL)
  269. /* Threshold to stop queue in percentage */
  270. uint32_t tx_flow_stop_queue_th;
  271. /* Start queue offset in percentage */
  272. uint32_t tx_flow_start_queue_offset;
  273. #endif
  274. #ifdef QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK
  275. /* enable the tcp delay ack feature in the driver */
  276. bool del_ack_enable;
  277. /* timeout if no more tcp ack frames, unit is ms */
  278. uint16_t del_ack_timer_value;
  279. /* the maximum number of replaced tcp ack frames */
  280. uint16_t del_ack_pkt_count;
  281. #endif
  282. struct ol_tx_sched_wrr_ac_specs_t ac_specs[TX_WMM_AC_NUM];
  283. bool gro_enable;
  284. bool tso_enable;
  285. bool lro_enable;
  286. bool enable_data_stall_detection;
  287. bool enable_flow_steering;
  288. bool disable_intra_bss_fwd;
  289. #ifdef WLAN_SUPPORT_TXRX_HL_BUNDLE
  290. uint16_t bundle_timer_value;
  291. uint16_t bundle_size;
  292. #endif
  293. uint8_t pktlog_buffer_size;
  294. };
  295. #ifdef IPA_OFFLOAD
  296. /**
  297. * ol_txrx_ipa_resources - Resources needed for IPA
  298. */
  299. struct ol_txrx_ipa_resources {
  300. qdf_shared_mem_t *ce_sr;
  301. uint32_t ce_sr_ring_size;
  302. qdf_dma_addr_t ce_reg_paddr;
  303. qdf_shared_mem_t *tx_comp_ring;
  304. uint32_t tx_num_alloc_buffer;
  305. qdf_shared_mem_t *rx_rdy_ring;
  306. qdf_shared_mem_t *rx_proc_done_idx;
  307. qdf_shared_mem_t *rx2_rdy_ring;
  308. qdf_shared_mem_t *rx2_proc_done_idx;
  309. /* IPA UC doorbell registers paddr */
  310. qdf_dma_addr_t tx_comp_doorbell_dmaaddr;
  311. qdf_dma_addr_t rx_ready_doorbell_dmaaddr;
  312. uint32_t tx_pipe_handle;
  313. uint32_t rx_pipe_handle;
  314. };
  315. #endif
  316. struct ol_txrx_ocb_chan_info {
  317. uint32_t chan_freq;
  318. uint16_t disable_rx_stats_hdr:1;
  319. };
  320. /**
  321. * ol_mic_error_info - carries the information associated with
  322. * a MIC error
  323. * @vdev_id: virtual device ID
  324. * @key_id: Key ID
  325. * @pn: packet number
  326. * @sa: source address
  327. * @da: destination address
  328. * @ta: transmitter address
  329. */
  330. struct ol_mic_error_info {
  331. uint8_t vdev_id;
  332. uint32_t key_id;
  333. uint64_t pn;
  334. uint8_t sa[QDF_MAC_ADDR_SIZE];
  335. uint8_t da[QDF_MAC_ADDR_SIZE];
  336. uint8_t ta[QDF_MAC_ADDR_SIZE];
  337. };
  338. /**
  339. * ol_error_info - carries the information associated with an
  340. * error indicated by the firmware
  341. * @mic_err: MIC error information
  342. */
  343. struct ol_error_info {
  344. union {
  345. struct ol_mic_error_info mic_err;
  346. } u;
  347. };
  348. /**
  349. * struct ol_txrx_ocb_set_chan - txrx OCB channel info
  350. * @ocb_channel_count: Channel count
  351. * @ocb_channel_info: OCB channel info
  352. */
  353. struct ol_txrx_ocb_set_chan {
  354. uint32_t ocb_channel_count;
  355. struct ol_txrx_ocb_chan_info *ocb_channel_info;
  356. };
  357. /**
  358. * @brief Parameter type to pass WMM setting to ol_txrx_set_wmm_param
  359. * @details
  360. * The struct is used to specify informaiton to update TX WMM scheduler.
  361. */
  362. struct ol_tx_ac_param_t {
  363. uint32_t aifs;
  364. uint32_t cwmin;
  365. uint32_t cwmax;
  366. };
  367. struct ol_tx_wmm_param_t {
  368. struct ol_tx_ac_param_t ac[OL_TX_NUM_WMM_AC];
  369. };
  370. struct ieee80211_ba_parameterset {
  371. #if _BYTE_ORDER == _BIG_ENDIAN
  372. uint16_t buffersize:10, /* B6-15 buffer size */
  373. tid:4, /* B2-5 TID */
  374. bapolicy:1, /* B1 block ack policy */
  375. amsdusupported:1; /* B0 amsdu supported */
  376. #else
  377. uint16_t amsdusupported:1, /* B0 amsdu supported */
  378. bapolicy:1, /* B1 block ack policy */
  379. tid:4, /* B2-5 TID */
  380. buffersize:10; /* B6-15 buffer size */
  381. #endif
  382. } __packed;
  383. struct ieee80211_ba_seqctrl {
  384. #if _BYTE_ORDER == _BIG_ENDIAN
  385. uint16_t startseqnum:12, /* B4-15 starting sequence number */
  386. fragnum:4; /* B0-3 fragment number */
  387. #else
  388. uint16_t fragnum:4, /* B0-3 fragment number */
  389. startseqnum:12; /* B4-15 starting sequence number */
  390. #endif
  391. } __packed;
  392. struct ieee80211_delba_parameterset {
  393. #if _BYTE_ORDER == _BIG_ENDIAN
  394. uint16_t tid:4, /* B12-15 tid */
  395. initiator:1, /* B11 initiator */
  396. reserved0:11; /* B0-10 reserved */
  397. #else
  398. uint16_t reserved0:11, /* B0-10 reserved */
  399. initiator:1, /* B11 initiator */
  400. tid:4; /* B12-15 tid */
  401. #endif
  402. } __packed;
  403. /**
  404. * ol_txrx_vdev_peer_remove_cb - wma_remove_peer callback
  405. */
  406. typedef void (*ol_txrx_vdev_peer_remove_cb)(void *handle, uint8_t *bssid,
  407. uint8_t vdev_id, void *peer);
  408. /**
  409. * @typedef tx_pause_callback
  410. * @brief OSIF function registered with the data path
  411. */
  412. typedef void (*tx_pause_callback)(uint8_t vdev_id,
  413. enum netif_action_type action,
  414. enum netif_reason_type reason);
  415. typedef void (*ipa_uc_op_cb_type)(uint8_t *op_msg,
  416. void *osif_ctxt);
  417. /**
  418. * struct ol_rx_inv_peer_params - rx invalid peer data parameters
  419. * @vdev_id: Virtual device ID
  420. * @ra: RX data receiver MAC address
  421. * @ta: RX data transmitter MAC address
  422. */
  423. struct ol_rx_inv_peer_params {
  424. uint8_t vdev_id;
  425. uint8_t ra[QDF_MAC_ADDR_SIZE];
  426. uint8_t ta[QDF_MAC_ADDR_SIZE];
  427. };
  428. /**
  429. * cdp_txrx_ext_stats: dp extended stats
  430. * tx_msdu_enqueue: tx msdu queued to hw
  431. * tx_msdu_overflow: tx msdu overflow
  432. * rx_mpdu_received: rx mpdu processed by hw
  433. * rx_mpdu_delivered: rx mpdu received from hw
  434. * rx_mpdu_error: rx mpdu error count
  435. * rx_mpdu_missed: rx mpdu missed by hw
  436. */
  437. struct cdp_txrx_ext_stats {
  438. uint32_t tx_msdu_enqueue;
  439. uint32_t tx_msdu_overflow;
  440. uint32_t rx_mpdu_received;
  441. uint32_t rx_mpdu_delivered;
  442. uint32_t rx_mpdu_error;
  443. uint32_t rx_mpdu_missed;
  444. };
  445. #endif /* __CDP_TXRX_MOB_DEF_H */