• Seema Sreemantha's avatar
    Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG) · c585a92b
    Seema Sreemantha authored
    Antenna gain is defined as the antenna’s ability to
    increase the Tx power in a given direction. Intel
    is certifying its products with fixed reference
    antenna peak gain values (3/5dBi). The feature takes
    into account the actual antenna gain, and increases
    output power values, which results in a performance
    improvement.
    
    After firmware download is completed, driver reads from
    ACPI table and configures PPAG as required. ACPI table
    entry for PPAG is defined as below.
    
    Name (PPAG, Package (0x02)
    {
        0x00000001,
        Package (0x02)
        {
            0x00000012, /* Bluetooth Domain */
            0x00000001  /* 1 - Enable PPAG, 0 - Disable PPAG */
        }
    })
    
    btmon log:
    < HCI Command: Intel Configure Per Platform Antenna Gain (0x3f|0x0219) plen 12
            Mcc: 0x00000000
            Selector: Enable
            Delta: 0x00000000
    > HCI Event: Command Complete (0x0e) plen 4
          Intel Configure Per Platform Antenna Gain (0x3f|0x0219) ncmd 1
            Status: Success (0x00)
    Signed-off-by: default avatarKiran K <kiran.k@intel.com>
    Signed-off-by: default avatarSeema Sreemantha <seema.sreemantha@intel.com>
    Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
    c585a92b
btintel.h 7.37 KB