On Tue, Apr 27, 2021 at 01:11:03PM +0200, Stefan Sperling wrote:
> Christian Ehrhardt reported an issue where changes in the ERP protection
> settings in beacons caused noticeable packet loss on iwm(4).
> 
> I've found that there are a few parameters in beacons which can change at
> run-time but don't get updated in hardware, simply because the drivers do
> not implement the corresponding hooks which are provided by net80211.
> 
> The patch below ensures that the following parameters will be kept
> up-to-date at run-time by iwn, iwm, and iwx:
> 
>  - HT protection settings (this was already implemented)
>  - ERP (11g) protection setting
>  - short slottime setting
>  - short preamble setting
>  - EDCA (QoS) parameters
> 
> I am renaming ic_update_htprot() to ic_updateprot() since it now includes ERP.
> The node parameter of this function is always ic->ic_bss so I've dropped it.
> 
> Tested on iwn 6250, iwm 8265, and iwx ax200. No regressions found.
> A few additional test reports would be nice. For most people this patch
> should simply not change anything. ERP protection changes should only
> occur when 802.11b devices start or stop using the access point's channel.
[snip]

I have seen no regressions using this with an iwn(4) NIC.  And switched
from forcing 11a to using 11n.  

Thanks!

Reply via email to