Clear up tdls legacy init/deini, helper functions and structures.
Also remove legacy code in vendor nl80211 and iwpriv commands.
Change-Id: I983851d8cc0d3605c3d6bd0d8975c72844f71740
CRs-Fixed: 2105075
Clear up the tdls legacy functions which handle add/delete
tdls peer, tdls mgmt frame process and tdls_oper callback.
Change-Id: I8ba344ce5593df44bd15527e2ff68e872b6d23b8
CRs-Fixed: 2105075
Vendor VHT IE carries different sub type values from different
devices hence vendor VHT IE parsing fails if sub type value is
considered to check IE presence. Do not check for sub type value
in vendor VHT IE parsing
Change-Id: I50a8916214c17c1873fd90b65d29e48f1fa13994
CRs-Fixed: 2115113
Currently HDD passes the CDS context to sme_get_rssi(), which in turn
passes it to csr_get_rssi(), which in turn uses it to populate the
p_cds_context field in the tAniGetRssiReq message. Upon processing of
this message by csr_update_rssi() the p_cds_context is checked for
NULL but is otherwise unused. Since the CDS context is not needed,
remove it from all of the RSSI APIs.
Change-Id: I5836e3192205576f6ff4614a29356e73fe674848
CRs-Fixed: 2116954
Change "qcacld-3.0: Remove obsolete csr_roam_update_apwpsie()"
removed the only sender of message eWNI_SME_UPDATE_APWPSIE_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.
Change-Id: I191dc17898bcbf84ad4b6d03c515a8124a0f4d24
CRs-Fixed: 2115348
Change "qcacld-3.0: Remove csr_roam_issue_tkip_counter_measures()"
removed the only sender of message eWNI_SME_TKIP_CNTR_MEAS_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.
Change-Id: I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
CRs-Fixed: 2115345
Change "qcacld-3.0: Remove obsolete csr_roam_update_wparsni_es()"
removed the only sender of message eWNI_SME_SET_APWPARSNIEs_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.
Change-Id: I67819ea52b9600ed6afd986202090b99baf0f666
CRs-Fixed: 2114959
lim_send_radio_measure_report_action_frame() uses 0 as the smeSessionId
and that results in wrong value of vdev_id when firmware vdev is 1,
resulting in firmware assert. Use the value from sme session entry.
CRs-Fixed: 2036670
Change-Id: I797a719abc29d4086be131f895a90e0752a2d27f
Add support to send rate information for mgmt frames.
Currently default rates are used by target for the mgmt frames before
association. If the AP does not support the default rates (1 Mbps for
2.4G and 6Mbps for 5G), STA would still send AUTH, ASSOC frames with
the default rates. Add support to send the minimum rate supported by
the AP as part of the MGMT Tx WMI command.
Change-Id: I38d832818bbbd5fe3dec5660bd01dd08798bf0be
CRs-Fixed: 2085006
VHT caps in vendor IE are not parsed if the same vendor IE OUI is
present twice with different type values. Check the type in vendor
IE to detect the VHT caps in the vendor IE.
Change-Id: I4d3fd7d6488719719718b84a2dbea7cda0c8e869
CRs-Fixed: 2080186
Some vendor APs are not able to handle the SMPS frames causing the
APs to crash.
Add new vendor AP OUIs, compare the vendor AP OUIs with AP capabilities
and if there is a match and also check if the AP is 4x4 11ac then
associate in 1x1 to that AP.
Change-Id: I91b56d67a2d20b9e6eae8e7b6e14db4d2905ec29
CRs-Fixed: 2094490
Set the limit off-channel command parameters and conc_system_pref
according to active tos indication from application.
CRs-Fixed: 2066088
Change-Id: I896999adb59aa468daf33364c708d95ef3062018
In LFR3 roaming, session->nss is recomputed by starting with mac_ctx
configured value, then lim_fill_ft_session() trims it based on
AP's capability in the beacon. Then lim_ft_prepare_add_bss_req() modifies
it based on dot11mode if necessary.
CRs-Fixed: 2082240
Change-Id: If9841ea8d10cc1269ec118c9e7f75fa0444abe3e
This is qcacld-2.0 to qcacld-3.0 propagation
In get_container_ies_len size type for len is uint8_t.
len copies values from pBufRemaining.
There can be chance for integer overflow.
To avoid that make size type for len as uint32_t.
Change-Id: I305321a6631719808ef213571974ae23b0e61bb3
CRs-Fixed: 2064580
Currently the mpdu_data_len in Rx pkt meta is not checked for
upper bound in wma_form_rx_packet.
Add sanity check to drop the packet if mpdu_data_len is
greater than 2000 bytes. Also add upper bound check for
frame_len in lim_process_auth_frame function.
Change-Id: I7ab454045e2f6d278351dcabde6da556f9f741e0
CRs-Fixed: 2093392
SIR_MAC_AUTH_CHALLENGE_LENGTH is updated to 253 from
128 as per IEEE spec due to connection fails between
DUT-SAP and old ref-STA. Auth failure occurs as encrypted
data sent by ref-STA is only 128 bytes instead of 253
bytes.
Fix is to set length of challenge text sent by SAP
to 128 bytes.
Change-Id: I81409bb58ad34e469c54e2909f45b8a6826eb06a
CRs-Fixed: 2096512