qcacld-3.0: Exempt the MLD addr check for NAN
MLD is applicable for infrasture modes(STA/SAP) and is mandatory to operate in 11BE for these modes. NAN/NDI(NDP) may want to use EHT rates and it's not mandatory to support MLO. Currently, host driver sets vdev dot11mode as 11AX when MLD address is zero. But this is applicable for STA/SAP only. So, exempt NAN/NDI modes from this dot11mode downgrade operation to allow these to use EHT rates. Change-Id: Ie43811eb7bd12dbf286617cebe194ced8c28c3f0 CRs-Fixed: 3635961
This commit is contained in:

committed by
Rahul Choudhary

parent
e40afae7cc
commit
bd034ecb21
@@ -4448,8 +4448,9 @@ void wlan_vdev_set_dot11mode(struct wlan_mlme_cfg *mac_mlme_cfg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
vdev_dot11_mode = QDF_GET_BITS(mac_dot11_mode, dot11_mode_indx, 4);
|
vdev_dot11_mode = QDF_GET_BITS(mac_dot11_mode, dot11_mode_indx, 4);
|
||||||
if (vdev_dot11_mode == MLME_VDEV_DOT11_MODE_AUTO ||
|
if ((device_mode != QDF_NAN_DISC_MODE && device_mode != QDF_NDI_MODE) &&
|
||||||
vdev_dot11_mode == MLME_VDEV_DOT11_MODE_11BE) {
|
(vdev_dot11_mode == MLME_VDEV_DOT11_MODE_AUTO ||
|
||||||
|
vdev_dot11_mode == MLME_VDEV_DOT11_MODE_11BE)) {
|
||||||
mld_addr = wlan_vdev_mlme_get_mldaddr(vdev_mlme->vdev);
|
mld_addr = wlan_vdev_mlme_get_mldaddr(vdev_mlme->vdev);
|
||||||
if (qdf_is_macaddr_zero((struct qdf_mac_addr *)mld_addr)) {
|
if (qdf_is_macaddr_zero((struct qdf_mac_addr *)mld_addr)) {
|
||||||
vdev_dot11_mode = MLME_VDEV_DOT11_MODE_11AX;
|
vdev_dot11_mode = MLME_VDEV_DOT11_MODE_11AX;
|
||||||
|
Reference in New Issue
Block a user