qcacld-3.0: Update dot11 mode correctly
In case of sap big data logging, it is assumed that legacy dot11 mode is always supported, if the connection is done in 11ax and if station does not shares the ht and vht info in that case legacy dot11 mode should not be updated as it is possible that sta is only 11ax supported. Change-Id: I8324b3e5a2491d4a1722c03e5e86fa1bedbf5062 CRs-Fixed: 2656843
This commit is contained in:

committed by
nshrivas

parent
90f388b9de
commit
210ccabe9e
@@ -1504,7 +1504,6 @@ static void hdd_fill_station_info(struct hdd_adapter *adapter,
|
||||
* should always be true.
|
||||
*/
|
||||
is_dot11_mode_abgn = true;
|
||||
stainfo->support_mode |= is_dot11_mode_abgn << HDD_80211_MODE_ABGN;
|
||||
|
||||
if (event->vht_caps.present) {
|
||||
stainfo->vht_present = true;
|
||||
@@ -1520,6 +1519,11 @@ static void hdd_fill_station_info(struct hdd_adapter *adapter,
|
||||
stainfo->support_mode |=
|
||||
(event->he_caps_present << HDD_80211_MODE_AX);
|
||||
|
||||
if (event->he_caps_present && !(event->vht_caps.present ||
|
||||
event->ht_caps.present))
|
||||
is_dot11_mode_abgn = false;
|
||||
|
||||
stainfo->support_mode |= is_dot11_mode_abgn << HDD_80211_MODE_ABGN;
|
||||
/* Initialize DHCP info */
|
||||
stainfo->dhcp_phase = DHCP_PHASE_ACK;
|
||||
stainfo->dhcp_nego_status = DHCP_NEGO_STOP;
|
||||
|
Reference in New Issue
Block a user