mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-05 22:07:06 +08:00
Revert "mac80211: backport 256-QAM"
This reverts commit a1f89a60547c08523a77f5d471739770943a92ec.
This commit is contained in:
parent
a1f89a6054
commit
da4f263bc0
@ -103,7 +103,7 @@ mac80211_hostapd_setup_base() {
|
|||||||
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
|
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
|
||||||
append base_cfg "acs_exclude_dfs=1" "$N"
|
append base_cfg "acs_exclude_dfs=1" "$N"
|
||||||
|
|
||||||
json_get_vars noscan ht_coex vendor_vht
|
json_get_vars noscan ht_coex
|
||||||
json_get_values ht_capab_list ht_capab tx_burst
|
json_get_values ht_capab_list ht_capab tx_burst
|
||||||
|
|
||||||
set_default noscan 0
|
set_default noscan 0
|
||||||
@ -219,7 +219,7 @@ mac80211_hostapd_setup_base() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$enable_ac" != "0" -o "$vendor_vht" = "1" ]; then
|
if [ "$enable_ac" != "0" ]; then
|
||||||
json_get_vars \
|
json_get_vars \
|
||||||
rxldpc:1 \
|
rxldpc:1 \
|
||||||
short_gi_80:1 \
|
short_gi_80:1 \
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
--- a/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(
|
|
||||||
if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
|
|
||||||
band = &ar->mac.sbands[NL80211_BAND_2GHZ];
|
|
||||||
band->ht_cap = ht_cap;
|
|
||||||
+ band->vht_cap = vht_cap;
|
|
||||||
}
|
|
||||||
if (ar->phy_capability & WHAL_WLAN_11A_CAPABILITY) {
|
|
||||||
band = &ar->mac.sbands[NL80211_BAND_5GHZ];
|
|
@ -1,36 +0,0 @@
|
|||||||
--- a/net/mac80211/vht.c
|
|
||||||
+++ b/net/mac80211/vht.c
|
|
||||||
@@ -135,7 +135,8 @@ ieee80211_vht_cap_ie_to_sta_vht_cap(stru
|
|
||||||
have_80mhz = false;
|
|
||||||
for (i = 0; i < sband->n_channels; i++) {
|
|
||||||
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
|
||||||
- IEEE80211_CHAN_NO_80MHZ))
|
|
||||||
+ IEEE80211_CHAN_NO_80MHZ) &&
|
|
||||||
+ (sband->band != NL80211_BAND_2GHZ))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
have_80mhz = true;
|
|
||||||
--- a/net/mac80211/util.c
|
|
||||||
+++ b/net/mac80211/util.c
|
|
||||||
@@ -1769,7 +1769,8 @@ static int ieee80211_build_preq_ies_band
|
|
||||||
/* Check if any channel in this sband supports at least 80 MHz */
|
|
||||||
for (i = 0; i < sband->n_channels; i++) {
|
|
||||||
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
|
||||||
- IEEE80211_CHAN_NO_80MHZ))
|
|
||||||
+ IEEE80211_CHAN_NO_80MHZ) &&
|
|
||||||
+ (sband->band != NL80211_BAND_2GHZ))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
have_80mhz = true;
|
|
||||||
--- a/net/mac80211/mlme.c
|
|
||||||
+++ b/net/mac80211/mlme.c
|
|
||||||
@@ -4824,7 +4824,8 @@ static int ieee80211_prep_channel(struct
|
|
||||||
have_80mhz = false;
|
|
||||||
for (i = 0; i < sband->n_channels; i++) {
|
|
||||||
if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
|
|
||||||
- IEEE80211_CHAN_NO_80MHZ))
|
|
||||||
+ IEEE80211_CHAN_NO_80MHZ) &&
|
|
||||||
+ (sband->band != NL80211_BAND_2GHZ))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
have_80mhz = true;
|
|
Loading…
x
Reference in New Issue
Block a user