git: DragonFly_RELEASE_2_8 kernel - Add sysctl to bypass wifi ch

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ec7022118fb6e90ace7919391392be1e79194d8b Author: Matthew Dillon <dillon@laptop1.(none)> Date: Sun Nov 14 08:02:48 2010 -0800 kernel - Add sysctl to bypass wifi chipset hardware crypto * Add sysctl net.wlan.force_swcrypto, default disabled. If set to 1 prior to attaching wlan to the underlying wireless interface this will force software crypto to be used and bypass the hardware crypto implemented by the wireless chipset. * Currently we know there is at least one serious issue with the Atheros 9280 when used with WEP2 (shows up as RSN in list scan) + WPS, and possibly other combinations. The wrong transmit key winds up being used for broadcast packets, including ARP. * This sysctl works around the problem. If your wpa_supplicant is able to connect to a network but you are unable to dhclient / use the network you might be hitting this problem and setting the sysctl to 1 may fix it. Note that the sysctl must be set prior to attaching the wlan to the underlying wireless driver, so it is typically best to do it at boot time or near the top of whatever script you use. Inspired-by: 2-days of connectivity issues at NYCBSDCON. Summary of changes: sys/netproto/802_11/ieee80211_dragonfly.h | 1 + sys/netproto/802_11/wlan/ieee80211_crypto.c | 4 ++++ sys/netproto/802_11/wlan/ieee80211_dragonfly.c | 3 +++ 3 files changed, 8 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec7022118fb6e90ace7919391392be1e79194d8b -- DragonFly BSD source repository
文章代碼(AID): #1CvoLnz9 (DFBSD_commit)