diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2021-04-19 14:59:56 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-04-21 12:39:33 +0300 |
commit | afda33499bea154dc792338c5c51a2038a206785 (patch) | |
tree | 013bae0f4c6ab3851b1e78d53c4f759a5f77b3e4 /drivers/net/wireless/realtek/rtlwifi/core.h | |
parent | libertas_tf: Remove duplicate struct declaration (diff) | |
download | linux-dev-afda33499bea154dc792338c5c51a2038a206785.tar.xz linux-dev-afda33499bea154dc792338c5c51a2038a206785.zip |
rtlwifi: implement set_tim by update beacon content
Once beacon content is changed, we update the content to wifi card by
send_beacon_frame(). Then, STA with PS can wake up properly to receive its
packets.
Since we update beacon content to PCI wifi devices every beacon interval,
the only one usb device, 8192CU, needs to update beacon content when
mac80211 calling set_tim.
Reported-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210419065956.6085-1-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/core.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/core.h b/drivers/net/wireless/realtek/rtlwifi/core.h index 7447ff456710..345161b47442 100644 --- a/drivers/net/wireless/realtek/rtlwifi/core.h +++ b/drivers/net/wireless/realtek/rtlwifi/core.h @@ -60,5 +60,6 @@ void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data); bool rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb); bool rtl_btc_status_false(void); void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igval); +void rtl_update_beacon_work_callback(struct work_struct *work); #endif |