Hi,

> >
> > Is it perhaps an idea to have some form of configurable timeout that 
> > removes the failure (and invalid-key error) from the service,
> after which it re-evaluates the services list for auto connecting?
> > This would relax the strain on picky networks, yet still allows 
> > reconnections without any interactions from other applications and
> without depending on the scan and flush behavior of wpa_supplicant?
> 
> Could be yes. It could even be implemented as a plugin I think.
> Also, having a retry limit would be nice, so you won't end up trying and
> trying a network for which you really don't have the right psk anymore.

I have a basic implementation of the functionality given above in the form of a 
plugin that registers itself as a notifier.
The removal of the failure after a certain amount of time is implemented. The 
retry limit not yet.
The plugin has two parameters that I would like to be configurable: The timout 
time and the number of retries.

Now I was wondering what the right place would for the configuration of these 
parameters.
- Hard coding it as defines: This gives the end user perhaps limited 
possibility to change them to its needs.
- Placing it in the main.conf under the general section: This feels a little 
odd because the parameters are very specific for the plugin
- Placing it in a different section in main.conf: It does make sense to me to 
give plugins their own sections, but is there already code to support this?
- Using a new config file specifically for the plugin: This spreads the 
configuration across multiple files
- ...
So what would be the preferred way?

Regards,

Thiemo

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to