mac80211: Update to 5.4.56-1
This commit is contained in:
parent
a7bba40e46
commit
3f57fae66b
@ -10,10 +10,10 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=mac80211
|
PKG_NAME:=mac80211
|
||||||
|
|
||||||
PKG_VERSION:=5.4.36-1
|
PKG_VERSION:=5.4.56-1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.4.36/
|
PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.4.56/
|
||||||
PKG_HASH:=5b39734986fba3b9c24c521d0499a2dc9cb17267bb58c02d9a520205add2d16b
|
PKG_HASH:=6030c2427e04f976cf53330087d0fdbb60ead7e1fecbd85e6f8e97ec0ed9a2eb
|
||||||
|
|
||||||
PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
|
||||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Forwarded: https://patchwork.kernel.org/patch/11367055/
|
|||||||
|
|
||||||
--- a/drivers/net/wireless/ath/ath10k/htt.h
|
--- a/drivers/net/wireless/ath/ath10k/htt.h
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/htt.h
|
+++ b/drivers/net/wireless/ath/ath10k/htt.h
|
||||||
@@ -2219,7 +2219,7 @@ struct htt_rx_chan_info {
|
@@ -2226,7 +2226,7 @@ struct htt_rx_chan_info {
|
||||||
* Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size,
|
* Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size,
|
||||||
* rounded up to a cache line size.
|
* rounded up to a cache line size.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
@@ -8673,6 +8673,21 @@ static int ath10k_mac_init_rd(struct ath
|
@@ -8677,6 +8677,21 @@ static int ath10k_mac_init_rd(struct ath
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
int ath10k_mac_register(struct ath10k *ar)
|
int ath10k_mac_register(struct ath10k *ar)
|
||||||
{
|
{
|
||||||
static const u32 cipher_suites[] = {
|
static const u32 cipher_suites[] = {
|
||||||
@@ -9000,6 +9015,12 @@ int ath10k_mac_register(struct ath10k *a
|
@@ -9003,6 +9018,12 @@ int ath10k_mac_register(struct ath10k *a
|
||||||
|
|
||||||
ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
|
ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ v2: fix trailing whitespace issue and fix some typos within the commit note
|
|||||||
2 files changed, 8 insertions(+), 10 deletions(-)
|
2 files changed, 8 insertions(+), 10 deletions(-)
|
||||||
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
@@ -4575,13 +4575,6 @@ static struct ieee80211_sta_vht_cap ath1
|
@@ -4578,13 +4578,6 @@ static struct ieee80211_sta_vht_cap ath1
|
||||||
vht_cap.cap |= val;
|
vht_cap.cap |= val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -407,7 +407,7 @@ v13:
|
|||||||
/* Rates */
|
/* Rates */
|
||||||
--- a/drivers/net/wireless/ath/ath10k/wmi-ops.h
|
--- a/drivers/net/wireless/ath/ath10k/wmi-ops.h
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/wmi-ops.h
|
+++ b/drivers/net/wireless/ath/ath10k/wmi-ops.h
|
||||||
@@ -216,7 +216,10 @@ struct wmi_ops {
|
@@ -217,7 +217,10 @@ struct wmi_ops {
|
||||||
struct sk_buff *(*gen_bb_timing)
|
struct sk_buff *(*gen_bb_timing)
|
||||||
(struct ath10k *ar,
|
(struct ath10k *ar,
|
||||||
const struct wmi_bb_timing_cfg_arg *arg);
|
const struct wmi_bb_timing_cfg_arg *arg);
|
||||||
@ -418,7 +418,7 @@ v13:
|
|||||||
};
|
};
|
||||||
|
|
||||||
int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
|
int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
|
||||||
@@ -1080,6 +1083,35 @@ ath10k_wmi_force_fw_hang(struct ath10k *
|
@@ -1090,6 +1093,35 @@ ath10k_wmi_force_fw_hang(struct ath10k *
|
||||||
return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid);
|
return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -456,7 +456,7 @@ v13:
|
|||||||
{
|
{
|
||||||
--- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c
|
--- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c
|
+++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c
|
||||||
@@ -4367,6 +4367,8 @@ static const struct wmi_ops wmi_tlv_ops
|
@@ -4382,6 +4382,8 @@ static const struct wmi_ops wmi_tlv_ops
|
||||||
.gen_echo = ath10k_wmi_tlv_op_gen_echo,
|
.gen_echo = ath10k_wmi_tlv_op_gen_echo,
|
||||||
.gen_vdev_spectral_conf = ath10k_wmi_tlv_op_gen_vdev_spectral_conf,
|
.gen_vdev_spectral_conf = ath10k_wmi_tlv_op_gen_vdev_spectral_conf,
|
||||||
.gen_vdev_spectral_enable = ath10k_wmi_tlv_op_gen_vdev_spectral_enable,
|
.gen_vdev_spectral_enable = ath10k_wmi_tlv_op_gen_vdev_spectral_enable,
|
||||||
|
|||||||
@ -42,7 +42,7 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
|
|||||||
if (ret)
|
if (ret)
|
||||||
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
@@ -9032,7 +9032,7 @@ int ath10k_mac_register(struct ath10k *a
|
@@ -9035,7 +9035,7 @@ int ath10k_mac_register(struct ath10k *a
|
||||||
ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
|
ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
|
||||||
|
|
||||||
#ifdef CPTCFG_MAC80211_LEDS
|
#ifdef CPTCFG_MAC80211_LEDS
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
@@ -4718,6 +4718,7 @@ static void ath10k_mac_setup_ht_vht_cap(
|
@@ -4723,6 +4723,7 @@ static void ath10k_mac_setup_ht_vht_cap(
|
||||||
if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
|
if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
|
||||||
band = &ar->mac.sbands[NL80211_BAND_2GHZ];
|
band = &ar->mac.sbands[NL80211_BAND_2GHZ];
|
||||||
band->ht_cap = ht_cap;
|
band->ht_cap = ht_cap;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--- a/net/mac80211/cfg.c
|
--- a/net/mac80211/cfg.c
|
||||||
+++ b/net/mac80211/cfg.c
|
+++ b/net/mac80211/cfg.c
|
||||||
@@ -2317,7 +2317,7 @@ static int ieee80211_scan(struct wiphy *
|
@@ -2318,7 +2318,7 @@ static int ieee80211_scan(struct wiphy *
|
||||||
* the frames sent while scanning on other channel will be
|
* the frames sent while scanning on other channel will be
|
||||||
* lost)
|
* lost)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata,
|
void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata,
|
||||||
--- a/net/mac80211/status.c
|
--- a/net/mac80211/status.c
|
||||||
+++ b/net/mac80211/status.c
|
+++ b/net/mac80211/status.c
|
||||||
@@ -815,6 +815,11 @@ void ieee80211_tx_monitor(struct ieee802
|
@@ -814,6 +814,11 @@ void ieee80211_tx_monitor(struct ieee802
|
||||||
struct net_device *prev_dev = NULL;
|
struct net_device *prev_dev = NULL;
|
||||||
int rtap_len;
|
int rtap_len;
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
--- a/net/mac80211/sta_info.c
|
--- a/net/mac80211/sta_info.c
|
||||||
+++ b/net/mac80211/sta_info.c
|
+++ b/net/mac80211/sta_info.c
|
||||||
@@ -324,6 +324,7 @@ struct sta_info *sta_info_alloc(struct i
|
@@ -325,6 +325,7 @@ struct sta_info *sta_info_alloc(struct i
|
||||||
INIT_WORK(&sta->drv_deliver_wk, sta_deliver_ps_frames);
|
INIT_WORK(&sta->drv_deliver_wk, sta_deliver_ps_frames);
|
||||||
INIT_WORK(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
|
INIT_WORK(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
|
||||||
mutex_init(&sta->ampdu_mlme.mtx);
|
mutex_init(&sta->ampdu_mlme.mtx);
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
--- a/net/mac80211/status.c
|
--- a/net/mac80211/status.c
|
||||||
+++ b/net/mac80211/status.c
|
+++ b/net/mac80211/status.c
|
||||||
@@ -881,6 +881,7 @@ static void __ieee80211_tx_status(struct
|
@@ -880,6 +880,7 @@ static void __ieee80211_tx_status(struct
|
||||||
int rates_idx;
|
int rates_idx;
|
||||||
bool send_to_cooked;
|
bool send_to_cooked;
|
||||||
bool acked;
|
bool acked;
|
||||||
@ -20,7 +20,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
struct ieee80211_bar *bar;
|
struct ieee80211_bar *bar;
|
||||||
int shift = 0;
|
int shift = 0;
|
||||||
int tid = IEEE80211_NUM_TIDS;
|
int tid = IEEE80211_NUM_TIDS;
|
||||||
@@ -898,6 +899,8 @@ static void __ieee80211_tx_status(struct
|
@@ -897,6 +898,8 @@ static void __ieee80211_tx_status(struct
|
||||||
clear_sta_flag(sta, WLAN_STA_SP);
|
clear_sta_flag(sta, WLAN_STA_SP);
|
||||||
|
|
||||||
acked = !!(info->flags & IEEE80211_TX_STAT_ACK);
|
acked = !!(info->flags & IEEE80211_TX_STAT_ACK);
|
||||||
@ -29,7 +29,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
/* mesh Peer Service Period support */
|
/* mesh Peer Service Period support */
|
||||||
if (ieee80211_vif_is_mesh(&sta->sdata->vif) &&
|
if (ieee80211_vif_is_mesh(&sta->sdata->vif) &&
|
||||||
@@ -962,12 +965,12 @@ static void __ieee80211_tx_status(struct
|
@@ -961,12 +964,12 @@ static void __ieee80211_tx_status(struct
|
||||||
ieee80211_handle_filtered_frame(local, sta, skb);
|
ieee80211_handle_filtered_frame(local, sta, skb);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@ -44,7 +44,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
sta->status_stats.msdu_failed[tid]++;
|
sta->status_stats.msdu_failed[tid]++;
|
||||||
|
|
||||||
sta->status_stats.msdu_retries[tid] +=
|
sta->status_stats.msdu_retries[tid] +=
|
||||||
@@ -994,7 +997,7 @@ static void __ieee80211_tx_status(struct
|
@@ -993,7 +996,7 @@ static void __ieee80211_tx_status(struct
|
||||||
info->status.tx_time, 0);
|
info->status.tx_time, 0);
|
||||||
|
|
||||||
if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) {
|
if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) {
|
||||||
@ -53,7 +53,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
if (sta->status_stats.lost_packets)
|
if (sta->status_stats.lost_packets)
|
||||||
sta->status_stats.lost_packets = 0;
|
sta->status_stats.lost_packets = 0;
|
||||||
|
|
||||||
@@ -1002,6 +1005,8 @@ static void __ieee80211_tx_status(struct
|
@@ -1001,6 +1004,8 @@ static void __ieee80211_tx_status(struct
|
||||||
if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
|
if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
|
||||||
sta->status_stats.last_tdls_pkt_time =
|
sta->status_stats.last_tdls_pkt_time =
|
||||||
jiffies;
|
jiffies;
|
||||||
@ -62,7 +62,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
} else {
|
} else {
|
||||||
ieee80211_lost_packet(sta, info);
|
ieee80211_lost_packet(sta, info);
|
||||||
}
|
}
|
||||||
@@ -1128,7 +1133,7 @@ void ieee80211_tx_status_ext(struct ieee
|
@@ -1127,7 +1132,7 @@ void ieee80211_tx_status_ext(struct ieee
|
||||||
|
|
||||||
sta = container_of(pubsta, struct sta_info, sta);
|
sta = container_of(pubsta, struct sta_info, sta);
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
sta->status_stats.retry_failed++;
|
sta->status_stats.retry_failed++;
|
||||||
sta->status_stats.retry_count += retry_count;
|
sta->status_stats.retry_count += retry_count;
|
||||||
|
|
||||||
@@ -1143,6 +1148,8 @@ void ieee80211_tx_status_ext(struct ieee
|
@@ -1142,6 +1147,8 @@ void ieee80211_tx_status_ext(struct ieee
|
||||||
sta->status_stats.last_tdls_pkt_time = jiffies;
|
sta->status_stats.last_tdls_pkt_time = jiffies;
|
||||||
} else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
|
} else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -45,7 +45,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
struct {
|
struct {
|
||||||
--- a/net/mac80211/cfg.c
|
--- a/net/mac80211/cfg.c
|
||||||
+++ b/net/mac80211/cfg.c
|
+++ b/net/mac80211/cfg.c
|
||||||
@@ -3449,7 +3449,7 @@ int ieee80211_attach_ack_skb(struct ieee
|
@@ -3450,7 +3450,7 @@ int ieee80211_attach_ack_skb(struct ieee
|
||||||
|
|
||||||
spin_lock_irqsave(&local->ack_status_lock, spin_flags);
|
spin_lock_irqsave(&local->ack_status_lock, spin_flags);
|
||||||
id = idr_alloc(&local->ack_status_frames, ack_skb,
|
id = idr_alloc(&local->ack_status_frames, ack_skb,
|
||||||
|
|||||||
@ -54,7 +54,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
sta_info_hash_lookup(local, _addr), hash_node)
|
sta_info_hash_lookup(local, _addr), hash_node)
|
||||||
--- a/net/mac80211/status.c
|
--- a/net/mac80211/status.c
|
||||||
+++ b/net/mac80211/status.c
|
+++ b/net/mac80211/status.c
|
||||||
@@ -1086,19 +1086,13 @@ void ieee80211_tx_status(struct ieee8021
|
@@ -1085,19 +1085,13 @@ void ieee80211_tx_status(struct ieee8021
|
||||||
.skb = skb,
|
.skb = skb,
|
||||||
.info = IEEE80211_SKB_CB(skb),
|
.info = IEEE80211_SKB_CB(skb),
|
||||||
};
|
};
|
||||||
|
|||||||
@ -289,7 +289,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
mutex_init(&local->chanctx_mtx);
|
mutex_init(&local->chanctx_mtx);
|
||||||
--- a/net/mac80211/sta_info.c
|
--- a/net/mac80211/sta_info.c
|
||||||
+++ b/net/mac80211/sta_info.c
|
+++ b/net/mac80211/sta_info.c
|
||||||
@@ -411,6 +411,9 @@ struct sta_info *sta_info_alloc(struct i
|
@@ -412,6 +412,9 @@ struct sta_info *sta_info_alloc(struct i
|
||||||
skb_queue_head_init(&sta->ps_tx_buf[i]);
|
skb_queue_head_init(&sta->ps_tx_buf[i]);
|
||||||
skb_queue_head_init(&sta->tx_filtered[i]);
|
skb_queue_head_init(&sta->tx_filtered[i]);
|
||||||
sta->airtime[i].deficit = sta->airtime_weight;
|
sta->airtime[i].deficit = sta->airtime_weight;
|
||||||
@ -299,7 +299,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < IEEE80211_NUM_TIDS; i++)
|
for (i = 0; i < IEEE80211_NUM_TIDS; i++)
|
||||||
@@ -1913,6 +1916,41 @@ void ieee80211_sta_register_airtime(stru
|
@@ -1914,6 +1917,41 @@ void ieee80211_sta_register_airtime(stru
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ieee80211_sta_register_airtime);
|
EXPORT_SYMBOL(ieee80211_sta_register_airtime);
|
||||||
|
|
||||||
|
|||||||
@ -57,7 +57,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
*
|
*
|
||||||
--- a/net/mac80211/status.c
|
--- a/net/mac80211/status.c
|
||||||
+++ b/net/mac80211/status.c
|
+++ b/net/mac80211/status.c
|
||||||
@@ -670,12 +670,26 @@ static void ieee80211_report_used_skb(st
|
@@ -669,12 +669,26 @@ static void ieee80211_report_used_skb(st
|
||||||
struct sk_buff *skb, bool dropped)
|
struct sk_buff *skb, bool dropped)
|
||||||
{
|
{
|
||||||
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
||||||
@ -84,7 +84,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
if (info->flags & IEEE80211_TX_INTFL_MLME_CONN_TX) {
|
if (info->flags & IEEE80211_TX_INTFL_MLME_CONN_TX) {
|
||||||
struct ieee80211_sub_if_data *sdata;
|
struct ieee80211_sub_if_data *sdata;
|
||||||
|
|
||||||
@@ -885,6 +899,7 @@ static void __ieee80211_tx_status(struct
|
@@ -884,6 +898,7 @@ static void __ieee80211_tx_status(struct
|
||||||
struct ieee80211_bar *bar;
|
struct ieee80211_bar *bar;
|
||||||
int shift = 0;
|
int shift = 0;
|
||||||
int tid = IEEE80211_NUM_TIDS;
|
int tid = IEEE80211_NUM_TIDS;
|
||||||
@ -92,7 +92,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
rates_idx = ieee80211_tx_get_rates(hw, info, &retry_count);
|
rates_idx = ieee80211_tx_get_rates(hw, info, &retry_count);
|
||||||
|
|
||||||
@@ -996,6 +1011,17 @@ static void __ieee80211_tx_status(struct
|
@@ -995,6 +1010,17 @@ static void __ieee80211_tx_status(struct
|
||||||
ieee80211_sta_register_airtime(&sta->sta, tid,
|
ieee80211_sta_register_airtime(&sta->sta, tid,
|
||||||
info->status.tx_time, 0);
|
info->status.tx_time, 0);
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
||||||
@@ -8870,6 +8870,7 @@ int ath10k_mac_register(struct ath10k *a
|
@@ -8873,6 +8873,7 @@ int ath10k_mac_register(struct ath10k *a
|
||||||
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
|
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
|
||||||
wiphy_ext_feature_set(ar->hw->wiphy,
|
wiphy_ext_feature_set(ar->hw->wiphy,
|
||||||
NL80211_EXT_FEATURE_SET_SCAN_DWELL);
|
NL80211_EXT_FEATURE_SET_SCAN_DWELL);
|
||||||
@ -211,7 +211,7 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|||||||
|
|
||||||
--- a/net/mac80211/sta_info.c
|
--- a/net/mac80211/sta_info.c
|
||||||
+++ b/net/mac80211/sta_info.c
|
+++ b/net/mac80211/sta_info.c
|
||||||
@@ -1922,6 +1922,9 @@ void ieee80211_sta_update_pending_airtim
|
@@ -1923,6 +1923,9 @@ void ieee80211_sta_update_pending_airtim
|
||||||
{
|
{
|
||||||
int tx_pending;
|
int tx_pending;
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,7 @@ Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
|
|||||||
struct {
|
struct {
|
||||||
--- a/net/mac80211/cfg.c
|
--- a/net/mac80211/cfg.c
|
||||||
+++ b/net/mac80211/cfg.c
|
+++ b/net/mac80211/cfg.c
|
||||||
@@ -3449,7 +3449,7 @@ int ieee80211_attach_ack_skb(struct ieee
|
@@ -3450,7 +3450,7 @@ int ieee80211_attach_ack_skb(struct ieee
|
||||||
|
|
||||||
spin_lock_irqsave(&local->ack_status_lock, spin_flags);
|
spin_lock_irqsave(&local->ack_status_lock, spin_flags);
|
||||||
id = idr_alloc(&local->ack_status_frames, ack_skb,
|
id = idr_alloc(&local->ack_status_frames, ack_skb,
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
__NL80211_ATTR_AFTER_LAST,
|
__NL80211_ATTR_AFTER_LAST,
|
||||||
--- a/net/mac80211/cfg.c
|
--- a/net/mac80211/cfg.c
|
||||||
+++ b/net/mac80211/cfg.c
|
+++ b/net/mac80211/cfg.c
|
||||||
@@ -2582,6 +2582,19 @@ static int ieee80211_get_tx_power(struct
|
@@ -2583,6 +2583,19 @@ static int ieee80211_get_tx_power(struct
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@
|
|||||||
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
|
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
|
||||||
const u8 *addr)
|
const u8 *addr)
|
||||||
{
|
{
|
||||||
@@ -4017,6 +4030,7 @@ const struct cfg80211_ops mac80211_confi
|
@@ -4018,6 +4031,7 @@ const struct cfg80211_ops mac80211_confi
|
||||||
.set_wiphy_params = ieee80211_set_wiphy_params,
|
.set_wiphy_params = ieee80211_set_wiphy_params,
|
||||||
.set_tx_power = ieee80211_set_tx_power,
|
.set_tx_power = ieee80211_set_tx_power,
|
||||||
.get_tx_power = ieee80211_get_tx_power,
|
.get_tx_power = ieee80211_get_tx_power,
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
have_80mhz = true;
|
have_80mhz = true;
|
||||||
--- a/net/mac80211/util.c
|
--- a/net/mac80211/util.c
|
||||||
+++ b/net/mac80211/util.c
|
+++ b/net/mac80211/util.c
|
||||||
@@ -1769,7 +1769,8 @@ static int ieee80211_build_preq_ies_band
|
@@ -1775,7 +1775,8 @@ static int ieee80211_build_preq_ies_band
|
||||||
/* Check if any channel in this sband supports at least 80 MHz */
|
/* Check if any channel in this sband supports at least 80 MHz */
|
||||||
for (i = 0; i < sband->n_channels; i++) {
|
for (i = 0; i < sband->n_channels; i++) {
|
||||||
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
||||||
@ -24,7 +24,7 @@
|
|||||||
have_80mhz = true;
|
have_80mhz = true;
|
||||||
--- a/net/mac80211/mlme.c
|
--- a/net/mac80211/mlme.c
|
||||||
+++ b/net/mac80211/mlme.c
|
+++ b/net/mac80211/mlme.c
|
||||||
@@ -4824,7 +4824,8 @@ static int ieee80211_prep_channel(struct
|
@@ -4821,7 +4821,8 @@ static int ieee80211_prep_channel(struct
|
||||||
have_80mhz = false;
|
have_80mhz = false;
|
||||||
for (i = 0; i < sband->n_channels; i++) {
|
for (i = 0; i < sband->n_channels; i++) {
|
||||||
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user