2011-09-01 08:09:09

by Sumangala, Suraj

[permalink] [raw]
Subject: using management interface from WiFi driver

Hi Johan,

I am working on a Bluetooth -WiFi coex mechanism in our WiFi kernel driver =
which would like get information regarding certain ongoing Bluetooth operat=
ions to manage BT-WiFI shared resources.
Some of the operations we are interested are inquiry status, SCO, A2DP stre=
aming status.

Is there any API exported by the management interface that I can call in my=
WiFi device driver so as to get information like "Is SCO connected?" or "I=
s inquiry going on?" etc?

Regards
Suraj


2011-09-01 12:08:10

by Sumangala, Suraj

[permalink] [raw]
Subject: RE: using management interface from WiFi driver

SGkgTWFyY2VsLA0KDQo+IENhbiB5b3Ugc3VnZ2VzdCBhbnkgd2F5IEkgY2FuIGdldCB0aGlzIGlu
Zm9ybWF0aW9uIGRpcmVjdGx5IGZyb20gQmx1ZXRvb3RoIEhDSQ0KPiBjb3JlPw0KPiANClNvcnJ5
LCBJIHNlbnQgdGhpcyBiZWZvcmUgc2VlaW5nIHlvdXIgYW5zd2VyIGluIGxpbnV4LXdpcmVsZXNz
Lg0KDQotU3VyYWoNCg==

2011-09-01 12:05:58

by Sumangala, Suraj

[permalink] [raw]
Subject: RE: using management interface from WiFi driver

SGkgTWFyY2VsLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1hcmNl
bCBIb2x0bWFubiBbbWFpbHRvOm1hcmNlbEBob2x0bWFubi5vcmddDQo+IFNlbnQ6IFRodXJzZGF5
LCBTZXB0ZW1iZXIgMDEsIDIwMTEgNTowNyBQTQ0KPiBUbzogU3VtYW5nYWxhLCBTdXJhag0KPiBD
YzogSm9oYW4gSGVkYmVyZyAoam9oYW4uaGVkYmVyZ0BnbWFpbC5jb20pOyBsaW51eC0NCj4gYmx1
ZXRvb3RoQHZnZXIua2VybmVsLm9yZw0KPiBTdWJqZWN0OiBSZTogdXNpbmcgbWFuYWdlbWVudCBp
bnRlcmZhY2UgZnJvbSBXaUZpIGRyaXZlcg0KPiANCj4gSGkgU3VyYW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4gDQoNCkkgd2FzIHJlZmVycmluZyB0byBhbnkgQVBJIGluIHRoZSBjb3Jl
IG1hbmFnZW1lbnQgbW9kdWxlIGluc2lkZSB0aGUgQmx1ZXRvb3RoIGNvcmUgb25seS4gTm90IHZp
YSB1c2VyIHNwYWNlIHNvY2tldCBpbnRlcmZhY2UuDQpNYXkgYmUgSSBkaWQgbm90IG1ha2UgbXkg
cXVlc3Rpb24gY2xlYXIgZW5vdWdoLiBJIGFtIHlldCB0byB0YWtlIGEgbG9vayBhdCB0aGUgbWFu
YWdlbWVudCBpbnRlcmZhY2UgaW1wbGVtZW50YXRpb24sIHNvIG5vdCB0aGF0IGZhbWlsaWFyIHdp
dGggdGhhdCBhbHNvLg0KDQpDYW4geW91IHN1Z2dlc3QgYW55IHdheSBJIGNhbiBnZXQgdGhpcyBp
bmZvcm1hdGlvbiBkaXJlY3RseSBmcm9tIEJsdWV0b290aCBIQ0kgY29yZT8NCg0KUmVnYXJkcw0K
U3VyYWoNCg0KDQo=

2011-09-01 11:36:52

by Marcel Holtmann

[permalink] [raw]
Subject: Re: using management interface from WiFi driver

Hi Suraj,

> I am working on a Bluetooth -WiFi coex mechanism in our WiFi kernel driver which would like get information regarding certain ongoing Bluetooth operations to manage BT-WiFI shared resources.
> Some of the operations we are interested are inquiry status, SCO, A2DP streaming status.
>
> Is there any API exported by the management interface that I can call in my WiFi device driver so as to get information like "Is SCO connected?" or "Is inquiry going on?" etc?

let me stop you right here. I thought that I made this perfectly clear
on linux-wireless. Any coex handling between WiFi and Bluetooth will be
done from mac80211 to Bluetooth subsystem in the kernel. And not via
userspace tools.

Regards

Marcel