Re: RX rate is wrong in 5.10? (bisected to: mac80211: receive and process S1G beacons)

2021-01-04 Thread Thomas Pedersen
'. I'm using 9984 NIC... Anyone else see this? After a bisect, the first bad commit shows this: commit 09a740ce352e1a1d16b9984115514ba9a4f4704b (refs/bisect/bad) Author: Thomas Pedersen Date: Mon Sep 21 19:28:14 2020 -0700 mac80211: receive and process S1G beacons S1G beacons

Re: [PATCH v4 13/17] mac80211: receive and process S1G beacons

2020-12-08 Thread Thomas Pedersen
Hi Wen, On 2020-12-07 23:44, Wen Gong wrote: On 2020-09-22 10:28, Thomas Pedersen wrote: S1G beacons are 802.11 Extension Frames, so the fixed header part differs from regular beacons. Add a handler to process S1G beacons and abstract out the fetching of BSSID and element start locations

[PATCH mac80211-next] ath10k: fix unhandled switch value warning

2020-07-30 Thread Thomas Pedersen
andled in switch [-Wswitch] Fix them by making the existing invalid channel width cases the default, as the introduced channel widths currently don't make sense in 2 or 5GHz either. Fixes: e5cb3d34a66d ("nl80211: S1G band and channel definitions") Signed-off-by: Thomas Pedersen --- driv

Re: Frames acknowledged and silently discarded in firmware

2018-03-14 Thread Thomas Pedersen
On Wed, Mar 14, 2018 at 9:47 AM, Ben Greear <gree...@candelatech.com> wrote: > On 03/13/2018 05:52 PM, Thomas Pedersen wrote: >> >> Javier, >> >> On Tue, Mar 13, 2018 at 4:42 PM, Javier Cardona <jcard...@fb.com> wrote: >>> >>> Hi, >

Re: Frames acknowledged and silently discarded in firmware

2018-03-13 Thread Thomas Pedersen
Javier, On Tue, Mar 13, 2018 at 4:42 PM, Javier Cardona wrote: > Hi, > > We have resolved this issue. I'm sharing the details in case that might help > others. > > The description of the problem was accurate EXCEPT that the acks that we > observed on the sniffer were not

[PATCH 1/4] mac80211: add offset_tsf driver op

2016-09-28 Thread Thomas Pedersen
Allows ie. mesh sync code to make incremental TSF adjustments, avoiding any uncertainty introduced by delay in programming absolute TSF. Signed-off-by: Thomas Pedersen <t...@qca.qualcomm.com> --- include/net/mac80211.h| 8 net/mac80211/debugfs_netdev.c | 12 +--

[PATCH 2/4] ath10k: implement offset_tsf ieee80211_op

2016-09-28 Thread Thomas Pedersen
). The new WMI command is available in firmware 10.4-3.2.1-00033 for QCA4019 chips. Old drivers on new firmware or vice versa shouldn't be a problem since get/set tsf logic was already broken. Signed-off-by: Thomas Pedersen <t...@qca.qualcomm.com> --- drivers/net/wireless/ath/ath10k/mac.

[PATCH 4/4] mac80211: mesh: decrease max drift

2016-09-28 Thread Thomas Pedersen
max drift adjustment to 0.8ms, so manual TSF adjustments can be made in 1ms increments, with some margin. Signed-off-by: Thomas Pedersen <t...@qca.qualcomm.com> --- net/mac80211/mesh_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/mesh_sync.c b/net

[PATCH 0/4] ath10k: fix mesh sync operation

2016-09-28 Thread Thomas Pedersen
to not mislead the stack and hopefully avoid future bugs. Tested on QCA4019 with firmware 10.4-3.2.1-0033. After this change Toffset remains stable to within 5us. Thomas Pedersen (4): mac80211: add offset_tsf driver op ath10k: implement offset_tsf ieee80211_op ath10k: remove set/get_tsf