aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
AgeCommit message (Expand)AuthorFilesLines
5 daysBluetooth: HCI: Remove HCI_AMP supportLuiz Augusto von Dentz1-2/+1
5 daysBluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()Sungwoo Kim1-24/+51
5 daysBluetooth: hci_conn: Use __counted_by() and avoid -Wfamnae warningGustavo A. R. Silva1-22/+16
5 daysBluetooth: hci_conn: Use struct_size() in hci_le_big_create_sync()Gustavo A. R. Silva1-1/+1
5 daysBluetooth: hci_conn: Use __counted_by() to avoid -Wfamnae warningGustavo A. R. Silva1-15/+11
5 daysBluetooth: hci_conn: Remove a redundant check for HFP offloadZijun Hu1-4/+4
2024-04-24Bluetooth: hci_sync: Use advertised PHYs on hci_le_ext_create_conn_syncLuiz Augusto von Dentz1-2/+4
2024-03-06Bluetooth: hci_sync: Fix overwriting request callbackLuiz Augusto von Dentz1-1/+1
2024-03-06Bluetooth: ISO: Add hcon for listening bis skIulia Tanasescu1-6/+26
2024-03-06Bluetooth: hci_sync: Attempt to dequeue connection attemptLuiz Augusto von Dentz1-58/+12
2024-03-06Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_syncLuiz Augusto von Dentz1-1/+2
2024-03-06Bluetooth: hci_conn: Always use sk_timeo as conn_timeoutLuiz Augusto von Dentz1-3/+5
2024-03-06Bluetooth: Remove pending ACL connection attemptsJonas Dreßler1-16/+0
2024-03-06Bluetooth: hci_conn: Only do ACL connections sequentiallyJonas Dreßler1-60/+9
2024-03-06Bluetooth: Remove BT_HSLuiz Augusto von Dentz1-4/+0
2023-12-22Bluetooth: hci_conn: Check non NULL function before calling for HFP offloadZijun Hu1-3/+8
2023-12-22Bluetooth: Fix bogus check for re-auth no supported with non-sspLuiz Augusto von Dentz1-5/+3
2023-12-22Bluetooth: ISO: Reassociate a socket with an active BISIulia Tanasescu1-2/+30
2023-10-23Bluetooth: Fix double free in hci_conn_cleanupZhengHan Wang1-4/+2
2023-10-23Bluetooth: Make handle of hci_conn be uniqueZiyang Xuan1-25/+32
2023-10-23Bluetooth: ISO: Fix bcast listener cleanupIulia Tanasescu1-8/+30
2023-10-23Bluetooth: ISO: Match QoS adv handle with BIG handleIulia Tanasescu1-0/+12
2023-10-23Bluetooth: ISO: Allow binding a bcast listener to 0 bisesIulia Tanasescu1-1/+1
2023-10-23Bluetooth: ISO: Pass BIG encryption info through QoSIulia Tanasescu1-0/+1
2023-10-23Bluetooth: ISO: Fix BIS cleanupIulia Tanasescu1-0/+7
2023-10-11Bluetooth: Reject connection with the device which has same BD_ADDRLee, Chun-Yi1-0/+9
2023-09-20Bluetooth: Avoid redundant authenticationYing Hsu1-28/+35
2023-08-24Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone earlyPauli Virtanen1-8/+24
2023-08-24Bluetooth: ISO: Use defer setup to separate PA sync and BIG syncIulia Tanasescu1-2/+11
2023-08-24Bluetooth: hci_conn: Fix sending BT_HCI_CMD_LE_CREATE_CONN_CANCELLuiz Augusto von Dentz1-2/+1
2023-08-11Bluetooth: hci_conn: avoid checking uninitialized CIG/CIS idsPauli Virtanen1-0/+2
2023-08-11Bluetooth: hci_sync: Introduce PTR_UINT/UINT_PTR macrosLuiz Augusto von Dentz1-9/+10
2023-08-11Bluetooth: hci_conn: Fix hci_le_set_cig_paramsLuiz Augusto von Dentz1-94/+63
2023-08-11Bluetooth: hci_conn: Fix not allowing valid CIS IDLuiz Augusto von Dentz1-3/+6
2023-08-11Bluetooth: hci_conn: Fix modifying handle while abortingLuiz Augusto von Dentz1-0/+27
2023-08-11Bluetooth: ISO: handle bound CIS cleanup via hci_connPauli Virtanen1-0/+5
2023-08-11Bluetooth: ISO: Notify user space about failed bis connectionsIulia Tanasescu1-23/+14
2023-08-11Bluetooth: hci_conn: Always allocate unique handlesLuiz Augusto von Dentz1-3/+22
2023-08-11Bluetooth: hci_sync: Fix not handling ISO_LINK in hci_abort_conn_syncLuiz Augusto von Dentz1-4/+19
2023-08-11Bluetooth: hci_conn: Consolidate code for aborting connectionsLuiz Augusto von Dentz1-124/+30
2023-08-11Bluetooth: ISO: Support multiple BIGsIulia Tanasescu1-23/+17
2023-08-11Bluetooth: ISO: do not emit new LE Create CIS if previous is pendingPauli Virtanen1-44/+30
2023-08-11Bluetooth: ISO: Add support for connecting multiple BISesIulia Tanasescu1-46/+106
2023-07-20Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no linkSiddh Raman Pant1-2/+2
2023-07-20Bluetooth: use RCU for hci_conn_params and iterate safely in hci_syncPauli Virtanen1-5/+5
2023-06-29Bluetooth: hci_conn: Use kmemdup() to replace kzalloc + memcpyJiapeng Chong1-3/+1
2023-06-29Bluetooth: ISO: Rework sync_interval to be sync_factorLuiz Augusto von Dentz1-2/+2
2023-06-29Bluetooth: ISO: use hci_sync for setting CIG parametersPauli Virtanen1-8/+39
2023-06-05Bluetooth: ISO: don't try to remove CIG if there are bound CIS leftPauli Virtanen1-0/+2
2023-06-05Bluetooth: ISO: Fix CIG auto-allocation to select configurable CIGPauli Virtanen1-7/+6
2023-06-05Bluetooth: ISO: consider right CIS when removing CIG at cleanupPauli Virtanen1-2/+5
2023-05-19Bluetooth: Unlink CISes when LE disconnects in hci_conn_delRuihan Li1-15/+6
2023-05-19Bluetooth: Fix UAF in hci_conn_hash_flush againRuihan Li1-11/+22
2023-05-19Bluetooth: Refcnt drop must be placed last in hci_conn_unlinkRuihan Li1-3/+3
2023-05-19Bluetooth: Fix potential double free caused by hci_conn_unlinkRuihan Li1-9/+12
2023-04-23Bluetooth: hci_conn: Fix not waiting for HCI_EVT_LE_CIS_ESTABLISHEDLuiz Augusto von Dentz1-57/+1
2023-04-23Bluetooth: hci_conn: Fix not matching by CIS IDLuiz Augusto von Dentz1-1/+2
2023-04-23Bluetooth: hci_conn: Add support for linking multiple hconLuiz Augusto von Dentz1-42/+113
2023-04-23Bluetooth: hci_conn: remove extra line in hci_le_big_create_syncIulia Tanasescu1-1/+0
2023-04-23Bluetooth: Split bt_iso_qos into dedicated structuresIulia Tanasescu1-76/+86
2023-04-10Bluetooth: hci_conn: Fix possible UAFLuiz Augusto von Dentz1-6/+24
2023-04-10Bluetooth: Fix printing errors if LE Connection times outLuiz Augusto von Dentz1-2/+5
2023-04-10Bluetooth: hci_conn: Fix not cleaning up on LE Connection failureLuiz Augusto von Dentz1-28/+24
2023-02-09Bluetooth: Make sure LE create conn cancel is sent when timeoutArchie Pusaka1-0/+2
2023-02-09Bluetooth: Free potentially unfreed SCO connectionArchie Pusaka1-1/+8
2023-02-09Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeedsKees Cook1-9/+3
2023-01-17Bluetooth: hci_conn: Fix memory leaksZhengchao Shao1-4/+14
2022-12-12Bluetooth: hci_conn: Fix crash on hci_create_cis_syncLuiz Augusto von Dentz1-1/+1
2022-12-12Bluetooth: Use kzalloc instead of kmalloc/memsetKang Minchul1-4/+2
2022-12-12Bluetooth: Use kzalloc instead of kmalloc/memsetJiapeng Chong1-2/+1
2022-12-12Bluetooth: hci_conn: use HCI dst_type values also for BISPauli Virtanen1-6/+0
2022-11-02Bluetooth: hci_conn: Fix not restoring ISO buffer count on disconnectLuiz Augusto von Dentz1-0/+11
2022-11-02Bluetooth: hci_conn: Fix CIS connection dst_type handlingPauli Virtanen1-6/+1
2022-08-31Bluetooth: Move hci_abort_conn to hci_conn.cBrian Gix1-0/+76
2022-08-25Bluetooth: Convert SCO configure_datapath to hci_syncBrian Gix1-11/+75
2022-08-08Bluetooth: hci_conn: Fix updating ISO QoS PHYLuiz Augusto von Dentz1-9/+2
2022-07-22Bluetooth: Add initial implementation of BIS connectionsLuiz Augusto von Dentz1-53/+508
2022-07-22Bluetooth: Add initial implementation of CIS connectionsLuiz Augusto von Dentz1-0/+440
2022-07-21Bluetooth: Use bt_status to convert from errnoLuiz Augusto von Dentz1-1/+1
2022-07-21Bluetooth: clear the temporary linkkey in hci_conn_cleanupAlain Michaud1-0/+3
2022-05-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2022-05-23Bluetooth: hci_conn: Fix hci_connect_le_syncLuiz Augusto von Dentz1-2/+3
2022-05-13Bluetooth: HCI: Add HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN quirkLuiz Augusto von Dentz1-1/+1
2022-04-26Bluetooth: hci_sync: Cleanup hci_conn if it cannot be abortedLuiz Augusto von Dentz1-8/+24
2022-03-18Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failedNiels Dossche1-0/+2
2022-01-24Bluetooth: hci_event: Ignore multiple conn complete eventsSoenke Huster1-0/+1
2021-12-22Bluetooth: hci_sync: Add hci_le_create_conn_syncLuiz Augusto von Dentz1-291/+14
2021-10-29Bluetooth: hci_sync: Rework hci_suspend_notifierLuiz Augusto von Dentz1-10/+0
2021-10-29Bluetooth: hci_sync: Convert MGMT_OP_START_DISCOVERYLuiz Augusto von Dentz1-2/+2
2021-10-29Bluetooth: hci_sync: Rework background scanLuiz Augusto von Dentz1-3/+3
2021-09-07Bluetooth: Add support for msbc coding formatKiran K1-0/+26
2021-09-07Bluetooth: Configure codec for HFP offload use caseKiran K1-0/+4
2021-09-07Bluetooth: Add support for HCI_Enhanced_Setup_Synchronous_Connection commandKiran K1-3/+102
2021-08-30Bluetooth: Fix using RPA when address has been resolvedLuiz Augusto von Dentz1-14/+19
2021-06-26Bluetooth: use inclusive language in HCI role commentsArchie Pusaka1-4/+4
2021-06-26Bluetooth: use inclusive language to describe CPBArchie Pusaka1-1/+1
2021-06-02Bluetooth: Fix spelling mistakesZheng Yongjun1-1/+1
2021-03-16Bluetooth: avoid deadlock between hci_dev->lock and socket lockJiri Kosina1-4/+0
2021-03-02Bluetooth: Notify suspend on le conn failedAbhishek Pandit-Subedi1-0/+10
2021-02-01Bluetooth: Skip eSCO 2M params when not supportedYu Liu1-2/+18
2020-12-18Bluetooth: Cancel Inquiry before Create ConnectionSonny Sasaka1-0/+17
2020-11-09Bluetooth: Resume advertising after LE connectionDaniel Winkler1-2/+10
2020-09-18net: bluetooth: delete duplicated wordsRandy Dunlap1-1/+1
2020-07-30Bluetooth: Enable/Disable address resolution during le create connSathish Narasimman1-1/+6
2020-07-15Bluetooth: Add per-instance adv disable/removeDaniel Winkler1-1/+1
2020-06-22Bluetooth: Disconnect if E0 is used for Level 4Luiz Augusto von Dentz1-0/+17
2020-06-18Bluetooth: Terminate the link if pairing is cancelledManish Mandlik1-3/+8
2020-06-12Bluetooth: centralize default value initialization.Alain Michaud1-10/+4
2020-05-20Bluetooth: Fix assuming EIR flags can result in SSP authenticationLuiz Augusto von Dentz1-2/+0
2020-04-05Bluetooth: add support to notify using SCO air modeSathish Narsimman1-4/+21
2020-02-28Bluetooth: During le_conn_timeout disable EXT_ADVSathish Narsimman1-3/+19
2020-02-28Bluetooth: Remove adv set for directed advertisingSathish Narsimman1-0/+10
2020-02-18Bluetooth: Disable Extended Adv if enabledSathish Narsimman1-5/+2
2020-02-14Bluetooth: Add BT_PHY socket optionLuiz Augusto von Dentz1-0/+107
2019-11-22Bluetooth: Fix memory leak in hci_connect_le_scanNavid Emamdoost1-1/+3
2019-10-16Bluetooth: Workaround directed advertising bug in Broadcom controllersSzymon Janc1-0/+8
2019-07-06Bluetooth: Use controller sets when availableLuiz Augusto von Dentz1-1/+1
2019-07-06Bluetooth: Add support for LE ping featureSpoorthi Ravishankar Koppad1-0/+3
2019-06-22Bluetooth: Fix regression with minimum encryption key size alignmentMarcel Holtmann1-9/+9
2019-04-25Bluetooth: Align minimum encryption key size for LE and BR/EDR connectionsMarcel Holtmann1-0/+8
2018-07-30Bluetooth: Implement Set ADV set random addressJaganath Kanakkassery1-0/+23
2018-07-30Bluetooth: Use ext adv for directed advJaganath Kanakkassery1-22/+45
2018-07-30Bluetooth: Use selected PHYs in extended connectJaganath Kanakkassery1-16/+45
2018-07-06Bluetooth: Use extended LE Connection if supportedJaganath Kanakkassery1-18/+54
2018-04-03Bluetooth: Fix connection if directed advertising and privacy is usedSzymon Janc1-8/+21
2017-10-30Bluetooth: Use bt_dev_err and bt_dev_info when possibleMarcel Holtmann1-2/+2
2017-10-29Bluetooth: Fix potential memory leakJaganath Kanakkassery1-1/+1
2016-11-22Bluetooth: Fix using the correct source address typeJohan Hedberg1-2/+24
2016-07-09Bluetooth: Rename HCI_BREDR into HCI_PRIMARYMarcel Holtmann1-1/+1
2016-03-10Bluetooth: Add support for limited privacy modeJohan Hedberg1-2/+11
2016-03-10Bluetooth: Move memset closer to where it's neededJohan Hedberg1-2/+2
2015-12-10Bluetooth: Don't treat connection timeout as a failureJohan Hedberg1-2/+10
2015-12-10Bluetooth: Use continuous scanning when creating LE connectionsJohan Hedberg1-1/+5
2015-12-10Bluetooth: Move advertising instance management to hci_request.cJohan Hedberg1-1/+1
2015-11-19Bluetooth: Remove conn_unfinished variable from hci_connect_le()Johan Hedberg1-36/+12
2015-11-19Bluetooth: Move check for ongoing connect earlier in hci_connect_le()Johan Hedberg1-6/+6
2015-11-19Bluetooth: Fix specifying role for LE connectionsJohan Hedberg1-2/+2
2015-11-19Bluetooth: Use req_workqueue for explicit connect requestsJohan Hedberg1-35/+4
2015-11-19Bluetooth: Add clarifying comment why schedule_work is usedJohan Hedberg1-0/+4
2015-10-22Bluetooth: Make hci_disconnect() behave correctly for all statesJohan Hedberg1-8/+3
2015-10-22Bluetooth: Take advantage of connection abort helpersJohan Hedberg1-71/+8
2015-10-21Bluetooth: Remove unnecessary hci_explicit_connect_lookup functionJohan Hedberg1-2/+3
2015-10-21Bluetooth: Add hdev helper variable to hci_le_create_connection_cancelJohan Hedberg1-6/+7
2015-10-21Bluetooth: Use hci_conn_hash_lookup_le() when possibleJohan Hedberg1-6/+3
2015-10-21Bluetooth: Fix missing hdev locking for LE scan cleanupJohan Hedberg1-9/+43
2015-10-16Bluetooth: Fix initializing conn_params in scan phaseJakub Pawlowski1-7/+15
2015-10-16Bluetooth: Fix conn_params list update in hci_connect_le_scan_cleanupJohan Hedberg1-4/+19
2015-10-16Bluetooth: Fix LE reconnection logicJohan Hedberg1-2/+2
2015-10-16Bluetooth: Fix reference counting for LE-scan based connectionsJohan Hedberg1-17/+36
2015-10-16Bluetooth: Fix double scan updatesJakub Pawlowski1-3/+4
2015-08-10Bluetooth: timeout handling in new connect procedureJakub Pawlowski1-2/+6
2015-08-10Bluetooth: advertisement handling in new connect procedureJakub Pawlowski1-15/+37
2015-08-10Bluetooth: add hci_connect_le_scanJakub Pawlowski1-0/+174
2015-08-10Bluetooth: add hci_lookup_le_connectJakub Pawlowski1-3/+2
2015-06-09Bluetooth: Fix encryption key size handling for LTKsJohan Hedberg1-2/+2
2015-03-13Bluetooth: Introduce hci_dev_clear_flag helper macroMarcel Holtmann1-1/+1
2015-03-13Bluetooth: Introduce hci_dev_set_flag helper macroMarcel Holtmann1-1/+1
2015-03-13Bluetooth: Introduce hci_dev_test_flag helper macroMarcel Holtmann1-7/+7
2015-02-19Bluetooth: Convert disconn_cfm to be triggered through hci_cbJohan Hedberg1-1/+1
2015-02-19Bluetooth: Convert connect_cfm to be triggered through hci_cbJohan Hedberg1-2/+2
2015-02-14Bluetooth: Improve error handling in connect aclLukasz Rymanowski1-1/+5
2015-02-14Bluetooth: Do not allow LE connection if LE is not enabledLukasz Rymanowski1-0/+8
2015-01-16Bluetooth: Remove unused functionRickard Strandqvist1-15/+0
2015-01-12Bluetooth: Add opcode parameter to hci_req_complete_t callbackMarcel Holtmann1-1/+1
2014-12-20Bluetooth: Create debugfs directory for each connection handleMarcel Holtmann1-0/+3
2014-12-19Bluetooth: Split hci_request helpers to hci_request.[ch]Johan Hedberg1-0/+1
2014-12-08Bluetooth: Fix generation of non-resolvable private addressesMarcel Holtmann1-1/+1
2014-12-05Bluetooth: Fix initializing hci_conn RSSI to invalid valueJohan Hedberg1-0/+1
2014-10-28Bluetooth: Fix check for direct advertisingJohan Hedberg1-1/+1
2014-10-28Bluetooth: Fix LE connection timeout deadlockJohan Hedberg1-1/+1
2014-10-25Bluetooth: fix shadow warning in hci_disconnect()Fabian Frederick1-3/+4
2014-10-25Bluetooth: Defer connection-parameter removal when unpairingAlfonso Acosta1-0/+3
2014-09-25Bluetooth: Rename sco_param_wideband table to esco_param_msbcJohan Hedberg1-3/+3
2014-09-24Bluetooth: Add retransmission effort into SCO parameter tableJohan Hedberg1-12/+11
2014-09-24Bluetooth: Fix reason code used for rejecting SCO connectionsJohan Hedberg1-1/+1
2014-09-23Bluetooth: Check for SCO type before setting retransmission effortBernhard Thaler1-5/+17
2014-09-08Bluetooth: Move clock offset reading into hci_disconnect()Johan Hedberg1-19/+13
2014-09-08Bluetooth: Update hci_disconnect() to return an error valueJohan Hedberg1-2/+2
2014-09-08Bluetooth: Remove hci_conn_hold/drop from hci_chanJohan Hedberg1-4/+1
2014-09-08Bluetooth: Ignore incoming data after initiating disconnectionJohan Hedberg1-0/+6
2014-09-08Bluetooth: Set disc_timeout to 0 when calling hci_chan_delJohan Hedberg1-0/+3
2014-09-08Bluetooth: Fix hci_conn reference counting with hci_chanJohan Hedberg1-1/+3
2014-09-08Bluetooth: Fix using hci_conn_get() for hci_conn pointersJohan Hedberg1-0/+1
2014-08-20Bluetooth: Fix hci_conn reference counting for auto-connectionsJohan Hedberg1-0/+8
2014-07-21Bluetooth: Prefer sizeof(*ptr) when allocating memoryJohan Hedberg1-2/+2
2014-07-18Bluetooth: Use EOPNOTSUPP instead of ENOTSUPPJohan Hedberg1-1/+1
2014-07-17Bluetooth: Introduce a flag to track who really initiates authenticationJohan Hedberg1-0/+3
2014-07-17Bluetooth: Pass initiator/acceptor information to hci_conn_security()Johan Hedberg1-1/+2
2014-07-16Bluetooth: Add a role parameter to hci_conn_add()Johan Hedberg1-8/+9
2014-07-16Bluetooth: Use explicit role instead of a bool in function parametersJohan Hedberg1-3/+4
2014-07-16Bluetooth: Convert HCI_CONN_MASTER flag to a conn->role variableJohan Hedberg1-7/+6
2014-07-08Bluetooth: Fix advertising and active scanning co-existenceJohan Hedberg1-0/+10
2014-07-08Bluetooth: Stop advertising always before initiating a connectionJohan Hedberg1-3/+12
2014-07-08Bluetooth: Use real advertising state to random address update decisionJohan Hedberg1-2/+2
2014-07-07Bluetooth: Pass desired connection role to hci_connect_le()Johan Hedberg1-2/+4
2014-07-07Bluetooth: Remove auth_type parameter from hci_connect_le()Johan Hedberg1-4/+1
2014-07-06Bluetooth: Use lower timeout for LE auto-connectionsJohan Hedberg1-1/+3
2014-07-03Bluetooth: Make hci_le_conn_update return the store hintJohan Hedberg1-2/+7
2014-07-03Bluetooth: Provide defaults for LE connection latency and timeoutMarcel Holtmann1-2/+2
2014-07-03Bluetooth: Use LE connection parameters if knownMarcel Holtmann1-1/+6