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

@@ -2488,6 +2488,11 @@ QDF_STATUS (*send_dscp_tid_map_cmd)(wmi_unified_t wmi_handle,
uint32_t *dscp_to_tid_map);
#endif
#ifdef WLAN_FEATURE_MDNS_OFFLOAD
QDF_STATUS (*send_set_mdns_config_cmd)(wmi_unified_t wmi_handle,
struct mdns_config_info *mdns_info);
#endif /* WLAN_FEATURE_MDNS_OFFLOAD */
QDF_STATUS (*send_pdev_get_pn_cmd)(wmi_unified_t wmi_handle,
struct peer_request_pn_param *pn_params);
QDF_STATUS (*extract_get_pn_data)(wmi_unified_t wmi_handle,