Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Realtek USB bluetooth: no scan results when wifi is connected From: Marcel Holtmann In-Reply-To: <54F70642BAB21D4498E1AA3EFE3D519A4610F810@rsex2.realsil.com.cn> Date: Thu, 28 May 2015 16:23:17 +0200 Cc: Daniel Drake , Larry Finger , Carlo Caione , Linux Bluetooth mailing list , "shaofu@realtek.com > shaofu" , =?utf-8?B?5byg5b+X56Wl?= , =?utf-8?B?6ZmG5pyx5Lyf?= , Chih-Hsiang Wang , =?utf-8?B?5q+b5Li66ZSL?= , "pkshih@realtek.com" Message-Id: References: <554E804F.9090407@lwfinger.net> <54F70642BAB21D4498E1AA3EFE3D519A461012DA@rsex2.realsil.com.cn> <54F70642BAB21D4498E1AA3EFE3D519A46101882@rsex2.realsil.com.cn> <54F70642BAB21D4498E1AA3EFE3D519A4610F810@rsex2.realsil.com.cn> To: =?utf-8?B?6ZmI6Imz6JCN?= Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Champion, > We want to share some information between wifi driver and bt driver, what rules do you recommend for the following situation ? > 1. at system startup, bluetooth driver want to read some information (eg antenna settings) that generated by wifi , shall we use files or /proc/ information? > 2. when user is using Bluetooth, bt driver may notify wifi driver to perform better, shall we use socket to communication? this is the Bluetooth subsystem communicating with the WiFi subsystem (cfg80211) and vice versa, then this is happening inside the kernel. I do not see any need to even try to go via userspace at all. So neither /proc and no sockets for this. Regards Marcel