|
|
@@ -50,7 +50,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
|
|
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
|
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
|
|
-@@ -3710,6 +3710,9 @@ ath10k_mac_tx_h_get_txmode(struct ath10k
|
|
|
+@@ -3717,6 +3717,9 @@ ath10k_mac_tx_h_get_txmode(struct ath10k
|
|
|
const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb);
|
|
|
__le16 fc = hdr->frame_control;
|
|
|
|
|
|
@@ -60,7 +60,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
if (!vif || vif->type == NL80211_IFTYPE_MONITOR)
|
|
|
return ATH10K_HW_TXRX_RAW;
|
|
|
|
|
|
-@@ -3870,6 +3873,12 @@ static void ath10k_mac_tx_h_fill_cb(stru
|
|
|
+@@ -3877,6 +3880,12 @@ static void ath10k_mac_tx_h_fill_cb(stru
|
|
|
bool noack = false;
|
|
|
|
|
|
cb->flags = 0;
|
|
|
@@ -73,7 +73,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
if (!ath10k_tx_h_use_hwcrypto(vif, skb))
|
|
|
cb->flags |= ATH10K_SKB_F_NO_HWCRYPT;
|
|
|
|
|
|
-@@ -3908,6 +3917,7 @@ static void ath10k_mac_tx_h_fill_cb(stru
|
|
|
+@@ -3915,6 +3924,7 @@ static void ath10k_mac_tx_h_fill_cb(stru
|
|
|
cb->flags |= ATH10K_SKB_F_RAW_TX;
|
|
|
}
|
|
|
|
|
|
@@ -81,7 +81,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
cb->vif = vif;
|
|
|
cb->txq = txq;
|
|
|
cb->airtime_est = airtime;
|
|
|
-@@ -4031,7 +4041,11 @@ static int ath10k_mac_tx(struct ath10k *
|
|
|
+@@ -4038,7 +4048,11 @@ static int ath10k_mac_tx(struct ath10k *
|
|
|
ath10k_tx_h_seq_no(vif, skb);
|
|
|
break;
|
|
|
case ATH10K_HW_TXRX_ETHERNET:
|
|
|
@@ -94,7 +94,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
break;
|
|
|
case ATH10K_HW_TXRX_RAW:
|
|
|
if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags) &&
|
|
|
-@@ -4643,12 +4657,10 @@ static void ath10k_mac_op_tx(struct ieee
|
|
|
+@@ -4650,12 +4664,10 @@ static void ath10k_mac_op_tx(struct ieee
|
|
|
struct ieee80211_vif *vif = info->control.vif;
|
|
|
struct ieee80211_sta *sta = control->sta;
|
|
|
struct ieee80211_txq *txq = NULL;
|
|
|
@@ -107,7 +107,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
int ret;
|
|
|
u16 airtime;
|
|
|
|
|
|
-@@ -4662,8 +4674,14 @@ static void ath10k_mac_op_tx(struct ieee
|
|
|
+@@ -4669,8 +4681,14 @@ static void ath10k_mac_op_tx(struct ieee
|
|
|
is_mgmt = (txpath == ATH10K_MAC_TX_HTT_MGMT);
|
|
|
|
|
|
if (is_htt) {
|
|
|
@@ -123,7 +123,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
|
|
|
ret = ath10k_htt_tx_inc_pending(htt);
|
|
|
if (ret) {
|
|
|
-@@ -5463,6 +5481,30 @@ static int ath10k_mac_set_txbf_conf(stru
|
|
|
+@@ -5470,6 +5488,30 @@ static int ath10k_mac_set_txbf_conf(stru
|
|
|
ar->wmi.vdev_param->txbf, value);
|
|
|
}
|
|
|
|
|
|
@@ -154,7 +154,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
/*
|
|
|
* TODO:
|
|
|
* Figure out how to handle WMI_VDEV_SUBTYPE_P2P_DEVICE,
|
|
|
-@@ -5672,15 +5714,7 @@ static int ath10k_add_interface(struct i
|
|
|
+@@ -5679,15 +5721,7 @@ static int ath10k_add_interface(struct i
|
|
|
|
|
|
arvif->def_wep_key_idx = -1;
|
|
|
|
|
|
@@ -171,7 +171,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
|
|
|
/* Configuring number of spatial stream for monitor interface is causing
|
|
|
* target assert in qca9888 and qca6174.
|
|
|
-@@ -9368,6 +9402,7 @@ static const struct ieee80211_ops ath10k
|
|
|
+@@ -9372,6 +9406,7 @@ static const struct ieee80211_ops ath10k
|
|
|
.stop = ath10k_stop,
|
|
|
.config = ath10k_config,
|
|
|
.add_interface = ath10k_add_interface,
|
|
|
@@ -179,7 +179,7 @@ Link: https://lore.kernel.org/r/[email protected]
|
|
|
.remove_interface = ath10k_remove_interface,
|
|
|
.configure_filter = ath10k_configure_filter,
|
|
|
.bss_info_changed = ath10k_bss_info_changed,
|
|
|
-@@ -10037,6 +10072,12 @@ int ath10k_mac_register(struct ath10k *a
|
|
|
+@@ -10041,6 +10076,12 @@ int ath10k_mac_register(struct ath10k *a
|
|
|
if (test_bit(WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, ar->wmi.svc_map))
|
|
|
ieee80211_hw_set(ar->hw, SUPPORTS_TDLS_BUFFER_STA);
|
|
|
|