[WCNCR00150251] misc: cannot get DHCP ip over VLAN

[Description]
Fix cannot get DHCP ip over VLAN

Due to MT76x8 HW header translation, VLAN pkts would be converted into
80211-LLC VLAN format. But there are IoT issues in customer environment.

In this case, 80211-LLC VLAN format do not work properly. We should play
VLAN pkts as normal ethernet pkts in 80211 MAC translation.

Solution:

Add new capabilities .features in mt66xx_chip_info to detect different
features on different chips.

Tx part
Do not setup VLAN flag in TXD. The header translation would do nothing
and keeps it as pure ethernet payload in 80211 pkts.

Rx part
1. If LLC flag of HTF is setup and this pkt is VLAN type,
do not drop out immediately. Pass up to driver process.
2. Remove "Len" field added by HW header translation

Note:
Please update your FW BINs after commit-id bc897f7(3 Mar 2017)

Feature: misc
Change-Id: Ie395a40557ab5acd1999103a10a86e3ee7e8601f
CR-Id: WCNCR00150251
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
6 files changed