On Wed, 2023-08-30 at 10:43 +0530, Aditya Kumar Singh wrote: > > > > Why do you even need to set *from userspace* the power mode for a > > client? That ... doesn't make that much sense? Oh so you addressed that here, sorry. > Because there are two possibilities? Default client and also connect to > Low Power Indoor AP as well as sub-ordinate client. So to let the kernel > know which mode originally the client is in, the command was introduced. > > I do understand the concern here about possible misuse for the command > from the user space, I would re-visit this area and try to cover the > loop holes if any. But don't you think it should be the case? Basically > same like how we tell via user space the SSID, keys/suite info. freq > list and all for a client, in a similar way tell the power mode. I just don't understand how userspace would possibly know what to do. You can't really expect the _user_ to select this. So how does wpa_supplicant know what to do? How does it know better than the driver? Where does it get the information from? johannes