Need Help in adding vlan tag to the wireless ingress packets in linux.
How to add the vlan tagging to the ingress wireless packets in the linux.
For adding the tag to the wireless packets I have called the 'vlan_put_tag' function from the '__vlan_hwaccel_rx' function of the vlan_core.c file.
Here 'vlan_put_tag' addes the vlan header to the ethernet header of the packet.
Please let me know is this the correct way to add the vlan tagging in the ingress packets?Or else please suggest the better way for tagging the packets.
Thank you in advance.