qcacld-3.0: Check whether p2p device dynamic mac update supported
If F/W doesn't support p2p device dynamic mac update, after dynamic mac update, p2p tx will fail. Check whether p2p device dynamic mac update supported by target, if not supported, reject p2p device dynamic mac update request from upper layer. Fix warning of uninitialized status. Change-Id: I845bd9683f2b68c3ed28292917601fdefed13f72 CRs-Fixed: 3680411
This commit is contained in:

committed by
Ravindra Konda

parent
12bd9f4c4b
commit
f7fc5bc815
@@ -476,4 +476,23 @@ bool ucfg_p2p_is_roam_config_disabled(struct wlan_objmgr_psoc *psoc)
|
||||
* Return: p2p go supported on indoor channel
|
||||
*/
|
||||
bool ucfg_p2p_get_indoor_ch_support(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
#ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
|
||||
/**
|
||||
* ucfg_is_p2p_device_dynamic_set_mac_addr_supported() - API to check P2P device
|
||||
* dynamic MAC address update is supported or not
|
||||
*
|
||||
* @psoc: Pointer to psoc
|
||||
*
|
||||
* Return: true or false
|
||||
*/
|
||||
bool
|
||||
ucfg_is_p2p_device_dynamic_set_mac_addr_supported(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline bool
|
||||
ucfg_is_p2p_device_dynamic_set_mac_addr_supported(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif /* _WLAN_P2P_UCFG_API_H_ */
|
||||
|
Reference in New Issue
Block a user