X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F930-ath10k_add_tpt_led_trigger.patch;h=8003f86468183ea2bb48c7b73f7d7a91abb463e4;hp=150e00856093fd20586af42d3c3dbde4fa93b25b;hb=d680f50dd7473d566ebd57cca3bb6a2ea39c76fc;hpb=10b3ff1206dc96900851acaae256b8addf7bf3f7 diff --git a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch index 150e008560..8003f86468 100644 --- a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch +++ b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c -@@ -4824,6 +4824,21 @@ struct ath10k_vif *ath10k_get_arvif(stru +@@ -5416,6 +5416,21 @@ struct ath10k_vif *ath10k_get_arvif(stru return arvif_iter.arvif; } @@ -21,10 +21,10 @@ + int ath10k_mac_register(struct ath10k *ar) { - struct ieee80211_supported_band *band; -@@ -4965,6 +4980,12 @@ int ath10k_mac_register(struct ath10k *a - goto err_free; - } + static const u32 cipher_suites[] = { +@@ -5590,6 +5605,12 @@ int ath10k_mac_register(struct ath10k *a + ar->hw->wiphy->cipher_suites = cipher_suites; + ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); +#if CPTCFG_MAC80211_LEDS + ieee80211_create_tpt_led_trigger(ar->hw,