Convert the boolean variables used for tracking okc_enable into
separate bit flags for OKC and PMK caching. Firmware will also
add support for bitwise enablement of OKC and PMK caching in 802.11i
configuration part of RSO command.
CRs-Fixed: 2004963
Change-Id: Ib2fcdc6318adb488eca5cf47b2b59541020e6009
An incorrect IE length can overflow the remaining length variable
and make IE parsing logic perform a buffer over-read.
Check on IE length to avoid buffer over-read.
Change-Id: I20ef6a0136c7a5b602ad15a2fb725f20807b81d0
CRs-Fixed: 2052804
WPA RSN IE is copied from source without a check on the given IE length.
A malicious IE length can cause buffer overflow.
Add maximum bound check on WPA RSN IE length.
Change-Id: Id159d307e8f9c1de720d4553a7c29f23cbd28571
CRs-Fixed: 2052791
qcacld-2.0 to qcacld-3.0 propagation
By setting the corresponding parameters: reorder timeout and window size
to FW, the host will deliver information about aggregation of the packets
on RX to upper layer.
Change-Id: I404d56d8d9ca3e90f8d1dee28abd80d784924901
CRs-fixed: 1078111
During .set_phy_params operation, retry value for short retry
is incorrectly fed to the long retry parameter.
Only feed retry value for long retry into the long retry parameter.
Change-Id: I3e8838b9b0c21d3cbaafa3a1785dd3f793b5b372
CRs-Fixed: 2062561
Few LFR3 related code checks are not protected which creates the
compilation issue on some of the platform.
Fix the compilation issue by moving LFR3 related code checks to
WLAN_FEATURE_ROAM_OFFLOAD macro.
CRs-Fixed: 2055018
Change-Id: I1ca4000c3bb15e33c2fc85f9117aa4f1ca2aeed4
Currently driver calculates dot11mode in CSR for LFR-2.0, saves in
global variable pFTPreAuthReq of PE context and later uses that in
lim. But for LFR-3.0, pFTPreAuthReq of PE context is NULL which
can result in NULL pointer access. Add a check for pFTPreAuthReq
to fix this issue.
Change-Id: Ia5cfbca912f9870b9ec7b33a015f4925022f448a
CRs-Fixed: 2055018
Currently in function ol_copy_ramdump dynamically allocated memory
is not freed before return in error condition. In this change free
memory before return.
Change-Id: Ie75d69a1716c3598e0123064a6ee522076748f7d
CRs-Fixed: 2044460
Add INI config option to enable orphaning of Tx packets.
Default is to disable orphaning.
Change-Id: Ib855d7ebf56fd3def1a2674091a188e8ecd729f2
CRs-Fixed: 2064079
Host send self nss capability in start Vdev and thus firmware
start SMPS frames during DBS even if peer is 1x1 capable.
To fix set NSS for STA as intersection of self and AP.
Change-Id: I38eeade0456f65f27b335f4ee14db0472507feb0
CRs-Fixed: 2056290
Fix memory leak due to WMA_SET_LINK_STATE. There are potential memory leak
on lim_set_link_state() failure and vdev target request message cleanup.
Change-Id: I873693f9d51f3702e01aec0d9df5c218bdb70f05
CRs-Fixed: 2051977
Fix the return data type in __wlan_hdd_cfg80211_ll_stats_get from
unsigned long to int type.
Change-Id: Ia51056adbf09fe6a2cb0d33337b4d9107c4f146d
CRs-Fixed: 2051378
Change the return status type as the expected value could
be either a negative or Zero based on failure or success
respectively in the routine wlan_hdd_ll_stats_get()
Change-Id: Ieaff1928f081fe28060b2c40f7e546c51d03a7bc
CRs-Fixed: 2036663
Add support to read link layer stats via debugfs. This change set
will issue get_req and store the received stats response is debugfs
entry.
Change-Id: If3af9f0a37283583ff011e35c7275a329a6e175d
CRs-Fixed: 2018087
Add support to parse and store additional link layer stats
included as part of radio stats and interface stats.
Change-Id: Idbefa508f5e79221c3d7598e6b120454b56e2423
CRs-Fixed: 2018087
Currently runtime suspend context deinit is done after hif close which
leads to memory leak. In this change deinitialize the runtime suspend
context before hif close.
Change-Id: Idc99f77b09a25a53e10b4e92391060670bb9bb7e
CRs-Fixed: 2065219
Currently IPA WDI TX and RX pipes are set up when the interface is
up but during interface down there is no disconnect of the IPA WDI
pipes. So again when interface up after interface down IPA driver
returns error that endpoints are already have allocated. As a result
the TX and RX WDI pipe handle values will be zero which is invalid.
In this change disconnect WDI pipes at interface down instead of
during wlan exit or ssr deinit.
Change-Id: I1fb7520467f1b5a6c43bab3b16b002fa0f534d75
CRs-fixed: 2033329
If tx frame is ICMP packet, disable bmps for N seconds to avoid
latency of waking up from bmps.
Change-Id: I91f7748bfca81524637e0e4cc39ace5abf53f7dc
CRs-Fixed: 2044602
Add INI "gper_min_rssi_threshold_for_roam" to configure the minimum
RSSI required for AP candidate to roam in PER based roaming.
Change-Id: I5549c44d2dffb20e92923d3b62e08b94b7a87c9d
CRs-Fixed: 2048414
Move bssDescription to the end of tSirSmeJoinReq since bssDescription
has ieFields at its end which would be corrupted if we dont keep it
at the end of bssDescription. This results in not detecting the IE's
properly after assoc response processing, not setting wpa_rsn flag
in PEER_ASSOC_CMD to fw. The subsequent LFR3 roam if happens in fw
fails because of this.
Keep bssDescription at the end of tSirSmeJoinReq struct and other
structs where bssDescription is used.
Change-Id: I7096f7da0a475b0c63078f3c77fba240a41dfb00
CRs-Fixed: 2058223
With I57f6319cecdf10e08047b510321b885c3cd711b5, adding IE's to
assoc request is modified to honour the spec.i.e. additional IE's
from HDD is not directly appended at the end of the association
request frame. parser code checks if the additional IE is defined
for assoc request frame parser and fills it accordingly as per the
IE order spec mandates. OSEN IE is not defined in assoc request
frame parser which leads to not adding the same to assoc request.
Add OSEN IE to assoc request frame parser.
Change-Id: I3b6e10128bfa2c63cc8d98e9727b99c496cb5b2c
CRs-Fixed: 2056201
Reject connection in csr_roam_connect(), if the BSS entry selected
from the driver cached scan results, has a channel which is not OK for
Do_Not_Break_Stream.
Change-Id: Icf725361382bff7dad80138cfc1b51bafa548afa
CRs-Fixed: 2064380
Currently QCA_WLAN_VENDOR_ATTR_CONFIG_FINE_TIME_MEASUREMENT is not
properly represented in the wlan_hdd_wifi_config_policy table, so add
a proper initializer.
Change-Id: I95ba66337c30cae67b23c9942b9360522ad60df0
CRs-Fixed: 2061978
Send fw log mode when wlan interface is up as this info will get
lost when wlan fw is unloaded.
CRs-Fixed: 2057979
Change-Id: Ie609ef15aaa242bdf98f37b6aa04b8fbf7c38be8
As IPA requires total byte counts of Tx comp ring for
ipa_connect_wdi_pipe, fix to pass the total byte counts of the ring.
Change-Id: I6150115ad2fdf3635ac7a84f592e4545f6dc934a
CRs-Fixed: 1114930
In function rrm_process_beacon_report_req, add bound check before
writing to channel list which is of fixed size.
Change-Id: I3c80974bba84a96f7b85e4ce62bbb01c23b4babf
CRs-Fixed: 2060138
Currently elem_len is not checked against WPS_OUI_TYPE_SIZE
before it uses the buffer for memcmp, this may cause the buffer
overread.
To fix this add the proper comparision logic before the API uses
the buffer.
Change-Id: I9ba63543a529fb88932500be39045fcc19509863
CRs-Fixed: 2061159