Debug fs create failure should not fail wifi turn on. Add logic
to allow wifi turn on even if kernel debug fs create API returns
failure.
Change-Id: I02ce1ae4022f6590b29b8666bbe39c7387e8d0dd
CRs-Fixed: 2203329
Qcacld supports multiple driver modules instance generation with
different file names and Kbuild options. Fix driver load time and
compilation errors on this feature.
Change-Id: Ib405e6c475bace31933a28dc64082f2b6c046da9
CRs-fixed: 2197749
Register fw down callback with QDF such that new UMAC
components can check if FW is down or not.
Change-Id: I394860324368d7671f83536791b021109ddb39aa
CRs-Fixed: 2202602
Config ini item gEnableFwSelfRecovery is obsolete and no longer used
hence remove it.
Change-Id: I3b7f8662cb42f74d217dbdf3b2c3512176e2833e
CRs-Fixed: 2202033
When the channel list contains only 2.4Ghz channels and
bandwidth is coming as 80Mhz in __wlan_hdd_cfg80211_do_acs(),
max weight gets assigned to all the channels irrespective of
scan results and channel 1 gets selected in the end.
Downgrade bandwidth to 40Mhz if channel list contains only 2.4Ghz
channels and bandwidth is coming as 80Mhz.
Change-Id: I0e54b5db0020768c219acc0d864e72813c9185e9
CRs-Fixed: 2193438
While the driver is in FTM state, if a PDR is encountered
the driver is not allowed to recover.
Allow the recovery of the driver after PDR in FTM mode.
Change-Id: Ib4ee3970067a9fde5ba12d4dd954774a16ef0255
CRs-Fixed: 2181509
Currenty we are trying to access the ol_rx_thread in
ds_cpu_hotplug_notify function after we shut the thread
down in cds_sched_close function
To address the issue keep a NULL check for the ol_rx_thread
Change-Id: Icddd3ace52bbe773790546d1ace1fd463bc1a7e7
CRs-Fixed: 2200501
qcacld-2.0 to qcacld-3.0 Propagation.
Revert the changes of Validating NLA attr in
wlan_hdd_cfg80211_ocb_set_config API to fix the
dsrc_config fail issue.
CRs-Fixed: 2109727
Change-Id: I5037498a510820a86cba9e61149640a957b46086
In the function wma_passpoint_match_event_handler, fixed param event data
from firmware is filled in the destination buffer and indication is sent
to upper layers. The buffer allocation is done for the size
(wmi_passpoint_event_hdr*) + event->ie_length + event->anqp_length. The
maximum firmware event message size is WMI_SVC_MSG_MAX_SIZE. If either,
ie_length and anqp_length combined is greater than WMI_SVC_MSG_MAX_SIZE or
either of the two exceeds WMI_SVC_MSG_MAC_SIZE, an OOB write will occur in
wma_passpoint_match_event_handler.
Add check to ensure either of the values ie_length or anqp_lenth or
(ie_length + anqp_length) doesnt exceed the WMI_SVC_MAX_SIZE. Return
failure if it exceeds.
Change-Id: I21f473ca0b99ebb8488f2cca3c0774817ea97c3a
CRs-Fixed: 2201190
Randomize bss color within 1 to 63 When hostapd.conf does not specifies
bss color parameter.
Change-Id: I5650d15836e19bd0efc226f86b22a8697e45c59e
CRs-Fixed: 2200411
Set the default addba buffer size to 64 and advertise the default
value in addba response frame.
Change-Id: I8eec73c0907b42414bc742ae01b921b9e4e5b6d5
CRs-Fixed: 2204110
The ucastSig and bcastSig fields in tSirTdlsAddStaRsp date back
to a previous version of the driver that used these signatures to
synchronize the data plane with the control plane. However the current
version of the driver does not use these parameters, so remove them as
the final stage of the plan to completely remove these signatures from
throughout the driver.
Since the legacy tSirTdlsAddStaRsp data structure must exactly match
the converged struct tdls_add_sta_rsp, this change is co-dependent
with the qca-wifi-host-cmn change:
qcacmn: Remove DPU signatures from TDLS Add STA Response
Change-Id: I7750fac9e4870d75358606bea427a5dbab97c665
Change-Id: I765b090fc5dbe9bdaf83b05a72223c0a12f71a18
CRs-Fixed: 2200996
In a previous version of the driver both unicast and broadcast DPU
signatures were used to synchronize the data plane with the control
plane. However the current version of the driver does not use this
synchronization mechanism, so remove propagation of the DPU signatures
from the UMAC. This is part of the plan to completely remove these
signatures from throughout the driver.
Change-Id: I6a1808d0905bb0c4550b16cf2b2157a529caa9e9
CRs-Fixed: 2200997
In a prior version of the driver DPU signatures were used to
synchronize the Data Plane with the Control Plane. The DPU signatures
were provided to HDD by SME via fields in struct csr_roam_info, and
then HDD provided the fields to the Data Plane. But that mechanism is
no longer used and HDD does not read these fields so remove them along
with the logic that is currently used to fill them.
Change-Id: Ib056c20683e6b4f0d969fcff227476d53e040cc0
CRs-Fixed: 2200995
Currently, hdd_reset_all_adapters will set hdd_reassoc_scenario
as "false" no matter what adapter's dev mode. It may pollute the
session.ap's content.
Change-Id: I339982e5454d7ef5bd4325b0901c4a81ceed6ab9
CRs-Fixed: 2201535
Change "qcacmn: Remove obsolete TDLS peer callback interface"
(Change-Id I32bb1f633b1dd1514aa6e4c3fdea044b3bca0009 in project
qca-wifi-host-cmn) has complete removed the old TDLS peer callbacks;
the new callbacks are the only ones supported. Therefore remove the
usage of USE_NEW_TDLS_PEER_CALLBACKS which was previously being used
to select the new callbacks.
Change-Id: I6b82b563e060727dfd02bfea40e4439ea09d7f75
CRs-Fixed: 2200994
Change "qcacmn: Introduce new versions of TDLS peer callbacks"
(Change-Id Id4ea23266b0f3e1480b645c5afce6c17585ccb46 in project
qca-wifi-host-cmn) introduced a new interface which removed an unused
parameter and changed obsolete naming. Update qcacld-3.0 to use this
new interface.
Change-Id: I5c4684ac0a62f314da26f92ece2c9a9874d63634
CRs-Fixed: 2200993
The hdd_reset_all_adapters won't reset the txrx_vdev & tx_fn in the
adapter, which will cause the issue if the OS still deliver the packet
before the txrx_vdev registered again after SSR happens.
Deinit TX/RX module when doing reset all adapters during the SSR
procedure to avoid this problem.
Change-Id: Ia16b488c63b691fe9c3cc8c2cd49913b27cc32f0
CRs-Fixed: 2197248
Aligning structure variables properly can reduce memory requirement
of data segment. Thereby reduces over all memory requirement.
Change-Id: I8b1a704cb6ed852d23111b6ee9d14c883b889a78
CRs-Fixed: 2203674
In the present scenario, the vendor command
wlan_hdd_cfg80211_get_logger_supp_feature has the flag
WIPHY_VENDOR_CMD_NEED_RUNNING set which requires the net device
to be up and running for the API to work. This is not necessary
as the command doesnot need the net dev to be active.
Remove the flag so that the command returns the proper results
even when the net device is not running
Change-Id: I2dd9d801aa474cda2a3f6292d6b94df18797be02
CRs-Fixed: 2202096
Latest driver is not using "gFixedRate" INI anymore and this INI
is not doing any meaningful work, so remove it.
Change-Id: Icf7ef052a722f25c4338dd8086b14ce01c6176d8
CRs-Fixed: 2201799