This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scan.c b/scan.c | |
index 7479220..3682855 100644 | |
--- a/scan.c | |
+++ b/scan.c | |
@@ -1510,6 +1510,8 @@ static void print_vht_capa(const uint8_t type, uint8_t len, const uint8_t *data, | |
static void print_vht_oper(const uint8_t type, uint8_t len, const uint8_t *data, | |
const struct print_ies_data *ie_buffer) | |
{ | |
+ __u16 tmp; | |
+ int i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/net/wireless/mediatek/mt7601u/init.c b/drivers/net/wireless/mediatek/mt7601u/init.c | |
index 5d9e952b2..f536d001c 100644 | |
--- a/drivers/net/wireless/mediatek/mt7601u/init.c | |
+++ b/drivers/net/wireless/mediatek/mt7601u/init.c | |
@@ -217,6 +217,27 @@ static int mt7601u_init_wcid_attr_mem(struct mt7601u_dev *dev) | |
return ret; | |
} | |
+static void mt7601u_config_mac_addr_list(struct mt7601u_dev *dev) | |
+{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
index db7a4ffca..847fb976b 100644 | |
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
@@ -83,6 +83,10 @@ static const struct ieee80211_iface_combination mt76x02u_if_comb[] = { | |
.max_interfaces = 2, | |
.num_different_channels = 1, | |
.beacon_int_infra_match = true, | |
+ .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) | | |
+ BIT(NL80211_CHAN_WIDTH_20) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
index db7a4ffca..bc02c5472 100644 | |
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
@@ -51,7 +51,7 @@ static const struct ieee80211_iface_limit mt76x02u_if_limits[] = { | |
.max = 1, | |
.types = BIT(NL80211_IFTYPE_ADHOC) | |
}, { | |
- .max = 2, | |
+ .max = 8, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u -r iw-5.19/scan.c iw-5.19.mod/scan.c | |
--- iw-5.19/scan.c 2022-05-27 03:23:45.000000000 -0700 | |
+++ iw-5.19.mod/scan.c 2022-12-12 21:51:35.795381923 -0800 | |
@@ -1508,6 +1508,8 @@ | |
static void print_vht_oper(const uint8_t type, uint8_t len, const uint8_t *data, | |
const struct print_ies_data *ie_buffer) | |
{ | |
+ __u16 tmp; | |
+ int i; | |
const char *chandwidths[] = { |