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
This commit is contained in:
Rahul Gusain
2022-06-21 12:03:53 +05:30
committed by Madan Koyyalamudi
parent f1ff372303
commit 58e429e53e

View File

@@ -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;
}