tzh
2024-08-15 d4a1bd480003f3e1a0590bc46fbcb24f05652ca7
longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/ipc_shared.h
old mode 100644new mode 100755
....@@ -129,19 +129,11 @@
129129 // c.f LMAC/src/tx/tx_swdesc.h
130130 /// Descriptor filled by the Host
131131 struct hostdesc {
132
-#ifdef CONFIG_RWNX_SPLIT_TX_BUF
133
- /// Pointers to packet payloads
134
- u32_l packet_addr[NX_TX_PAYLOAD_MAX];
135
- /// Sizes of the MPDU/MSDU payloads
136
- u16_l packet_len[NX_TX_PAYLOAD_MAX];
137
- /// Number of payloads forming the MPDU
138
- u8_l packet_cnt;
139
-#else
140132 /// Pointer to packet payload
141
- u32_l packet_addr;
133
+ //u32_l packet_addr;
142134 /// Size of the payload
143135 u16_l packet_len;
144
-#endif //(NX_AMSDU_TX)
136
+ u16_l flags_ext;
145137
146138 #ifdef CONFIG_RWNX_FULLMAC
147139 /// Address of the status descriptor in host memory (used for confirmation upload)
....@@ -152,12 +144,6 @@
152144 struct mac_addr eth_src_addr;
153145 /// Ethernet Type
154146 u16_l ethertype;
155
- /// Buffer containing the PN to be used for this packet
156
- u16_l pn[4];
157
- /// Sequence Number used for transmission of this MPDU
158
- u16_l sn;
159
- /// Timestamp of first transmission of this MPDU
160
- u16_l timestamp;
161147 #else /* ! CONFIG_RWNX_FULLMAC */
162148 #ifdef CONFIG_RWNX_AGG_TX
163149 ///Sequence Number for AMPDU MPDUs - for quick check if it's allowed within window
....@@ -166,6 +152,7 @@
166152 /// Padding between the buffer control structure and the MPDU in host memory
167153 u8_l padding;
168154 #endif /* CONFIG_RWNX_FULLMAC */
155
+ u8_l ac;
169156 /// Packet TID (0xFF if not a QoS frame)
170157 u8_l tid;
171158 /// Interface Id