qcacmn: Remove vlan tag from eapol in multipass
EAPOL frame should not have vlan tag when delivering to stack. Change-Id: Ia961a96489345229d6ee2ea8c2105deb114c0ab5
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
1e9b37b023
کامیت
64401977de
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -648,6 +649,10 @@ bool dp_rx_multipass_process(struct dp_peer *peer, qdf_nbuf_t nbuf, uint8_t tid)
|
||||
|
||||
vethhdrp->h_vlan_TCI = htons(((tid & 0x7) << VLAN_PRIO_SHIFT) |
|
||||
(peer->vlan_id & VLAN_VID_MASK));
|
||||
|
||||
if (vethhdrp->h_vlan_encapsulated_proto == htons(ETHERTYPE_PAE))
|
||||
dp_tx_remove_vlan_tag(peer->vdev, nbuf);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user