Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314202

Re: [PATCH v2] wl1251: add sysfs interface for bluetooth coexistence mode configuration

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] wl1251: add sysfs interface for bluetooth coexistence mode configuration
Date 2016-01-21 14:50 +0100
Message-ID <qTnMC-5Vj-3@gated-at.bofh.it> (permalink)
References <qJVwe-nL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Pali Rohár <pali.rohar@gmail.com> writes:

> Port the bt_coex_mode sysfs interface from wl1251 driver version included
> in the Maemo Fremantle kernel to allow bt-coexistence mode configuration.
> This enables userspace applications to set one of the modes
> WL1251_BT_COEX_OFF, WL1251_BT_COEX_ENABLE and WL1251_BT_COEX_MONOAUDIO.
> The default mode is WL1251_BT_COEX_OFF.
> It should be noted that this driver always enabled bt-coexistence before
> and enabled bt-coexistence directly affects the receiving performance,
> rendering it unusable in some low-signal situations. Especially monitor
> mode is affected very badly with bt-coexistence enabled.
>
> Signed-off-by: David Gnedt <david.gnedt@davizone.at>
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> ---
> I'm resending this patch for review again as after two years there is no
> nl80211 interface for bt coex and wl1251 on Nokia N900 needs it. Once
> there will be common interface for bt coex I can rewrite my patches, but
> I do not want to wait another 2 years...

It doesn't work like that. Wireless drivers cannot have custom
interfaces via sysfs, all configuration has to go through cfg80211.
Instead of waiting two years you could have added it yourself.

-- 
Kalle Valo

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2] wl1251: add sysfs interface for bluetooth coexistence mode configuration Kalle Valo <kvalo@codeaurora.org> - 2016-01-21 14:50 +0100

csiph-web