Procházet zdrojové kódy

qcacld-3.0: Add NAN iface for random mac support

Currently, host driver supports random mac for tx mgmt frames
in STA, P2P and P2P CLI opmode only.
Add NAN iface to support for random mac for NAN vdev in NAN 
pairing protocol.
This allows to transmit the NAN tx frames to the lower layer.

Change-Id: I06b9340cf9bfd9f6a5e77ff02d19d8a87baea0ff
CRs-Fixed: 3257667
Rahul Gusain před 2 roky
rodič
revize
58e429e53e
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      components/p2p/core/src/wlan_p2p_off_chan_tx.c

+ 2 - 1
components/p2p/core/src/wlan_p2p_off_chan_tx.c

@@ -2816,7 +2816,8 @@ p2p_is_vdev_support_rand_mac(struct wlan_objmgr_vdev *vdev)
 	mode = wlan_vdev_mlme_get_opmode(vdev);
 	if (mode == QDF_STA_MODE ||
 	    mode == QDF_P2P_CLIENT_MODE ||
-	    mode == QDF_P2P_DEVICE_MODE)
+	    mode == QDF_P2P_DEVICE_MODE ||
+	    mode == QDF_NAN_DISC_MODE)
 		return true;
 	return false;
 }