forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from openwrtdiy/openwrt-23.05
Synchronize official source code
- Loading branch information
Showing
137 changed files
with
486 additions
and
2,100 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.15 = .164 | ||
LINUX_KERNEL_HASH-5.15.164 = ec6098faed64b8a47ba1772e812a6eb444385f7aa3c60d3e4739ab2fd3b29186 | ||
LINUX_VERSION-5.15 = .167 | ||
LINUX_KERNEL_HASH-5.15.167 = b1751f18ece3df08d502dd87a9ab1a317dc0f9486355bf8ee62ba6af0b35da30 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -6418,18 +6418,16 @@ static int ath11k_mac_op_add_interface(s | ||
@@ -6425,18 +6425,16 @@ static int ath11k_mac_op_add_interface(s | ||
|
||
ath11k_dp_vdev_tx_attach(ar, arvif); | ||
|
||
|
@@ -42,7 +42,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
mutex_unlock(&ar->conf_mutex); | ||
|
||
return 0; | ||
@@ -6454,7 +6452,6 @@ err_vdev_del: | ||
@@ -6461,7 +6459,6 @@ err_vdev_del: | ||
spin_unlock_bh(&ar->data_lock); | ||
|
||
err: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
exit: | ||
kfree(arg.chan_list); | ||
@@ -9065,6 +9087,9 @@ static int __ath11k_mac_register(struct | ||
@@ -9072,6 +9094,9 @@ static int __ath11k_mac_register(struct | ||
NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP); | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -6230,6 +6230,40 @@ void ath11k_mac_11d_scan_stop_all(struct | ||
@@ -6237,6 +6237,40 @@ void ath11k_mac_11d_scan_stop_all(struct | ||
} | ||
} | ||
|
||
|
@@ -62,7 +62,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
static int ath11k_mac_op_add_interface(struct ieee80211_hw *hw, | ||
struct ieee80211_vif *vif) | ||
{ | ||
@@ -6465,10 +6499,7 @@ err_peer_del: | ||
@@ -6472,10 +6506,7 @@ err_peer_del: | ||
} | ||
|
||
err_vdev_del: | ||
|
@@ -74,15 +74,15 @@ Link: https://lore.kernel.org/r/[email protected] | |
spin_lock_bh(&ar->data_lock); | ||
list_del(&arvif->list); | ||
spin_unlock_bh(&ar->data_lock); | ||
@@ -6496,7 +6527,6 @@ static void ath11k_mac_op_remove_interfa | ||
@@ -6503,7 +6534,6 @@ static void ath11k_mac_op_remove_interfa | ||
struct ath11k *ar = hw->priv; | ||
struct ath11k_vif *arvif = ath11k_vif_to_arvif(vif); | ||
struct ath11k_base *ab = ar->ab; | ||
- unsigned long time_left; | ||
int ret; | ||
int i; | ||
|
||
@@ -6517,29 +6547,13 @@ static void ath11k_mac_op_remove_interfa | ||
@@ -6524,29 +6554,13 @@ static void ath11k_mac_op_remove_interfa | ||
arvif->vdev_id, ret); | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,15 +96,15 @@ Link: https://lore.kernel.org/r/[email protected] | |
struct ath11k_hw_ops { | ||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -8007,6 +8007,7 @@ ath11k_mac_op_reconfig_complete(struct i | ||
@@ -8014,6 +8014,7 @@ ath11k_mac_op_reconfig_complete(struct i | ||
struct ath11k *ar = hw->priv; | ||
struct ath11k_base *ab = ar->ab; | ||
int recovery_count; | ||
+ struct ath11k_vif *arvif; | ||
|
||
if (reconfig_type != IEEE80211_RECONFIG_TYPE_RESTART) | ||
return; | ||
@@ -8042,6 +8043,12 @@ ath11k_mac_op_reconfig_complete(struct i | ||
@@ -8049,6 +8050,12 @@ ath11k_mac_op_reconfig_complete(struct i | ||
ath11k_dbg(ab, ATH11K_DBG_BOOT, "reset success\n"); | ||
} | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,7 +146,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
if (changed & BSS_CHANGED_FILS_DISCOVERY || | ||
changed & BSS_CHANGED_UNSOL_BCAST_PROBE_RESP) | ||
ath11k_mac_fils_discovery(arvif, info); | ||
@@ -9118,6 +9132,10 @@ static int __ath11k_mac_register(struct | ||
@@ -9125,6 +9139,10 @@ static int __ath11k_mac_register(struct | ||
wiphy_ext_feature_set(ar->hw->wiphy, | ||
NL80211_EXT_FEATURE_SET_SCAN_DWELL); | ||
|
||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
static int ath11k_hw_mac_id_to_pdev_id_ipq8074(struct ath11k_hw_params *hw, | ||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -9179,6 +9179,11 @@ static int __ath11k_mac_register(struct | ||
@@ -9186,6 +9186,11 @@ static int __ath11k_mac_register(struct | ||
goto err_free_if_combs; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
return 0; | ||
} | ||
|
||
@@ -3038,39 +3015,51 @@ static int ath11k_dp_rx_reap_mon_status_ | ||
@@ -3037,39 +3014,51 @@ static int ath11k_dp_rx_reap_mon_status_ | ||
|
||
spin_lock_bh(&rx_ring->idr_lock); | ||
skb = idr_find(&rx_ring->bufs_idr, buf_id); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
(vif->type == NL80211_IFTYPE_AP || | ||
vif->type == NL80211_IFTYPE_MESH_POINT)) { | ||
arvif->ftm_responder = info->ftm_responder; | ||
@@ -9239,7 +9239,7 @@ static int __ath11k_mac_register(struct | ||
@@ -9246,7 +9246,7 @@ static int __ath11k_mac_register(struct | ||
wiphy_ext_feature_set(ar->hw->wiphy, | ||
NL80211_EXT_FEATURE_SET_SCAN_DWELL); | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -6682,6 +6682,11 @@ static void ath11k_mac_op_remove_interfa | ||
@@ -6689,6 +6689,11 @@ static void ath11k_mac_op_remove_interfa | ||
ath11k_dbg(ab, ATH11K_DBG_MAC, "mac remove interface (vdev %d)\n", | ||
arvif->vdev_id); | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c | ||
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c | ||
@@ -3115,8 +3115,11 @@ int ath11k_peer_rx_frag_setup(struct ath | ||
@@ -3114,8 +3114,11 @@ int ath11k_peer_rx_frag_setup(struct ath | ||
int i; | ||
|
||
tfm = crypto_alloc_shash("michael_mic", 0, 0); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c | ||
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c | ||
@@ -3607,7 +3607,7 @@ static int ath11k_dp_rx_frag_h_mpdu(stru | ||
@@ -3606,7 +3606,7 @@ static int ath11k_dp_rx_frag_h_mpdu(stru | ||
goto out_unlock; | ||
} | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
#define ATH11K_QUEUE_LEN 4096 | ||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -9006,19 +9006,23 @@ static int ath11k_mac_setup_iface_combin | ||
@@ -9013,19 +9013,23 @@ static int ath11k_mac_setup_iface_combin | ||
|
||
static const u8 ath11k_if_types_ext_capa[] = { | ||
[0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING, | ||
|
@@ -80,7 +80,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
}; | ||
|
||
static const struct wiphy_iftype_ext_capab ath11k_iftypes_ext_capa[] = { | ||
@@ -9256,6 +9260,9 @@ static int __ath11k_mac_register(struct | ||
@@ -9263,6 +9267,9 @@ static int __ath11k_mac_register(struct | ||
wiphy_ext_feature_set(ar->hw->wiphy, | ||
NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER); | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
--- a/drivers/net/wireless/ath/ath11k/mac.c | ||
+++ b/drivers/net/wireless/ath/ath11k/mac.c | ||
@@ -6178,17 +6178,62 @@ static void ath11k_mac_op_stop(struct ie | ||
@@ -6185,17 +6185,62 @@ static void ath11k_mac_op_stop(struct ie | ||
atomic_set(&ar->num_pending_mgmt_tx, 0); | ||
} | ||
|
||
|
@@ -89,15 +89,15 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
if (pdev->cap.supported_bands & WMI_HOST_WLAN_2G_CAP) { | ||
params->chains[NL80211_BAND_2GHZ].tx = ar->num_tx_chains; | ||
@@ -6203,6 +6248,7 @@ ath11k_mac_setup_vdev_create_params(stru | ||
@@ -6210,6 +6255,7 @@ ath11k_mac_setup_vdev_create_params(stru | ||
params->chains[NL80211_BAND_6GHZ].tx = ar->num_tx_chains; | ||
params->chains[NL80211_BAND_6GHZ].rx = ar->num_rx_chains; | ||
} | ||
+ return 0; | ||
} | ||
|
||
static void ath11k_mac_op_update_vif_offload(struct ieee80211_hw *hw, | ||
@@ -6497,7 +6543,12 @@ static int ath11k_mac_op_add_interface(s | ||
@@ -6504,7 +6550,12 @@ static int ath11k_mac_op_add_interface(s | ||
for (i = 0; i < ARRAY_SIZE(vif->hw_queue); i++) | ||
vif->hw_queue[i] = i % (ATH11K_HW_MAX_QUEUES - 1); | ||
|
||
|
@@ -111,7 +111,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
|
||
ret = ath11k_wmi_vdev_create(ar, vif->addr, &vdev_param); | ||
if (ret) { | ||
@@ -6902,6 +6953,17 @@ ath11k_mac_vdev_start_restart(struct ath | ||
@@ -6909,6 +6960,17 @@ ath11k_mac_vdev_start_restart(struct ath | ||
arg.pref_tx_streams = ar->num_tx_chains; | ||
arg.pref_rx_streams = ar->num_rx_chains; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
if (ret) { | ||
ath11k_warn(ar->ab, "failed to set vdev %d up: %d\n", | ||
arvif->vdev_id, ret); | ||
@@ -7130,7 +7138,8 @@ ath11k_mac_update_vif_chan(struct ath11k | ||
@@ -7137,7 +7145,8 @@ ath11k_mac_update_vif_chan(struct ath11k | ||
int n_vifs) | ||
{ | ||
struct ath11k_base *ab = ar->ab; | ||
|
@@ -73,7 +73,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
int ret; | ||
int i; | ||
bool monitor_vif = false; | ||
@@ -7184,8 +7193,15 @@ ath11k_mac_update_vif_chan(struct ath11k | ||
@@ -7191,8 +7200,15 @@ ath11k_mac_update_vif_chan(struct ath11k | ||
ath11k_warn(ab, "failed to update bcn tmpl during csa: %d\n", | ||
ret); | ||
|
||
|
@@ -90,7 +90,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
if (ret) { | ||
ath11k_warn(ab, "failed to bring vdev up %d: %d\n", | ||
arvif->vdev_id, ret); | ||
@@ -7303,7 +7319,8 @@ static int ath11k_start_vdev_delay(struc | ||
@@ -7310,7 +7326,8 @@ static int ath11k_start_vdev_delay(struc | ||
} | ||
|
||
if (arvif->vdev_type == WMI_VDEV_TYPE_MONITOR) { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
*/ | ||
|
||
#include <net/mac80211.h> | ||
@@ -4335,6 +4335,20 @@ exit: | ||
@@ -4334,6 +4334,20 @@ exit: | ||
} | ||
|
||
static int | ||
|
@@ -52,7 +52,7 @@ Link: https://lore.kernel.org/r/[email protected] | |
ath11k_mac_bitrate_mask_num_vht_rates(struct ath11k *ar, | ||
enum nl80211_band band, | ||
const struct cfg80211_bitrate_mask *mask) | ||
@@ -7788,20 +7802,6 @@ static void ath11k_mac_op_flush(struct i | ||
@@ -7795,20 +7809,6 @@ static void ath11k_mac_op_flush(struct i | ||
ath11k_mac_flush_tx_complete(ar); | ||
} | ||
|
||
|
Oops, something went wrong.