From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= Subject: Re: [PATCH v2] wl1251: add sysfs interface for bluetooth coexistence mode configuration Date: Wed, 13 Jan 2016 13:16:41 +0100 Message-ID: <20160113121641.GM11560@pali> References: <1451130310-16666-1-git-send-email-pali.rohar@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Gnedt To: Kalle Valo , Pavel Machek , Ivaylo Dimitrov Return-path: Content-Disposition: inline In-Reply-To: <1451130310-16666-1-git-send-email-pali.rohar@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Saturday 26 December 2015 12:45:10 Pali Roh=C3=A1r wrote: > Port the bt_coex_mode sysfs interface from wl1251 driver version incl= uded > in the Maemo Fremantle kernel to allow bt-coexistence mode configurat= ion. > This enables userspace applications to set one of the modes > WL1251_BT_COEX_OFF, WL1251_BT_COEX_ENABLE and WL1251_BT_COEX_MONOAUDI= O. > The default mode is WL1251_BT_COEX_OFF. > It should be noted that this driver always enabled bt-coexistence bef= ore > and enabled bt-coexistence directly affects the receiving performance= , > rendering it unusable in some low-signal situations. Especially monit= or > mode is affected very badly with bt-coexistence enabled. >=20 > Signed-off-by: David Gnedt > Signed-off-by: Pali Roh=C3=A1r > --- > 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... >=20 > Changes: > In v2 is sysfs node attached directly to wl1251 device instead of cre= ating > new platform device for sysfs node. So sysfs node is now available at= : > /sys/class/net/wlan0/device/bt_coex_mode > --- > drivers/net/wireless/ti/wl1251/acx.c | 43 ++++++++++++++-- > drivers/net/wireless/ti/wl1251/acx.h | 8 +-- > drivers/net/wireless/ti/wl1251/init.c | 6 +-- > drivers/net/wireless/ti/wl1251/main.c | 84 +++++++++++++++++++++= ++++++++++ > drivers/net/wireless/ti/wl1251/wl1251.h | 8 +++ > 5 files changed, 137 insertions(+), 12 deletions(-) BUMP! --=20 Pali Roh=C3=A1r pali.rohar@gmail.com