qcacmn: Donot advertise TB and NTB ranging support

Donot advertise TB and NTB ranging support as kernel
doesn't support that flags.

Change-Id: I43ba16a7130dfc570c371db8474bbc136e576173
CRs-Fixed: 3233041
This commit is contained in:
Pragaspathi Thilagaraj
2022-06-30 13:16:38 +05:30
committed by Madan Koyyalamudi
parent 1ceba55644
commit ee69671df1
2 changed files with 4 additions and 8 deletions

View File

@@ -29,7 +29,8 @@
#include <net/netlink.h>
#include <net/cfg80211.h>
#if defined(CFG80211_PASN_SUPPORT) && defined(WIFI_POS_CONVERGED)
#if defined(CFG80211_PASN_SUPPORT) && defined(WIFI_POS_CONVERGED) && \
defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
void
wlan_wifi_pos_cfg80211_set_wiphy_ext_feature(struct wiphy *wiphy,
struct wlan_objmgr_psoc *psoc);