summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/mac.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2015-03-10 16:22:01 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2015-03-12 14:53:49 +0200
commitcc9904e694fa3b0f49bdaccdc7603ec6afa48a7a (patch)
treedd911aa95610768af39285008ca2a28a5f5ba892 /drivers/net/wireless/ath/ath10k/mac.h
parentc1a4654a8ce2b1c60bb46c900e7297078a8642f6 (diff)
downloadlinux-stable-cc9904e694fa3b0f49bdaccdc7603ec6afa48a7a.tar.gz
linux-stable-cc9904e694fa3b0f49bdaccdc7603ec6afa48a7a.tar.bz2
linux-stable-cc9904e694fa3b0f49bdaccdc7603ec6afa48a7a.zip
ath10k: add hw connection monitor support
Some firmware revisions (e.g. qca6174 with fw73) don't deliver beacons to host reliably. This causes random disconnects even in perfect conditions. This is most visible with multi-channel operation. All available firmware revisions seem to support beacon miss offloading so there shouldn't be any problems. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.h b/drivers/net/wireless/ath/ath10k/mac.h
index 68296117d203..3b64d99f9eea 100644
--- a/drivers/net/wireless/ath/ath10k/mac.h
+++ b/drivers/net/wireless/ath/ath10k/mac.h
@@ -45,6 +45,8 @@ void ath10k_mac_vif_beacon_free(struct ath10k_vif *arvif);
void ath10k_drain_tx(struct ath10k *ar);
bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr,
u8 keyidx);
+void ath10k_mac_handle_beacon(struct ath10k *ar, struct sk_buff *skb);
+void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id);
static inline struct ath10k_vif *ath10k_vif_to_arvif(struct ieee80211_vif *vif)
{