Hi
There is huge interest both from hardwire and software vendors in
using Indoor Navigation at mobile devices. We are interested in making
the ChromeOS ecosystem using this feature as well.
I checked how Android implements indoor navigation where it is used
for a while. It defines its custom API called Round-trip time [1].
Broadcom chips firmware implements 11MC draft for this.
I looked at current Linux tree and do not see any standard API for
this feature. iwlwifi/mvm/debugfs-vif.c file mentions "Time of Flight"
that seems 11MC related. Though this driver uses debugfs to
communicate with the driver. It does not sound like a best way to do
it. I would expect a callback in cfg80211 interface. Does anybody work
on more conventional API for this 11MC feature?
I expect that many wireless chips are going to implement 11MC in the
nearest future. Having such clean API from the start will simplify the
feature development.
[1] https://android.googlesource.com/platform/hardware/libhardware_legacy/+/master/include/hardware_legacy/rtt.h
SGkgQW5hdG9sLA0KDQo+IA0KPiBIaQ0KPiANCj4gVGhlcmUgaXMgaHVnZSBpbnRlcmVzdCBib3Ro
IGZyb20gaGFyZHdpcmUgYW5kIHNvZnR3YXJlIHZlbmRvcnMgaW4gdXNpbmcNCj4gSW5kb29yIE5h
dmlnYXRpb24gYXQgbW9iaWxlIGRldmljZXMuIFdlIGFyZSBpbnRlcmVzdGVkIGluIG1ha2luZyB0
aGUNCj4gQ2hyb21lT1MgZWNvc3lzdGVtIHVzaW5nIHRoaXMgZmVhdHVyZSBhcyB3ZWxsLg0KPiAN
Cj4gSSBjaGVja2VkIGhvdyBBbmRyb2lkIGltcGxlbWVudHMgaW5kb29yIG5hdmlnYXRpb24gd2hl
cmUgaXQgaXMgdXNlZCBmb3IgYQ0KPiB3aGlsZS4gSXQgZGVmaW5lcyBpdHMgY3VzdG9tIEFQSSBj
YWxsZWQgUm91bmQtdHJpcCB0aW1lIFsxXS4NCj4gQnJvYWRjb20gY2hpcHMgZmlybXdhcmUgaW1w
bGVtZW50cyAxMU1DIGRyYWZ0IGZvciB0aGlzLg0KPiANCj4gSSBsb29rZWQgYXQgY3VycmVudCBM
aW51eCB0cmVlIGFuZCBkbyBub3Qgc2VlIGFueSBzdGFuZGFyZCBBUEkgZm9y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