aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
AgeCommit message (Expand)AuthorFilesLines
5 daysBluetooth: hci_core: Fix not handling hdev->le_num_of_adv_sets=1Luiz Augusto von Dentz1-0/+9
5 daysBluetooth: HCI: Remove HCI_AMP supportLuiz Augusto von Dentz1-122/+10
5 daysLE Create Connection command timeout increased to 20 secsMahesh Talewad1-1/+1
5 daysBluetooth: hci_event: Set DISCOVERY_FINDING on SCAN_ENABLEDLuiz Augusto von Dentz1-2/+9
5 daysBluetooth: Add proper definitions for scan interval and windowLuiz Augusto von Dentz1-8/+8
2024-05-03Bluetooth: msft: fix slab-use-after-free in msft_do_close()Sungwoo Kim1-2/+1
2024-03-29Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_syncLuiz Augusto von Dentz1-3/+3
2024-03-06Bluetooth: fix use-after-free in accessing skb after sending itPauli Virtanen1-1/+1
2024-03-06Bluetooth: hci_core: Fix possible buffer overflowLuiz Augusto von Dentz1-1/+1
2024-03-06Bluetooth: hci_sync: Fix overwriting request callbackLuiz Augusto von Dentz1-14/+32
2024-03-06Bluetooth: Remove usage of the deprecated ida_simple_xx() APIChristophe JAILLET1-4/+5
2024-03-06Bluetooth: hci_core: Cancel request on command timeoutLuiz Augusto von Dentz1-27/+57
2024-03-06Bluetooth: Disconnect connected devices before rfkilling adapterJonas Dreßler1-2/+33
2024-02-28Bluetooth: Avoid potential use-after-free in hci_error_resetYing Hsu1-3/+4
2023-10-23Bluetooth: Make handle of hci_conn be uniqueZiyang Xuan1-0/+3
2023-09-20Bluetooth: hci_codec: Fix leaking content of local_codecsLuiz Augusto von Dentz1-0/+1
2023-09-20Bluetooth: hci_core: Fix build warningsLuiz Augusto von Dentz1-3/+5
2023-09-20Bluetooth: Fix hci_link_tx_to RCU lock usageYing Hsu1-0/+5
2023-08-11Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()Manish Mandlik1-1/+1
2023-08-11Bluetooth: Fix potential use-after-free when clear keysMin Li1-8/+8
2023-08-11Bluetooth: af_bluetooth: Make BT_PKT_STATUS genericLuiz Augusto von Dentz1-1/+1
2023-08-11Bluetooth: Fix hci_suspend_sync crashYing Hsu1-0/+4
2023-08-11Bluetooth: hci_sync: Don't double print name in add/remove adv_monitorDouglas Anderson1-5/+5
2023-07-20Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()Douglas Anderson1-1/+3
2023-07-20Bluetooth: use RCU for hci_conn_params and iterate safely in hci_syncPauli Virtanen1-7/+31
2023-06-05Bluetooth: hci_sync: add lock to protect HCI_UNREGISTERZhengping Jiang1-0/+2
2023-06-05Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irkLuiz Augusto von Dentz1-4/+4
2023-04-23Bluetooth: Cancel sync command before suspend and power offArchie Pusaka1-0/+3
2023-04-23Bluetooth: Add support for hci devcoredumpAbhishek Pandit-Subedi1-0/+1
2023-03-22Bluetooth: hci_core: Detect if an ACL packet is in fact an ISO packetLuiz Augusto von Dentz1-4/+19
2022-12-12Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()Yang Yingliang1-1/+1
2022-12-12Bluetooth: hci_core: fix error handling in hci_register_dev()Yang Yingliang1-1/+1
2022-12-02Bluetooth: Fix crash when replugging CSR fake controllersLuiz Augusto von Dentz1-2/+6
2022-09-28Bluetooth: Prevent double register of suspendAbhishek Pandit-Subedi1-0/+4
2022-09-27Bluetooth: hci_core: Fix not handling link timeouts propertlyLuiz Augusto von Dentz1-11/+23
2022-09-19Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer worksTetsuo Handa1-2/+13
2022-09-06Bluetooth: Implement support for MeshBrian Gix1-3/+10
2022-08-25Bluetooth: convert hci_update_adv_data to hci_syncBrian Gix1-1/+1
2022-07-22Bluetooth: Add initial implementation of BIS connectionsLuiz Augusto von Dentz1-30/+50
2022-07-22Bluetooth: Add BTPROTO_ISO socket typeLuiz Augusto von Dentz1-1/+5
2022-07-22Bluetooth: Add initial implementation of CIS connectionsLuiz Augusto von Dentz1-47/+183
2022-07-22Bluetooth: hci_core: Introduce hci_recv_event_dataLuiz Augusto von Dentz1-0/+32
2022-07-21Bluetooth: hci_sync: Refactor remove Adv MonitorManish Mandlik1-53/+28
2022-07-21Bluetooth: hci_sync: Refactor add Adv MonitorManish Mandlik1-26/+20
2022-07-21Bluetooth: Collect kcov coverage from hci_rx_workTamas Koczka1-1/+9
2022-07-21Bluetooth: HCI: Fix not always setting Scan Response/Advertising DataLuiz Augusto von Dentz1-22/+20
2022-07-21Bluetooth: fix an error code in hci_register_dev()Dan Carpenter1-1/+2
2022-07-21Bluetooth: Unregister suspend with userchannelAbhishek Pandit-Subedi1-8/+25
2022-07-21Bluetooth: When HCI work queue is drained, only queue chained workSchspa Shi1-1/+9
2022-07-05Bluetooth: core: Fix deadlock on hci_power_on_sync.Vasyl Vavrychuk1-0/+3
2022-06-05bluetooth: don't use bitmaps for random flag accessesLinus Torvalds1-2/+2
2022-05-13Bluetooth: core: Fix missing power_on work cancel on HCI closeVasyl Vavrychuk1-2/+0
2022-05-11Bluetooth: Fix the creation of hdev->nameItay Iellin1-3/+3
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-02-24Bluetooth: hci_core: Fix leaking sent_cmd skbLuiz Augusto von Dentz1-0/+1
2022-01-25Bluetooth: hci_core: Rate limit the logging of invalid SCO handleLuiz Augusto von Dentz1-2/+2
2022-01-20Bluetooth: msft: Handle MSFT Monitor Device EventManish Mandlik1-0/+1
2021-12-22Bluetooth: hci_sync: Push sync command cancellation to workqueueBenjamin Berg1-1/+1
2021-12-07Bluetooth: hci_core: Rework hci_conn_params flagsLuiz Augusto von Dentz1-1/+7
2021-12-03Bluetooth: hci_core: Cancel sync command if sending a frame failedBenjamin Berg1-3/+11
2021-10-29Bluetooth: hci_sync: Rework hci_suspend_notifierLuiz Augusto von Dentz1-94/+12
2021-10-29Bluetooth: hci_sync: Rework init stagesLuiz Augusto von Dentz1-1202/+1
2021-10-29Bluetooth: hci_sync: Convert MGMT_SET_POWEREDLuiz Augusto von Dentz1-12/+33
2021-10-29Bluetooth: hci_sync: Rework background scanLuiz Augusto von Dentz1-7/+7
2021-10-29Bluetooth: Add helper for serialized HCI command executionMarcel Holtmann1-19/+4
2021-10-13Bluetooth: Fix debugfs entry leak in hci_register_dev()Wei Yongjun1-0/+1
2021-10-01Bluetooth: Rename driver .prevent_wake to .wakeupLuiz Augusto von Dentz1-6/+7
2021-09-29Bluetooth: Make use of hci_{suspend,resume}_dev on suspend notifierLuiz Augusto von Dentz1-49/+67
2021-09-22Bluetooth: hci_core: Move all debugfs handling to hci_debugfs.cLuiz Augusto von Dentz1-124/+0
2021-09-21Bluetooth: eir: Move EIR/Adv Data functions to its own fileLuiz Augusto von Dentz1-0/+54
2021-09-10Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycleMiao-chen Chou1-0/+3
2021-09-07Bluetooth: Add support for Read Local Supported Codecs V2Kiran K1-1/+3
2021-09-07Bluetooth: Enumerate local supported codec and cache detailsKiran K1-4/+7
2021-08-30Bluetooth: Fix using address type from eventsLuiz Augusto von Dentz1-9/+0
2021-08-20Merge tag 'for-net-next-2021-08-19' of git://git.kernel.org/pub/scm/linux/ker...David S. Miller1-16/+32
2021-08-19Bluetooth: Fix return value in hci_dev_do_close()Kangmin Park1-3/+4
2021-08-19Bluetooth: add timeout sanity check to hci_inquiryPavel Skripkin1-0/+6
2021-08-16Bluetooth: Move shutdown callback before flushing tx and rx queueKai-Heng Feng1-8/+8
2021-08-05Bluetooth: defer cleanup of resources in hci_unregister_dev()Tetsuo Handa1-8/+8
2021-08-05Bluetooth: Add support hdev to allocate private dataTedd Ho-Jeong An1-3/+10
2021-07-28Bluetooth: defer cleanup of resources in hci_unregister_dev()Tetsuo Handa1-8/+9
2021-06-26Bluetooth: use inclusive language when filtering devicesArchie Pusaka1-12/+12
2021-06-26Bluetooth: use inclusive language to describe CPBArchie Pusaka1-8/+8
2021-06-26Bluetooth: Shutdown controller after workqueues are flushed or cancelledKai-Heng Feng1-8/+8
2021-06-26Bluetooth: Add ncmd=0 recovery handlingManish Mandlik1-0/+22
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+6
2021-06-02Bluetooth: Fix spelling mistakesZheng Yongjun1-4/+4
2021-05-27Bluetooth: fix the erroneous flush_work() orderLin Ma1-1/+6
2021-04-08Bluetooth: Set defaults for le_scan_{int,window}_adv_monitorMarcel Holtmann1-0/+2
2021-04-06Bluetooth: Add support for reading AOSP vendor capabilitiesMarcel Holtmann1-0/+3
2021-01-29Bluetooth: Add new HCI_QUIRK_NO_SUSPEND_NOTIFIER quirkHans de Goede1-7/+11
2021-01-25Bluetooth: btusb: fix memory leak on suspend and resumeVamshi K Sthambamkadi1-1/+2
2021-01-25Bluetooth: Put HCI device if inquiry procedure interruptsPan Bian1-2/+4
2021-01-25Bluetooth: advmon offload MSFT remove monitorArchie Pusaka1-23/+96
2021-01-25Bluetooth: advmon offload MSFT add monitorArchie Pusaka1-9/+46
2020-12-07Bluetooth: Query LE tx power on startupDaniel Winkler1-0/+8
2020-12-07Bluetooth: Use intervals and tx power from mgmt cmdsDaniel Winkler1-3/+5
2020-12-07Bluetooth: Add helper to set adv dataDaniel Winkler1-0/+31
2020-12-07Bluetooth: Add toggle to switch off interleave scanHoward Chung1-0/+1
2020-12-07Bluetooth: Interleave with allowlist scanHoward Chung1-0/+3
2020-12-07Bluetooth: Fix attempting to set RPA timeout when unsupportedEdward Vear1-1/+1
2020-09-29Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...David S. Miller1-2/+39
2020-09-20Bluetooth: Update Adv monitor count upon removalMiao-chen Chou1-0/+2
2020-09-18net: bluetooth: delete duplicated wordsRandy Dunlap1-1/+1
2020-09-13Bluetooth: Emit controller suspend and resume eventsAbhishek Pandit-Subedi1-1/+25
2020-09-11Bluetooth: Report num supported adv instances for hw offloadingDaniel Winkler1-1/+1
2020-09-11Bluetooth: Re-order clearing suspend tasksAbhishek Pandit-Subedi1-1/+1
2020-09-01Bluetooth: Clear suspend tasks on unregisterAbhishek Pandit-Subedi1-0/+11
2020-07-30Bluetooth: Enable RPA TimeoutSathish Narasimman1-0/+8
2020-07-30Bluetooth: Translate additional address type correctlyMarcel Holtmann1-0/+9
2020-07-28Bluetooth: Fix suspend notifier raceAbhishek Pandit-Subedi1-2/+3
2020-07-28Bluetooth: Return NOTIFY_DONE for hci_suspend_notifierMax Chou1-1/+1
2020-07-28Bluetooth: btusb: Fix and detect most of the Chinese Bluetooth controllersIsmael Ferreras Morezuelas1-2/+4
2020-07-07Bluetooth: Fix kernel oops triggered by hci_adv_monitors_clear()Miao-chen Chou1-2/+0
2020-07-07Bluetooth: Adding a configurable autoconnect timeoutAlain Michaud1-0/+1
2020-06-18Bluetooth: Update background scan and report device based on advertisement mo...Miao-chen Chou1-0/+13
2020-06-18Bluetooth: Add handler of MGMT_OP_REMOVE_ADV_MONITORMiao-chen Chou1-0/+31
2020-06-18Bluetooth: Add handler of MGMT_OP_ADD_ADV_PATTERNS_MONITORMiao-chen Chou1-0/+40
2020-06-18Bluetooth: Add handler of MGMT_OP_READ_ADV_MONITOR_FEATURESMiao-chen Chou1-1/+9
2020-06-18Bluetooth: Replace wakeable list with flagAbhishek Pandit-Subedi1-1/+0
2020-06-18Bluetooth: Add bdaddr_list_with_flags for classic whitelistAbhishek Pandit-Subedi1-0/+58
2020-06-12Bluetooth: centralize default value initialization.Alain Michaud1-1/+13
2020-06-12Bluetooth: Add support for BT_PKT_STATUS CMSG data for SCO connectionsAlain Michaud1-0/+1
2020-06-08Bluetooth: Allow suspend even when preparation has failedAbhishek Pandit-Subedi1-7/+10
2020-05-13Bluetooth: Add hook for driver to prevent wake from suspendAbhishek Pandit-Subedi1-2/+4
2020-05-13Bluetooth: Rename BT_SUSPEND_COMPLETEAbhishek Pandit-Subedi1-1/+1
2020-04-16Bluetooth: Enhanced Connection Complete event belongs to LL PrivacyMarcel Holtmann1-8/+0
2020-04-15Bluetooth: Enable LE Enhanced Connection Complete event.Marcel Holtmann1-0/+8
2020-04-05Bluetooth: Add support for Read Local Simple Pairing OptionsMarcel Holtmann1-0/+4
2020-04-05Bluetooth: Add framework for Microsoft vendor extensionMiao-chen Chou1-0/+5
2020-04-03Bluetooth: Prioritize SCO trafficAbhishek Pandit-Subedi1-49/+57
2020-03-23Bluetooth: Restore running state if suspend failsAbhishek Pandit-Subedi1-19/+20
2020-03-11Bluetooth: Handle BR/EDR devices during suspendAbhishek Pandit-Subedi1-3/+19
2020-03-11Bluetooth: Handle PM_SUSPEND_PREPARE and PM_POST_SUSPENDAbhishek Pandit-Subedi1-0/+86
2020-03-11Bluetooth: fix off by one in err_data_reporting cmd masks.Alain Michaud1-2/+2
2020-03-08Bluetooth: Enable erroneous data reporting if WBS is supportedAlain Michaud1-0/+23
2020-03-07Bluetooth: Fix calculation of SCO handle for packet processingMarcel Holtmann1-2/+5
2020-02-28Bluetooth: Use list_for_each_entry_rcu() to traverse RCU list in RCU read-sid...Madhuparna Bhowmik1-1/+1
2020-02-28Bluetooth: Fix Suspicious RCU usage warningsMadhuparna Bhowmik1-4/+4
2020-01-25Bluetooth: Add missing checks for HCI_ISODATA_PKT packet typeMarcel Holtmann1-1/+3
2020-01-15Bluetooth: Make use of __check_timeout on hci_sched_leLuiz Augusto von Dentz1-8/+3
2020-01-15Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.Alain Michaud1-8/+77
2019-11-22Bluetooth: Allow combination of BDADDR_PROPERTY and INVALID_BDADDR quirksMarcel Holtmann1-2/+24
2019-10-17Bluetooth: hci_core: fix init for HCI_USER_CHANNELMattijs Korpershoek1-1/+8
2019-10-16Bluetooth: missed cpu_to_le16 conversion in hci_init4_reqBen Dooks (Codethink)1-2/+2
2019-08-17Bluetooth: Add debug setting for changing minimum encryption key sizeMarcel Holtmann1-0/+1
2019-07-06Bluetooth: Use controller sets when availableLuiz Augusto von Dentz1-1/+2
2019-07-06Bluetooth: Add support for LE ping featureSpoorthi Ravishankar Koppad1-0/+1
2019-05-05Bluetooth: Ignore CC events not matching the last HCI commandJoão Paulo Rechi Vita1-0/+5
2019-04-24Bluetooth: hci_core: Don't stop BT if the BD address missing in dtsBalakrishna Godavarthi1-2/+0
2019-02-26Bluetooth: Add quirk for reading BD_ADDR from fwnode propertyMatthias Kaehlcke1-0/+43
2019-01-25Bluetooth: make hw_err static, reduces object code sizeColin Ian King1-1/+1
2019-01-25Bluetooth: Allow driver specific cmd timeout handlingRajat Jain1-0/+3
2018-09-28Bluetooth: Fix debugfs NULL pointer dereferenceMatias Karhumaa1-0/+2
2018-09-27Bluetooth: Add definitions and track LE resolve list modificationAnkit Navik1-0/+63
2018-07-30Bluetooth: Add new quirk for non-persistent setup settingsSean Wang1-1/+2
2018-07-30Bluetooth: Handle ADv set terminated eventJaganath Kanakkassery1-0/+8
2018-07-30Bluetooth: Implement Set ADV set random addressJaganath Kanakkassery1-1/+32
2018-07-30Bluetooth: Impmlement extended adv enableJaganath Kanakkassery1-0/+2
2018-07-30Bluetooth: Read no of adv sets during initJaganath Kanakkassery1-2/+14
2018-07-30Bluetooth: Implement PHY changed eventJaganath Kanakkassery1-0/+4
2018-07-30Bluetooth: Define PHY flags in hdev and set 1M as defaultJaganath Kanakkassery1-4/+5
2018-07-06Bluetooth: Use extended LE Connection if supportedJaganath Kanakkassery1-0/+8
2018-07-06Bluetooth: Process extended ADV report eventJaganath Kanakkassery1-0/+9
2018-07-06Bluetooth: Add HCI command for clear Resolv listAnkit Navik1-0/+5
2018-07-06Bluetooth: Store Resolv list sizeAnkit Navik1-0/+8
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-05-30Bluetooth: Re-use kstrtobool_from_user()Andy Shevchenko1-16/+7
2018-05-18Bluetooth: Add __hci_cmd_send functionLoic Poulain1-0/+31
2017-10-30Bluetooth: Use bt_dev_err and bt_dev_info when possibleMarcel Holtmann1-18/+17
2017-06-29bluetooth: remove WQ_MEM_RECLAIM from hci workqueuesTejun Heo1-4/+3
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-1/+1
2017-06-12Bluetooth: Send HCI Set Event Mask Page 2 command only when neededMarcel Holtmann1-2/+15
2017-05-18Bluetooth: Skip vendor diagnostic configuration for HCI User ChannelMarcel Holtmann1-5/+6
2017-05-18Bluetooth: Set LE Default PHY preferencesMarcel Holtmann1-0/+12
2017-05-18Bluetooth: Enable LE PHY Update Complete eventMarcel Holtmann1-0/+6
2017-05-18Bluetooth: Enable LE Channel Selection Algorithm eventMarcel Holtmann1-0/+8
2017-05-18Bluetooth: Set LE Suggested Default Data Length to maximumMarcel Holtmann1-0/+9
2017-04-12Bluetooth: Change initial min and max intervalJonas Holmberg1-2/+2
2016-09-19Bluetooth: Fix wrong New Settings event when closing HCI User ChannelMarcel Holtmann1-0/+1
2016-07-18Bluetooth: Add debugfs fields for hardware and firmware infoMarcel Holtmann1-0/+24
2016-07-09Bluetooth: Rename HCI_BREDR into HCI_PRIMARYMarcel Holtmann1-15/+13
2016-05-13Bluetooth: fix power_on vs close raceJiri Slaby1-2/+2
2016-02-23Bluetooth: hci_core: cancel power off delayed work properlyWei-Ning Huang1-0/+1
2016-02-23Bluetooth: Use managed version of led_trigger_register in LED triggerHeiner Kallweit1-2/+0
2016-02-23Bluetooth: add LED trigger for indicating HCI is powered upHeiner Kallweit1-0/+8
2016-02-20Bluetooth: hci_core: Avoid mixing up req_complete and req_complete_skbDouglas Anderson1-2/+4
2015-12-20Bluetooth: use list_for_each_entry*Geliang Tang1-5/+3
2015-12-10Bluetooth: Clean up current advertising instance trackingJohan Hedberg1-4/+8
2015-12-10Bluetooth: Perform HCI update for power on synchronouslyJohan Hedberg1-5/+16
2015-12-10Bluetooth: Move discoverable timeout behind hdev->req_workqueueJohan Hedberg1-13/+0
2015-12-10Bluetooth: Move advertising instance management to hci_request.cJohan Hedberg1-18/+1
2015-11-19Bluetooth: Clean up hci_core codePrasanna Karthik1-3/+4
2015-11-19Bluetooth: Simplify request cleanup codeJohan Hedberg1-3/+1
2015-11-19Bluetooth: Add error return value to hci_req_sync callbackJohan Hedberg1-13/+32
2015-11-19Bluetooth: Move LE scan disable/restart behind req_workqueueJohan Hedberg1-168/+0
2015-11-19Bluetooth: Add HCI status return parameter to hci_req_sync()Johan Hedberg1-13/+13
2015-11-19Bluetooth: Add stubs for synchronous HCI request functionalityJohan Hedberg1-0/+4
2015-11-19Bluetooth: Add 'sync' specifier to synchronous request APIsJohan Hedberg1-14/+14
2015-11-19Bluetooth: Move synchronous request handling into hci_request.cJohan Hedberg1-193/+0