diff options
author | Pawel Kulakowski <pawel.kulakowski@tieto.com> | 2014-04-01 01:13:21 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-09 04:56:00 -0400 |
commit | a2e7495d639baeb4692ae80539963cf35dbcb467 (patch) | |
tree | b46a331b6aa5f1c88b0c28030e38f5bf648bb2eb /net/mac80211/ht.c | |
parent | 65d26f29ec018c863ae181c96c1dd91ed8c4b652 (diff) |
mac80211: Allow disabling LDPC
This allows user-space (wpa_supplicant) to disable LDPC coding.
Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ht.c')
-rw-r--r-- | net/mac80211/ht.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index c150b68436d7..1495b9e39484 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -86,6 +86,10 @@ void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, | |||
86 | __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap, | 86 | __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap, |
87 | IEEE80211_HT_CAP_MAX_AMSDU); | 87 | IEEE80211_HT_CAP_MAX_AMSDU); |
88 | 88 | ||
89 | /* Allow user to disable LDPC */ | ||
90 | __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap, | ||
91 | IEEE80211_HT_CAP_LDPC_CODING); | ||
92 | |||
89 | /* Allow user to decrease AMPDU factor */ | 93 | /* Allow user to decrease AMPDU factor */ |
90 | if (ht_capa_mask->ampdu_params_info & | 94 | if (ht_capa_mask->ampdu_params_info & |
91 | IEEE80211_HT_AMPDU_PARM_FACTOR) { | 95 | IEEE80211_HT_AMPDU_PARM_FACTOR) { |