shivamsinghydv
0342b31ff8
bluetooth: Extend EIR parsing with UUIDs, Device class, TX power and manufacturer data
...
ParseEIR previously handled only EIR_NAME_SHORT (0x08) and EIR_NAME_COMPLETE (0x09),
silently ignoring all other data types.
Add handling for:
- EIR_UUID16_INCOMPLETE (0x2) & EIR_UUID16_COMPLETE (0x3)
- EIR_UUID32_INCOMPLETE (0x4) & EIR_UUID32_COMPLETE (0x5)
- EIR_UUID128_INCOMPLETE (0x6) & EIR_UUID128_COMPLETE (0x7)
- EIR_TX_POWER (0X0A): parsed as int8, added to reply as "tx_power"
- EIR_CLASS_OF_DEVICE: Added to reply as dev_class (0x0D)
- EIR_MANUFACTURER_DATA: Added to reply as "manufacturer_data" (0xFF)
Change-Id: I80600ff3078e2a7bc41c614596013e633ada5c9c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10613
Tested-by: Commit checker robot <[email protected] >
Reviewed-by: waddlesplash <[email protected] >
Haiku-Format: Haiku-format Bot <[email protected] >
2026-05-11 16:07:08 +00:00
shivamsinghydv
ea4aa5544f
btrfs: Check minimum partition size in CanInitialize
...
Linux btrfs-progs does not allow volumes smaller than 256MiB
so, any volume smaller than that cannot be valid.
Change-Id: I26b9d26b1b698e659f819607b8af4b6eddfe9c55
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10585
Reviewed-by: Adrien Destugues <[email protected] >
Haiku-Format: Haiku-format Bot <[email protected] >
Tested-by: Commit checker robot <[email protected] >
2026-04-10 08:32:22 +00:00
shivamsinghydv
757e60f86b
Bluetooth: Fix bug in LocalDeviceImpl::ReturnLinkKeys
...
The while loop iterating through the link keys was missing
a decrement for the counter numKeys. This resulted in an
infinite loop that would eventually attempt to access
invalid memory address, causing a segmentation violation
(SIGSEGV). As apparent in debugger.
Added numKeys-- decrement to ensure the loop terminates correctly.
Change-Id: I0922392f85efff8bdce8550b55be36268fe5699a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10690
Reviewed-by: Rene Gollent <[email protected] >
Reviewed-by: waddlesplash <[email protected] >
2026-04-08 21:50:18 +00:00
shivamsinghydv
6e52ff1941
bluetooth: Before activation of a local device in UI, verify that it has a valid address.
...
Change-Id: I516d71312ed269d75fa9ae81e05cabfa41f264fa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10568
Reviewed-by: waddlesplash <[email protected] >
2026-03-24 14:44:40 +00:00