qcacld-3.0: Update dot11 mode correctly for Getbssinfo

Currently host driver does not update dot11 mode info correctly
for getbssinfo command if the dot11 mode is 11AX or 11BE.

With this fix add a logic to update the dot11 mode info
correctly in response to the getbssinfo command.

Change-Id: I9ebec3ab43fe4cff1cab5f646bcc93a8c6654fd0
CRs-Fixed: 3353630
This commit is contained in:
Ashish Kumar Dhanotiya 2022-12-05 18:03:07 +05:30 • committed by Madan Koyyalamudi
commit 3a53872fb4

View file

@ -363,6 +363,9 @@ static int hdd_convert_dot11mode(uint32_t dot11mode)
case eCSR_CFG_DOT11_MODE_11AC:
ret_val = QCA_WLAN_802_11_MODE_11AC;
break;
case eCSR_CFG_DOT11_MODE_11AX:
ret_val = QCA_WLAN_802_11_MODE_11AX;
break;
case eCSR_CFG_DOT11_MODE_AUTO:
case eCSR_CFG_DOT11_MODE_ABG:
default: