adv_flags 6398 net/bluetooth/mgmt.c static u8 tlv_data_max_len(struct hci_dev *hdev, u32 adv_flags, adv_flags 6404 net/bluetooth/mgmt.c if (adv_flags & (MGMT_ADV_FLAG_DISCOV | adv_flags 6409 net/bluetooth/mgmt.c if (adv_flags & MGMT_ADV_FLAG_TX_POWER) adv_flags 6412 net/bluetooth/mgmt.c if (adv_flags & MGMT_ADV_FLAG_LOCAL_NAME) adv_flags 6415 net/bluetooth/mgmt.c if (adv_flags & (MGMT_ADV_FLAG_APPEARANCE)) adv_flags 6422 net/bluetooth/mgmt.c static bool flags_managed(u32 adv_flags) adv_flags 6424 net/bluetooth/mgmt.c return adv_flags & (MGMT_ADV_FLAG_DISCOV | adv_flags 6429 net/bluetooth/mgmt.c static bool tx_power_managed(u32 adv_flags) adv_flags 6431 net/bluetooth/mgmt.c return adv_flags & MGMT_ADV_FLAG_TX_POWER; adv_flags 6434 net/bluetooth/mgmt.c static bool name_managed(u32 adv_flags) adv_flags 6436 net/bluetooth/mgmt.c return adv_flags & MGMT_ADV_FLAG_LOCAL_NAME; adv_flags 6439 net/bluetooth/mgmt.c static bool appearance_managed(u32 adv_flags) adv_flags 6441 net/bluetooth/mgmt.c return adv_flags & MGMT_ADV_FLAG_APPEARANCE; adv_flags 6444 net/bluetooth/mgmt.c static bool tlv_data_is_valid(struct hci_dev *hdev, u32 adv_flags, u8 *data, adv_flags 6450 net/bluetooth/mgmt.c max_len = tlv_data_max_len(hdev, adv_flags, is_adv_data); adv_flags 6460 net/bluetooth/mgmt.c (!is_adv_data || flags_managed(adv_flags))) adv_flags 6463 net/bluetooth/mgmt.c if (data[i + 1] == EIR_TX_POWER && tx_power_managed(adv_flags)) adv_flags 6466 net/bluetooth/mgmt.c if (data[i + 1] == EIR_NAME_COMPLETE && name_managed(adv_flags)) adv_flags 6469 net/bluetooth/mgmt.c if (data[i + 1] == EIR_NAME_SHORT && name_managed(adv_flags)) adv_flags 6473 net/bluetooth/mgmt.c appearance_managed(adv_flags))