[FS#488] dynamic VLAN doesn't work on ath10k

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Feb 22 14:58:00 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#488 - dynamic VLAN doesn't work on ath10k
User who did this - Ian MacDonald (imac)

----------
So it looks like all that remains is to check for the CT feature required for support. 

 ATH10K_FW_FEATURE_CONSUME_BLOCK_ACK_CT

where the stock firmware is checked for 

WMI_SERVICE_PER_PACKET_SW_ENCRYPT

Per the comments in https://github.com/greearb/ath10k-ct/issues/72 correctly

The shortcut is to just hack out the decision to remove the AP/VLAN feature as shown below. 



-- a/ath10k-4.19/mac.c
+++ b/ath10k-4.19/mac.c
9998,10001c9998,9999
<       if (test_bit(WMI_SERVICE_PER_PACKET_SW_ENCRYPT, ar->wmi.svc_map)) {
<               ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);
<               ar->hw->wiphy->software_iftypes |= BIT(NL80211_IFTYPE_AP_VLAN);
<       }
---
>       ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);
>       ar->hw->wiphy->software_iftypes |= BIT(NL80211_IFTYPE_AP_VLAN);
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=488#comment9404

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list