| commit | ded0b176a6e8d82c5cc2b75f6c8545d87bc73e28 | [log] [tgz] |
|---|---|---|
| author | Lyle Zhu <lyle.zhu@nxp.com> | Wed Nov 13 20:13:00 2024 +0800 |
| committer | Benjamin Cabé <kartben@gmail.com> | Thu Apr 03 06:24:32 2025 +0200 |
| tree | ac117fdc2790847d40c3932607367ba3369fb4c5 | |
| parent | 9cda31a4cad1117ca4b383f390a87a5fb995ac37 [diff] |
Bluetooth: HFP_AG: Optimize feature access Add `BOTH_SUPT_FEAT(ag, _hf_feature, _ag_feature)` to check if the feature is supported by both side. Add `HF_SUPT_FEAT(ag, _feature)` to check if the feature is supported by HF. Add `AG_SUPT_FEAT(ag, _feature)` to check if the feature is supported by AG. Use `BOTH_SUPT_FEAT/HF_SUPT_FEAT/AG_SUPT_FEAT` to optimize code that checks whether a feature is supported. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>