Browse Source

qcacld-3.0: Move PASN support out of RTT_11AZ_SUPPORT

Currently, host driver processes the PASN auth frames only
on 11az supported targets. This is guarded with a compilation
flag WLAN_FEATURE_RTT_11AZ_SUPPORT. NAN pairing protocol also
uses PASN auth frames and these targets may not support 11az.

So, move PASN authentication frame processing out of the
compilation flag WLAN_FEATURE_RTT_11AZ_SUPPORT to support paring
protocol on non-11az supported targets as well.

Change-Id: I8ae5fed3cbbb8518285855d90d297dc31c62f493
CRs-Fixed: 3281439
Rahul Gusain 2 years ago
parent
commit
b9547be440
1 changed files with 0 additions and 16 deletions
  1. 0 16
      core/mac/src/pe/lim/lim_process_auth_frame.c

+ 0 - 16
core/mac/src/pe/lim/lim_process_auth_frame.c

@@ -508,7 +508,6 @@ static inline void  lim_process_sae_auth_frame(struct mac_context *mac_ctx,
 {}
 #endif
 
-#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
 static uint8_t
 lim_get_pasn_peer_vdev_id(struct mac_context *mac, uint8_t *bssid)
 {
@@ -561,21 +560,6 @@ lim_process_pasn_auth_frame(struct mac_context *mac_ctx,
 
 	return QDF_STATUS_SUCCESS;
 }
-#else
-static inline QDF_STATUS
-lim_process_pasn_auth_frame(struct mac_context *mac_ctx,
-			    uint8_t vdev_id,
-			    uint8_t *rx_pkt_info)
-{
-	return QDF_STATUS_SUCCESS;
-}
-
-static inline uint8_t
-lim_get_pasn_peer_vdev_id(struct mac_context *mac, uint8_t *bssid)
-{
-	return WLAN_UMAC_VDEV_ID_MAX;
-}
-#endif
 
 static void lim_process_auth_frame_type1(struct mac_context *mac_ctx,
 		tpSirMacMgmtHdr mac_hdr,