Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'mac80211-for-davem-2018-03-02' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211

Johannes Berg says:

====================
Three more patches:
* fix for a regression in 4-addr mode with fast-RX
* fix for a Kconfig problem with the new regdb
* fix for the long-standing TCP performance issue in
wifi using the new sk_pacing_shift_update()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

+14 -9
+1 -1
net/mac80211/rx.c
··· 3921 3921 if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FROMDS | 3922 3922 IEEE80211_FCTL_TODS)) != 3923 3923 fast_rx->expected_ds_bits) 3924 - goto drop; 3924 + return false; 3925 3925 3926 3926 /* assign the key to drop unencrypted frames (later) 3927 3927 * and strip the IV/MIC if necessary
+8
net/mac80211/tx.c
··· 3574 3574 if (!IS_ERR_OR_NULL(sta)) { 3575 3575 struct ieee80211_fast_tx *fast_tx; 3576 3576 3577 + /* We need a bit of data queued to build aggregates properly, so 3578 + * instruct the TCP stack to allow more than a single ms of data 3579 + * to be queued in the stack. The value is a bit-shift of 1 3580 + * second, so 8 is ~4ms of queued data. Only affects local TCP 3581 + * sockets. 3582 + */ 3583 + sk_pacing_shift_update(skb->sk, 8); 3584 + 3577 3585 fast_tx = rcu_dereference(sta->fast_tx); 3578 3586 3579 3587 if (fast_tx &&
+5 -8
net/wireless/Kconfig
··· 34 34 35 35 When built as a module it will be called cfg80211. 36 36 37 + if CFG80211 38 + 37 39 config NL80211_TESTMODE 38 40 bool "nl80211 testmode command" 39 - depends on CFG80211 40 41 help 41 42 The nl80211 testmode command helps implementing things like 42 43 factory calibration or validation tools for wireless chips. ··· 52 51 53 52 config CFG80211_DEVELOPER_WARNINGS 54 53 bool "enable developer warnings" 55 - depends on CFG80211 56 54 default n 57 55 help 58 56 This option enables some additional warnings that help ··· 68 68 69 69 config CFG80211_CERTIFICATION_ONUS 70 70 bool "cfg80211 certification onus" 71 - depends on CFG80211 && EXPERT 71 + depends on EXPERT 72 72 default n 73 73 ---help--- 74 74 You should disable this option unless you are both capable ··· 159 159 160 160 config CFG80211_DEFAULT_PS 161 161 bool "enable powersave by default" 162 - depends on CFG80211 163 162 default y 164 163 help 165 164 This option enables powersave mode by default. ··· 169 170 170 171 config CFG80211_DEBUGFS 171 172 bool "cfg80211 DebugFS entries" 172 - depends on CFG80211 173 173 depends on DEBUG_FS 174 174 ---help--- 175 175 You can enable this if you want debugfs entries for cfg80211. ··· 178 180 config CFG80211_CRDA_SUPPORT 179 181 bool "support CRDA" if EXPERT 180 182 default y 181 - depends on CFG80211 182 183 help 183 184 You should enable this option unless you know for sure you have no 184 185 need for it, for example when using internal regdb (above) or the ··· 187 190 188 191 config CFG80211_WEXT 189 192 bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT 190 - depends on CFG80211 191 193 select WEXT_CORE 192 194 default y if CFG80211_WEXT_EXPORT 193 195 help ··· 195 199 196 200 config CFG80211_WEXT_EXPORT 197 201 bool 198 - depends on CFG80211 199 202 help 200 203 Drivers should select this option if they require cfg80211's 201 204 wext compatibility symbols to be exported. 205 + 206 + endif # CFG80211 202 207 203 208 config LIB80211 204 209 tristate