ソースを参照

qcacld-3.0: Advertise 11az security related wiphy ext flags

Call the Wifi Pos API to advertise 11az security
related wiphy ext flags. Add Kbuild changes for new
file to advertise Wiphy Feature flag.

Change-Id: Id8c9c51770c3153c9c8a140f965249d1b0d1a844
CRs-Fixed: 3150582
Pragaspathi Thilagaraj 3 年 前
コミット
a5de781f47
2 ファイル変更4 行追加0 行削除
  1. 1 0
      Kbuild
  2. 3 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 0
Kbuild

@@ -2275,6 +2275,7 @@ WIFI_POS_OBJS := $(WIFI_POS_CORE_DIR)/wifi_pos_api.o \
 		 $(WIFI_POS_CORE_DIR)/wifi_pos_ucfg.o \
 		 $(WIFI_POS_CORE_DIR)/wifi_pos_utils.o \
 		 $(WIFI_POS_OS_IF_DIR)/os_if_wifi_pos.o \
+		 $(WIFI_POS_OS_IF_DIR)/wlan_cfg80211_wifi_pos.o \
 		 $(WIFI_POS_TGT_DIR)/target_if_wifi_pos.o
 endif
 

+ 3 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -179,6 +179,7 @@
 #include "os_if_pkt_capture.h"
 #include "wlan_hdd_son.h"
 #include "wlan_hdd_mcc_quota.h"
+#include "wlan_cfg80211_wifi_pos.h"
 
 #define g_mode_rates_size (12)
 #define a_mode_rates_size (8)
@@ -18586,6 +18587,8 @@ void wlan_hdd_update_wiphy(struct hdd_context *hdd_ctx)
 	mac_spoofing_enabled = ucfg_scan_is_mac_spoofing_enabled(hdd_ctx->psoc);
 	if (mac_spoofing_enabled)
 		wlan_hdd_cfg80211_scan_randomization_init(wiphy);
+
+	wlan_wifi_pos_cfg80211_set_wiphy_ext_feature(wiphy, hdd_ctx->psoc);
 }
 
 /**