Page MenuHomeFreeBSD

Allow some Bluetooth LE related HCI request by non-root user.
ClosedPublic

Authored by takawata on Jun 30 2020, 4:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 3:05 PM
Unknown Object (File)
Tue, Nov 19, 10:42 AM
Unknown Object (File)
Sep 24 2024, 11:26 AM
Unknown Object (File)
Sep 13 2024, 1:28 AM
Unknown Object (File)
Sep 4 2024, 10:27 PM
Unknown Object (File)
Aug 13 2024, 6:42 AM
Unknown Object (File)
Aug 6 2024, 9:14 AM
Unknown Object (File)
Jul 30 2024, 7:01 PM

Details

Summary

Now Bluetooth LE related requests are not allowed by non-root user.
This patch allow request as follows:
NG_HCI_OCF_READ_LE_HOST_SUPPORTED
NG_HCI_OCF_LE_SET_SCAN_ENABLE
NG_HCI_OCF_LE_SET_SCAN_PARAMETERS
NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES
NG_HCI_OCF_LE_READ_BUFFER_SIZE
NG_HCI_OCF_LE_READ_WHITE_LIST_SIZE

Test Plan

% hccontrol read_le_host_support
% hccontrol le_set_scan_enable enable
% hccontrol le_set_scan_enable disable
% hccontrol le_read_local_supported features
% hccontrol le_read_buffer_size
% hccontrol le_read_white_list_size

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable