qcacmn: Support Multicast Domain Name Server Offload

The purpose of the multicast Domain Name System (mDNS) is to resolve
host names to IP addresses within small networks that do not include
a local name server.

It utilizes essentially the same programming interfaces, packet formats
and operating semantics as the unicast DNS, and the advantage is zero
configuration service while no need for central or global server.
Based on mDNS, the DNS-SD (Service Discovery) allows clients to discover
a named list of services by type in a specified domain using standard
DNS queries.

Here, we provide the ability to advertise the available services by
responding to mDNS queries.

Change-Id: Ie6a3cd319d219c2f338d83f4bdbd704a090711c4
CRs-Fixed: 3008552
This commit is contained in:
Aditya Kodukula
2021-06-14 12:39:23 -07:00
committed by Madan Koyyalamudi
parent 5c4ead3c06
commit e668136ffc
4 changed files with 257 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -87,4 +87,19 @@ wmi_unified_send_dscp_tip_map_cmd(struct wmi_unified *wmi_handle,
}
#endif /* WLAN_SEND_DSCP_UP_MAP_TO_FW */
#ifdef WLAN_FEATURE_MDNS_OFFLOAD
/**
* wmi_unified_send_set_mdns_config_cmd() - Send WMI set mDNS config cmd
* @wmi_handle: wmi handle
* @mdns_info: mdns config info
*
* Send WMI set mDNS config command to firmware.
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_send_set_mdns_config_cmd(struct wmi_unified *wmi_handle,
struct mdns_config_info *mdns_info);
#endif /* WLAN_FEATURE_MDNS_OFFLOAD */
#endif /* _WMI_UNIFIED_FWOL_API_H_ */