diff options
| author | Dhanashri Atre <datre@codeaurora.org> | 2016-03-15 18:00:41 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-04-17 18:08:49 -0700 |
| commit | fa2cfa10852a40cf40dd7930c87e968dd8c3042d (patch) | |
| tree | 14c7b5b01fc5326f7ff3d47798f5964be2fd6f05 | |
| parent | 4c2ed0798f0be66b11e4bc08623d444f0301c9f0 (diff) | |
qcacld-3.0: Revert "qcacld-3.0: Add debug print for EAPOL msg"
Revert Change-Id: I1eb4f9dac6520b1ce00cdfc3e0fcef721ae498d6
This change is causing a regression on the UDP SAP -> STA
throughput.
CRs-Fixed: 990954
Change-Id: I09b8b61e70eddc2a85a6b22a186cc2eef0f8510f
| -rw-r--r-- | core/hdd/src/wlan_hdd_tx_rx.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 68b3fa7ea6c9..60d3162afaed 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -63,11 +63,6 @@ #define HDD_EAPOL_KEY_INFO_OFFSET (19) #define HDD_EAPOL_DEST_MAC_OFFSET (0) #define HDD_EAPOL_SRC_MAC_OFFSET (6) -#define EAPOL_MASK 0x8013 -#define EAPOL_M1_BIT_MASK 0x8000 -#define EAPOL_M2_BIT_MASK 0x0001 -#define EAPOL_M3_BIT_MASK 0x8013 -#define EAPOL_M4_BIT_MASK 0x0003 #endif /* FEATURE_WLAN_DIAG_SUPPORT */ const uint8_t hdd_wmm_ac_to_highest_up[] = { @@ -882,27 +877,10 @@ void wlan_hdd_log_eapol(struct sk_buff *skb, { int ret; struct host_event_wlan_eapol eapol_params; - uint16_t key_info; - const char *packet_type = "UND"; ret = wlan_hdd_get_eapol_params(skb, &eapol_params, event_type); if (!ret) - return; - - wlan_hdd_event_eapol_log(eapol_params); - key_info = eapol_params.eapol_key_info & EAPOL_MASK; - if (key_info == EAPOL_M1_BIT_MASK) - packet_type = "M1"; - else if (key_info == EAPOL_M2_BIT_MASK) - packet_type = "M2"; - else if (key_info == EAPOL_M3_BIT_MASK) - packet_type = "M3"; - else if (key_info == EAPOL_M4_BIT_MASK) - packet_type = "M4"; - - hdd_notice("%s: %s packet", eapol_params.event_sub_type == - WIFI_EVENT_DRIVER_EAPOL_FRAME_RECEIVED ? - "RX" : "TX", packet_type); + wlan_hdd_event_eapol_log(eapol_params); } #endif /* FEATURE_WLAN_DIAG_SUPPORT */ |
