Re: [PATCH v4 1/2] netdev: fall back to RSSI polling if SET_CQM fails

Denis Kenzior
2024-09-05T03:26:50Z

Hi James,

On 9/3/24 1:06 PM, James Prestwood wrote:
> Some drivers fail to set a CQM threshold and report not supported.
> Its unclear exactly why but if this happens roaming is effectively
> broken.
>
> To work around this enable RSSI polling if -ENOTSUP is returned.
> The polling callback has been changed to emit the HIGH/LOW signal
> threshold events instead of just the RSSI level index, just as if
> a CQM event came from the kernel.
> ---
> src/netdev.c | 158 +++++++++++++++++++++++++++++++++++----------------
> 1 file changed, 108 insertions(+), 50 deletions(-)
>
> v4:
> * Track the command IDs for SET_CQM
>

Both applied, thanks.

Regards,
-Denis