Re: [PATCH 2/3] rtlwifi: Add beacon check mechanism to check if AP settings changed.

2017-12-19 Thread Johannes Berg
On Thu, 2017-12-14 at 10:06 -0600, Larry Finger wrote: > Does mac80211 have this facility? If so, how would we tap into it? If this > capability does not exist in mac80211, how would one add it? I have never > devoted much effort to looking at the internals of mac80211. It really should, and th

Re: [PATCH 2/3] rtlwifi: Add beacon check mechanism to check if AP settings changed.

2017-12-14 Thread Larry Finger
On 12/14/2017 06:35 AM, Kalle Valo wrote: Larry Finger writes: From: Tsang-Shian Lin +bool rtl_check_beacon_key(struct ieee80211_hw *hw, void *data, unsigned int len) +{ + struct rtl_priv *rtlpriv = rtl_priv(hw); + struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); + struct rtl_

Re: [PATCH 2/3] rtlwifi: Add beacon check mechanism to check if AP settings changed.

2017-12-14 Thread Kalle Valo
Larry Finger writes: > From: Tsang-Shian Lin > > AP WiFi settings are changed(channel, bandwidth), but deauth may not > received by STA. For these cases, we need to detect and handle beacon > changes. > > Signed-off-by: Tsang-Shian Lin > Signed-off-by: Ping-Ke Shih > Signed-off-by: Larry Finge

[PATCH 2/3] rtlwifi: Add beacon check mechanism to check if AP settings changed.

2017-12-09 Thread Larry Finger
From: Tsang-Shian Lin AP WiFi settings are changed(channel, bandwidth), but deauth may not received by STA. For these cases, we need to detect and handle beacon changes. Signed-off-by: Tsang-Shian Lin Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger Cc: Yan-Hsuan Chuang Cc: Birming Ch