Re: [RFC-PATCH] ath9k_htc: Adjust beacon timers for Power Save

2017-02-15 Thread Gucea Doru
On Wed, Feb 15, 2017 at 11:02 AM, Kalle Valo wrote: > Doru writes: > >> From: Doru Gucea >> >> Each time we receive a beacon we need to adjust the hardware >> timers for next DTIM and next TBTT. >> >> Before this commit, the

[RFC-PATCH] ath9k_htc: Adjust beacon timers for Power Save

2017-02-14 Thread Doru
From: Doru Gucea Each time we receive a beacon we need to adjust the hardware timers for next DTIM and next TBTT. Before this commit, the Power Save behaviour was incorrect. The scenario was: - STA receives a beacon from AP with TIM unset; - mac80211 layers puts the chip