aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/wil6210.h
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-03-17 09:34:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 13:44:16 -0400
commite58c9f7043d9b85f867b361d0fa82451ddcf9846 (patch)
tree43b620b1aed689ee1ae5696afa1fbb806bd6fece /drivers/net/wireless/ath/wil6210/wil6210.h
parenta70abea5f556778f6a670b08a278d60e0c993a3f (diff)
wil6210: Block data till "data port open" reported
When connection established, as reported by WMI_CONNECT_EVENTID, 4-way handshaking required for the secure connection is not done yet. It is indicated by another WMI event. Wait for it and only then allow data traffic. In case of non-secure connection, FW reports "data port open" immediately after connection. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r--drivers/net/wireless/ath/wil6210/wil6210.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h
index 273d00f86130..f06f71756996 100644
--- a/drivers/net/wireless/ath/wil6210/wil6210.h
+++ b/drivers/net/wireless/ath/wil6210/wil6210.h
@@ -321,6 +321,7 @@ struct wil_sta_info {
321 u8 addr[ETH_ALEN]; 321 u8 addr[ETH_ALEN];
322 enum wil_sta_status status; 322 enum wil_sta_status status;
323 struct wil_net_stats stats; 323 struct wil_net_stats stats;
324 bool data_port_open; /* can send any data, not only EAPOL */
324 /* Rx BACK */ 325 /* Rx BACK */
325 struct wil_tid_ampdu_rx *tid_rx[WIL_STA_TID_NUM]; 326 struct wil_tid_ampdu_rx *tid_rx[WIL_STA_TID_NUM];
326 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(WIL_STA_TID_NUM)]; 327 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(WIL_STA_TID_NUM)];