[][Update mt76-vendor package for capi]
[Description]
Add support for setting ap_rfeature & ap_wireless of capi.
-nusers_ofdma
-ppdu_type
[Release-log]
N/A
Change-Id: I5d210158fc2360ef050139d513cb82a1af3fd659
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/4872362
diff --git a/feed/mt76-vendor/src/capi.c b/feed/mt76-vendor/src/capi.c
index dd1a9fe..e854820 100644
--- a/feed/mt76-vendor/src/capi.c
+++ b/feed/mt76-vendor/src/capi.c
@@ -72,6 +72,10 @@
nla_put_u8(msg, MTK_VENDOR_ATTR_WIRELESS_CTRL_FIXED_MCS, strtoul(val, NULL, 0));
} else if (!strncmp(argv[0], "ofdma", 5)) {
nla_put_u8(msg, MTK_VENDOR_ATTR_WIRELESS_CTRL_FIXED_OFDMA, strtoul(val, NULL, 0));
+ } else if (!strncmp(argv[0], "ppdu_type", 9)) {
+ nla_put_u8(msg, MTK_VENDOR_ATTR_WIRELESS_CTRL_PPDU_TX_TYPE, strtoul(val, NULL, 0));
+ } else if (!strncmp(argv[0], "nusers_ofdma", 12)) {
+ nla_put_u8(msg, MTK_VENDOR_ATTR_WIRELESS_CTRL_NUSERS_OFDMA, strtoul(val, NULL, 0));
}
return 0;