ソースを参照

qcacld-3.0: Remove legacy P2P debug tables

As part of P2P componentization, debug logic was moved from HDD to the
P2P component, see:
  qcacld-3.0: Activate debug functions in P2P component
  Change-Id I1ff627a553108c74be144232fd0a0406d88de395
and:
  qcacld-3.0: Remove legacy P2P codes in HDD
  Change-Id Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d

However these changes left behind two action frame type "number to
string" tables which are also no longer used, so remove those as well.

Change-Id: I95c2b2b767007f852d9c7ce0acac92089dbf8f23
CRs-Fixed: 3426074
Jeff Johnson 2 年 前
コミット
c8da625f45
1 ファイル変更0 行追加26 行削除
  1. 0 26
      core/hdd/src/wlan_hdd_p2p.c

+ 0 - 26
core/hdd/src/wlan_hdd_p2p.c

@@ -61,32 +61,6 @@
 #define MS_TO_TU_MUS(x)   ((x) * 1024)
 #define MAX_MUS_VAL       (INT_MAX / 1024)
 
-#ifdef WLAN_FEATURE_P2P_DEBUG
-#define MAX_P2P_ACTION_FRAME_TYPE 9
-const char *p2p_action_frame_type[] = { "GO Negotiation Request",
-					"GO Negotiation Response",
-					"GO Negotiation Confirmation",
-					"P2P Invitation Request",
-					"P2P Invitation Response",
-					"Device Discoverability Request",
-					"Device Discoverability Response",
-					"Provision Discovery Request",
-					"Provision Discovery Response"};
-
-#endif
-#define MAX_TDLS_ACTION_FRAME_TYPE 11
-const char *tdls_action_frame_type[] = { "TDLS Setup Request",
-					 "TDLS Setup Response",
-					 "TDLS Setup Confirm",
-					 "TDLS Teardown",
-					 "TDLS Peer Traffic Indication",
-					 "TDLS Channel Switch Request",
-					 "TDLS Channel Switch Response",
-					 "TDLS Peer PSM Request",
-					 "TDLS Peer PSM Response",
-					 "TDLS Peer Traffic Response",
-					 "TDLS Discovery Request"};
-
 void wlan_hdd_cancel_existing_remain_on_channel(struct hdd_adapter *adapter)
 {
 	struct wlan_objmgr_vdev *vdev;