Need advice about how to filter out some SCO packet types
From: Liejun Tao <hidden>
Date: 2010-02-10 02:30:09
From: Liejun Tao <hidden>
Date: 2010-02-10 02:30:09
Hi, When setup Sco/eSco connection, current kernel code try to enable all possible packet types, while some of them have bad performace. I'm trying to filter out a few packet types, and need advice what's a good way. 1. in hci_conn.c, use a hardcoded mask to filter out the bad types.It's easiest but impact widely. 2. provide a configurable option in bluez, like SCO_ESCO_ALLOWED_TYPES, and find a way to pass it to kernel. It also impact one system, but not all. I'm still not sure if it's possble. 3. provide per socket option. Please advice.