Search Linux Wireless

Re: [PATCH] cfg802111/nl80211: Add device motion indication API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcel Holtmann <marcel@xxxxxxxxxxxx> writes:

> Hi Emmanuel,
>
>> Add API to notify user-space when the device is in motion
>> and the motion type.
>> This information can be used to react to the changing environment when
>> the device is on the move, or avoid some unnecessary activities when
>> the device is not moving. For example, longer scan intervals when the
>> device is not moving and there are probably no new AP's, shorter scan
>> intervals while the device is moving slowly and the environment is
>> constantly changing, and not scanning at all when the device is moving
>> fast and it is very unlikely to be able to connect to anything.
>
> if we have WiFi chips that have these kind of information, then
> shouldn't it be better exposed via a generic subsystem for motion
> events. Having this exposed over nl80211 seems a bit too limited.

I agree. Just because the functionality is in a wifi chip we should not
use nl80211 to expose the information.

And doesn't this mean that a user space application making decisions
would have to listen two interfaces now, nl80211 and the real gyro based
interface (whatever that is, if there is even one now)? That doesn't
sound like a good idea.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux