From d4a1bd480003f3e1a0590bc46fbcb24f05652ca7 Mon Sep 17 00:00:00 2001 From: tzh <tanzhtanzh@gmail.com> Date: Thu, 15 Aug 2024 06:56:47 +0000 Subject: [PATCH] feat(wfit/bt): update aic8800 wifi/bt drive and hal --- longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h b/longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h old mode 100644 new mode 100755 index bca3a2d..bc60e51 --- a/longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h +++ b/longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h @@ -129,19 +129,11 @@ // c.f LMAC/src/tx/tx_swdesc.h /// Descriptor filled by the Host struct hostdesc { -#ifdef CONFIG_RWNX_SPLIT_TX_BUF - /// Pointers to packet payloads - u32_l packet_addr[NX_TX_PAYLOAD_MAX]; - /// Sizes of the MPDU/MSDU payloads - u16_l packet_len[NX_TX_PAYLOAD_MAX]; - /// Number of payloads forming the MPDU - u8_l packet_cnt; -#else /// Pointer to packet payload - u32_l packet_addr; + //u32_l packet_addr; /// Size of the payload u16_l packet_len; -#endif //(NX_AMSDU_TX) + u16_l flags_ext; #ifdef CONFIG_RWNX_FULLMAC /// Address of the status descriptor in host memory (used for confirmation upload) @@ -152,12 +144,6 @@ struct mac_addr eth_src_addr; /// Ethernet Type u16_l ethertype; - /// Buffer containing the PN to be used for this packet - u16_l pn[4]; - /// Sequence Number used for transmission of this MPDU - u16_l sn; - /// Timestamp of first transmission of this MPDU - u16_l timestamp; #else /* ! CONFIG_RWNX_FULLMAC */ #ifdef CONFIG_RWNX_AGG_TX ///Sequence Number for AMPDU MPDUs - for quick check if it's allowed within window @@ -166,6 +152,7 @@ /// Padding between the buffer control structure and the MPDU in host memory u8_l padding; #endif /* CONFIG_RWNX_FULLMAC */ + u8_l ac; /// Packet TID (0xFF if not a QoS frame) u8_l tid; /// Interface Id -- Gitblit v1.6.2