Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Tzu-En Huang <tehuang@xxxxxxxxxxx> > > In order to realize the keep-alive mechanism in mac80211 stack, reporting > accurate tx ack status for nullfunc frame is added in this commit. > > If current frame is nullfunc frame, we ask firmware to report by filling > TX report bit in TX descriptor. After this frame DMA done, TX interrupt is > triggered but TX status is unknown at this moment, so enqueue this skb > into tx_report->queue. Finally, C2H report will be received if the frame > is transmitted successfully or retried over, and then we report to mac80211 > with IEEE80211_TX_STAT_ACK flag only if it's successful. Otherwise, if > failure or timeout (one second), we report to mac80211 without this flag. > > Signed-off-by: Tzu-En Huang <tehuang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 14 patches applied to wireless-drivers-next.git, thanks. 6acfbb81ab0a rtlwifi: support accurate nullfunc frame tx ack report faa280065397 rtlwifi: remove CONNECTION_MONITOR flag c4528686d0ea rtlwifi: remove duplicate rx_packet_type definition 249155973f52 rtlwifi: rename register-based C2H command IDs to V0 7aeb100b7d70 rtlwifi: remove duplicate C2H definition 16e78cb4a571 rtlwifi: remove unused fw C2H command ID ff77960d62d2 rtlwifi: remove dummy hal_op rx_command_packet from rtl8188ee and rtl8723ae 16cefa449c9c rtlwifi: Add hal_op c2h_ra_report_handler for special process daf026ae5fbe rtlwifi: remove duplicate C2H handler 23ffab177b1d rtlwifi: remove hal_op rx_command_packet b4f6ee489cff rtlwifi: remove hal_op c2h_content_parsing 9ae6ed271a60 rtlwifi: use sk_buff to queue C2H commands 9644032e3070 rtlwifi: access skb->data to get C2H data by macro 0a9f8f0a1ba9 rtlwifi: fix btmpinfo timeout while processing C2H_BT_INFO -- https://patchwork.kernel.org/patch/10409171/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches