コミットグラフ

16630 コミット

作成者 SHA1 メッセージ 日付
nshrivas
ffe7808a10 Release 5.2.0.172T
Release 5.2.0.172T

Change-Id: Ic687e5b4db11e93a780e224170a1c835895bff48
CRs-Fixed: 774533
2020-02-25 01:16:10 -08:00
Ashish Kumar Dhanotiya
fd621e86a0 qcacld-3.0: Query sta stats on disconnect in case of SAP
Currently for big data logging in case of sap, query for
rssi, txrate and rxrate happens when station issues disconnect
to SAP but these stats are not queried when SAP
issues disconnect to the connected station.

To address above issue, add a logic to issue stats request
to FW when SAP disconnects the connected station.

Change-Id: I40db82d7b57fd0894ffbe95f52d27b4931227690
CRs-Fixed: 2626857
2020-02-25 01:16:09 -08:00
nshrivas
53d6fadd9d Release 5.2.0.172S
Release 5.2.0.172S

Change-Id: I3026566db95f68100f1e788acb25e70af8335311
CRs-Fixed: 774533
2020-02-24 23:36:31 -08:00
gaurank kathpalia
c9f0a7e533 qcacld-3.0: Use objmgr peer to check if peer already exist
Use obj manager peer to check if peer already exist, instead
of cdp API.

Change-Id: I87edd33f09b2b7927f99b87acf4202b2a7ac0236
CRs-Fixed: 2627494
2020-02-24 23:36:31 -08:00
nshrivas
8c033d987b Release 5.2.0.172R
Release 5.2.0.172R

Change-Id: I72ab64d75bbc9daf79328ab2011fafcf99d4d8c6
CRs-Fixed: 774533
2020-02-24 06:22:06 -08:00
Pankaj Singh
6c66fc7915 qcacld-3.0: Race condition handling for roam during disconnect
Disconnect cmd received from supplicant, at the same time
roam start event received from FW.This results in
conetxt switch in scheduler thread and leads to disconnection in
progress variable could not set. Roam sync events
SIR_ROAMING_DEREGISTER_STA and SIR_ROAM_SYNCH_PROPAGATION are
received one after another. Here again supplicant thread context
resumes resulting in  csr roam profile cleanup.Later on when
scheuler thread resumes back it result in instability while trying
to access roam profile object.

Fix is to add check for current roam state using mlme component.
check for current state is ROAM_RSO_STOPPED during both
SIR_ROAMING_DEREGISTER_STA and SIR_ROAM_SYNCH_PROPAGATION events.

Change-Id: Id0ea18a33dfef3d4e9a4003da33fc7172cf58e85
CRs-Fixed: 2626474
2020-02-24 06:22:06 -08:00
nshrivas
b7c2985a3b Release 5.2.0.172Q
Release 5.2.0.172Q

Change-Id: Iaacc2ff9b40b6d51ac8415671dc015abc73203a7
CRs-Fixed: 774533
2020-02-24 04:32:26 -08:00
Srinivas Dasari
fc3aea42ea qcacld-3.0: Send assoc request IEs in STA_INFO in SAP mode
Userspace expects the assoc request IEs of a disconnected station
to derive 11kv capabilities. Send the same in STA_INFO as part
of remote station info.

Change-Id: Iab5f39de833cd06e814e83f0149a0d21caf59b9f
CRs-Fixed: 2624922
2020-02-24 04:32:26 -08:00
Srinivas Dasari
77500a4543 qcacld-3.0: Send disconnected AP beacon IEs to userspace in sta_info
Currently beacon IEs of the connected AP are cached in host driver
and flushed when it disconnects. Userspace needs this info after
disconnection to know the capabilities of the last connected AP.
So don't flush the IEs just after disconnection and provide the
same to userspace in GET_STA_INFO when queried. IEs are flushed
in the next connection.

Change-Id: I29c308b01b7519fffa174e26d644e0817e51b6fc
CRs-Fixed: 2624882
2020-02-24 04:32:11 -08:00
Srinivas Dasari
a3516d65a3 qcacld-3.0: Send proper reason code for STA kickout disconnections
Currently, driver send a generic reason code
eSIR_MAC_DISASSOC_DUE_TO_INACTIVITY_REASON to userspace when a
STA kickout happens. Send eSIR_MAC_SA_QUERY_TIMEOUT when STA
kickout happens due to SA query timeout.
Send eSIR_MAC_PEER_XRETRY_FAIL when STA kickout happens due to
XRETRY failure.
Still host sends deauth frame with reason code
eSIR_MAC_DISASSOC_DUE_TO_INACTIVITY_REASON.

Change-Id: I72fa7406ef1b131ef3519bb6bef21cc52bc548cb
CRs-Fixed: 2624948
2020-02-24 04:31:53 -08:00
Srinivas Dasari
c5b88c309f qcacld-3.0: Send last disconnect reason in sta_info to userspace
Driver caches last disconnected reason code in adapter. Convert it
to enum qca_disconnect_reason_codes and send it in STA_INFO to
userspace.

Change-Id: Ifd8566f4fb7d412d9a6ded0ae06f51b0c1dd6d2b
CRs-Fixed: 2624792
2020-02-24 04:31:36 -08:00
nshrivas
509dce90d5 Release 5.2.0.172P
Release 5.2.0.172P

Change-Id: I29ad84735dd53f441a9f8cd7567c19e58684e60b
CRs-Fixed: 774533
2020-02-24 03:06:38 -08:00
Guisen Yang
eebdeb13dd qcacld-3.0: Do not remove pm qos notifier if it's not added
The notifier for pm qos is added when the runtime pm dynamic
is defined, when removing the notifier, we should also check
if the runtime pm dynamic is defined or not. We should not
remove this notifier if it is not defined.

Change-Id: Ic628c6fc38da00b2491355786ff40020d0249bb2
CRs-Fixed: 2622946
2020-02-24 03:06:38 -08:00
nshrivas
30537e2ff9 Release 5.2.0.172O
Release 5.2.0.172O

Change-Id: I8f7aa15f297ac939b2ed04827c5a1f056f6167e0
CRs-Fixed: 774533
2020-02-24 00:20:36 -08:00
Jingxiang Ge
9a4d95c3fd qcacld-3.0: Fix dp_rx_thread hang issue
Issue happens as below scenaio:
1 suspend happens, but dp_rx_thread didn't finish in time,
  so timeout happens for suspend_event, here suspend will
  return success to kernel.
2 resume happens before dp_rx_thread to reset resume_event,
  and resume finished.
3 if dp_rx_thread finished and blocking with resume_event,
  and in following test, suspend didn't come(longer then
  hang detect time).
4 hang detect will alarm.

Fix is to return failure if dp_rx_thread can't be suspend
in time. Suspend can triger again later.

Change-Id: Ifbfdef5bb1c8d6e00b8fa5cc5e6dc74d3495c9ea
CRs-Fixed: 2626468
2020-02-24 00:20:35 -08:00
nshrivas
7439bf85b9 Release 5.2.0.172N
Release 5.2.0.172N

Change-Id: If2e8b6e152934026d37091c34aecabe52dd3df4c
CRs-Fixed: 774533
2020-02-23 14:43:09 -08:00
nshrivas
0a75918299 Release 5.2.0.172M
Release 5.2.0.172M

Change-Id: I2bafce5e6c5ac0684588d193144e068505f22e71
CRs-Fixed: 774533
2020-02-23 13:00:43 -08:00
Abhinav Kumar
9838039beb qcacld-3.0: Update group management cipher suite in RSO command
The host driver updates the group management cipher suite to the
firmware as part of RSO commands over the WMI_AP_PROFILE
command.

Update the group management cipher suite from the crypto
component to the roam_request and copy it to the WMI_AP_PROFILE
command params in wma

Change-Id: I78d9cfbddfb74b16639ff03005935c4112a7e5af
CRs-Fixed: 2622864
2020-02-23 13:00:43 -08:00
nshrivas
9c0556f6fb Release 5.2.0.172L
Release 5.2.0.172L

Change-Id: If49e042602739a33b3615a7296f64e96cfda5a8f
CRs-Fixed: 774533
2020-02-23 08:53:51 -08:00
Alan Chen
bc2dfe86c1 qcacld-3.0: Move hdd_register_notifiers()/hdd_unregister_notifiers() calls
PM QoS notifier is not getting deregistered during module stop and is
racing with module start as a result. Move hdd_register_notifiers()
and hdd_unregister_notifiers() calls to hdd_wlan_start_module() and
hdd_wlan_stop_module() to do proper registration and de-registration.

Change-Id: I4d47393d600c2c162b54e16ecdf06b286f1b93bc
CRs-Fixed: 2626126
2020-02-23 08:53:51 -08:00
Surabhi Vishnoi
bb69422804 qcacld-3.0: Add support to trigger FTM time sync feature
FTM time sync feature is triggered when connection takes place
in case of STA and bss starts in case of SAP. The feature is
stopped when STA disconnects and bss stops.

Change-Id: I963b0134b7432c9827c2fb3d9dce7c81a8666d4d
CRs-Fixed: 2621144
2020-02-23 08:53:35 -08:00
nshrivas
2bd1aa8523 Release 5.2.0.172K
Release 5.2.0.172K

Change-Id: I41b721e12e57b33a530c678adcafa02aa617f81f
CRs-Fixed: 774533
2020-02-23 06:16:50 -08:00
Chaoli Zhou
bf1debc03a qcacld-3.0: Refine ol_txrx_ipa_wdi_tx_smmu_params for different target
Currently, Linux Kernel 4.9 doesn't support WDI3/WDI2 over GSI,
so it missed the definition of is_txr_rn_db_pcie_addr &
is_evt_rn_db_pcie_addr, and we should not call the relevant API
for Linux Kernel 4.9 + ROME target. So refine the function
ol_txrx_ipa_wdi_tx_smmu_params to fix compile issue.

Change-Id: I050d7f8613f9a5ae05d6a269dece53db624d18e2
2020-02-23 06:16:50 -08:00
nshrivas
d9ed8c173e Release 5.2.0.172J
Release 5.2.0.172J

Change-Id: I4564c7193622eda8917b6f85be9eaf272b007c75
CRs-Fixed: 774533
2020-02-21 19:51:01 -08:00
Will Huang
64a2e6f892 qcacld-3.0: Add idle shutdown for hostapd mode stop
Because FW don't support idle pdev suspend, and when all interface down
host will not send wow enable command because wakeup is not expected.
So the idle shutdown precedure is already there to prevent system go to
idle pdev suspend state, but it only exist for station mode now, apply
it to hostapd mode as well.

Change-Id: I1b11b5bd038ea9ad23835f142e443ea11e90f55b
CRs-Fixed: 2624453
2020-02-21 19:51:01 -08:00
nshrivas
f31f06bfa2 Release 5.2.0.172I
Release 5.2.0.172I

Change-Id: Ie02a357113ceeb2259c70c7190431c389c3bbf42
CRs-Fixed: 774533
2020-02-21 04:41:35 -08:00
Abhishek Ambure
4bb3519a42 qcacld-3.0: Add support to get roam scan channels from fw
Firmware advertises WMI_SERVICE_ROAM_SCAN_CHANNEL_LIST_TO_HOST_SUPPORT
at the time of initialization. When user requests for roam scan channels
to driver using GETROAMSCANCHANNELS command, driver queries firmware for
roam scan channel list by sending wmi command with command id
WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID and vdev id.
Firmware response to WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID commmad is
WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID. This event has roam scan channel
list, vdev id, connected BSSID, command_response.

Firmware issues WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID event for two reasons,
one for GETROAMSCANCHANNELS command where firmware sets command_response=1
in wmi event and asynchronous event upon disconnection where firmware sets
command_response=0 in wmi event.

Change-Id: I690aca6c3f1e3aa7ae1fe54aadc839ea19446079
CRs-Fixed: 2621535
2020-02-21 04:41:35 -08:00
nshrivas
cacfe725a6 Release 5.2.0.172H
Release 5.2.0.172H

Change-Id: I6f70a51f299226ad16a0aacab6d1386f6e81e4c6
CRs-Fixed: 774533
2020-02-21 03:13:38 -08:00
nshrivas
3ca2a813e8 Release 5.2.0.172G
Release 5.2.0.172G

Change-Id: I95232c502c6abe32bd59f2845713c6e75ab07a68
CRs-Fixed: 774533
2020-02-21 01:44:59 -08:00
Surabhi Vishnoi
492308b08f qcacld-3.0: Add ini for FTM time sync component
Add ini config required for FTM time sync feature.

"enable_time_sync_ftm"- ini to enable/disable the feature.

"time_sync_ftm_mode" - ini to configure the burst/aggregated mode.
In burst mode the offset derived for each RTT frame is sent by
firmware, in aggregated mode only one offset is sent by firmware.

"time_sync_ftm_role" - ini to configure slave(STA)/master(SAP) role.

Change-Id: I6a06d6fdc4c7556c32ab2d28f1cbaa936b98a85b
CRs-Fixed: 2618654
2020-02-21 01:44:59 -08:00
nshrivas
639c7cc44a Release 5.2.0.172F
Release 5.2.0.172F

Change-Id: I686af02de2b1c0c4458133b372382580f640d095
CRs-Fixed: 774533
2020-02-20 21:35:41 -08:00
Liangwei Dong
9462dd670d qcacld-3.0: Fix incorrect channel change event
The ch_params of sap_ctx->csr_roamProfile is not populated
correctly during SAP channel switching.
Fix it and send channel change event to supplicant with
correct seg0/seg1 value.

Change-Id: I7ef82c6e79b970edfee58d9960e8c6b42fa91ef8
CRs-Fixed: 2594973
2020-02-20 21:35:41 -08:00
nshrivas
81a89c63c2 Release 5.2.0.172E
Release 5.2.0.172E

Change-Id: Idd77295bf1db31be0f7c28ad8b10f48a46b89df8
CRs-Fixed: 774533
2020-02-20 19:40:19 -08:00
Jeff Johnson
0ab57fee82 qcacld-3.0: Put a wrapper around wireless_send_event()
Function wireless_send_event() is only present in the kernel when
wireless extensions are enabled. In order to allow the driver to build
when wireless extensions are disabled, put a wrapper around that
function.

Note that this is only a partial solution to the problem since this
means that when wireless extensions are disabled that the event will
not be sent to userspace. A subsequent effort will need to evaluate
each event to see if a cfg80211-based notification mechanism is
already in place, and if not, if one needs to be added in order to
maintain the underlying functionality.

Change-Id: Icbdddf6735bdc5ffd1ee189b5fabfa67fcce59ea
CRs-Fixed: 2621699
2020-02-20 19:40:19 -08:00
Jeff Johnson
9453a8fc58 qcacld-3.0: Refactor wireless_handlers NULLing logic
Currently there is logic to set the net device wireless_handlers
pointer to NULL in both hdd_deinit_station_mode() and
hdd_deinit_ap_mode(). This is unnecessary duplication of code, and
worse, this is WEXT-specific logic that exists outside the
WEXT-specific source files. In order to address these issues refactor
the logic into a new function that is exposed by wlan_hdd_wext.h.

Change-Id: I0fab5a7f35941f282ddf2e286fb12bfb8c4c7c50
CRs-Fixed: 2620818
2020-02-20 19:39:57 -08:00
nshrivas
78acc21493 Release 5.2.0.172D
Release 5.2.0.172D

Change-Id: I3a4ab35cca0495acac6baa84a2970ee4093ee737
CRs-Fixed: 774533
2020-02-20 16:23:51 -08:00
Sourav Mohapatra
0d409ac1f0 qcacld-3.0: Add proper NULL check in wma_link_status_event_handler
Add proper NULL check for ht_info before accessing the structure. This
field is sent as a part of the event from FW and could be NULL.

Change-Id: I55dd7dcbe4ecdafe6a97ebcf2c7d9f08af30d8a2
CRs-Fixed: 2615175
2020-02-20 16:23:50 -08:00
Dundi Raviteja
56eec3d519 qcacld-3.0: Remove packet capture ini's in cds
Remove packet capture ini's in cds.

Change-Id: Ice4765c7eb697743b1dccc8a70be1b7ce766e037
CRs-Fixed: 2619322
2020-02-20 16:23:37 -08:00
Vulupala Shashank Reddy
4affa222c9 qcacld-3.0: Register tx and rx ops for packet capture component
Register tx and rx ops to send packet capture mode command and
to receive mgmt offload handler for packet capture component.

Change-Id: I70da00feff29399b98c5916eec17e26b62285db3
CRs-Fixed: 2619321
2020-02-20 16:23:28 -08:00
nshrivas
f07589a517 Release 5.2.0.172C
Release 5.2.0.172C

Change-Id: Ic9f914296c2e96c9a56960de77d0f639fd6542ed
CRs-Fixed: 774533
2020-02-20 12:24:29 -08:00
Pragaspathi Thilagaraj
741b279e55 qcacld-3.0: Populate correct channel to filter rrm scan result
The host driver start scan request on channels in the operating
class requested in the beacon report request. Starting from first
channel all channels are scanned one after another. The scan
request is sent in correct order of the channels in operating
class, but when filtering the scan results from the scan db, the
channel freqency is not indexed properly so first channel is sent
to the filter always. Due to this, always beacon report response
has only entries from first channel from the OP class.

Populate the correct channel frequency to filter the rrm scan
result.

Change-Id: I75461a4da99be9ef215f8c16258e0e21877fe362
CRs-Fixed: 2619363
2020-02-20 12:24:29 -08:00
nshrivas
4e1ca043ce Release 5.2.0.172B
Release 5.2.0.172B

Change-Id: Ic6ce7ee86bb6fe8b762727d6af92916deccafc84
CRs-Fixed: 774533
2020-02-20 06:39:07 -08:00
Manjunathappa Prakash
fa1ec29f1d qcacld-3.0: Get the required FISA TLVs back in fisa handling
FISA handling requires additional TLVs. dp_rx core handling
skips TLVs, recover back TLVs in FISA.

Change-Id: I6a4cbb91415facabae04e11d323b29673a7eade4
CRs-Fixed: 2618478
2020-02-20 06:39:07 -08:00
nshrivas
96fd066295 Release 5.2.0.172A
Release 5.2.0.172A

Change-Id: I37c85bd2c3839963fae14e1ea0c96a232cf09a6f
CRs-Fixed: 774533
2020-02-20 04:51:04 -08:00
nshrivas
9c5572c1b7 Release 5.2.0.172
Release 5.2.0.172

Change-Id: I18832c207f4b5337fa3689ed793ff23d64d65670
CRs-Fixed: 774533
2020-02-20 01:08:01 -08:00
Amruta Kulkarni
c537985832 qcacld-3.0: Set correct PPE Thresholds in HE Cap IE
In 6ghz, while sending broadcast/unicast probe req and assoc req
host should set correct values for PPE Thresholds in HE Cap IE

Change-Id: I1ec2d628dcc221a3c222882fd11419a656448dd0
CRs-Fixed: 2619289
2020-02-20 01:07:36 -08:00
nshrivas
aef431d82a Release 5.2.0.171Z
Release 5.2.0.171Z

Change-Id: Ic0ae3c29a5d9efe095e18a0405932216a9bdeeb3
CRs-Fixed: 774533
2020-02-19 23:40:19 -08:00
nshrivas
b158689678 Release 5.2.0.171Y
Release 5.2.0.171Y

Change-Id: Id977cc1b116305773c9efaac70c42c13f8168542
CRs-Fixed: 774533
2020-02-19 17:27:01 -08:00
nshrivas
fe0ec61a5d Release 5.2.0.171X
Release 5.2.0.171X

Change-Id: I32fa1b941406afe95780a0bf51fc71b02c1047c5
CRs-Fixed: 774533
2020-02-19 14:50:40 -08:00
Liangwei Dong
f527bef80e qcacld-3.0: Get 160 BW related HE Caps IE from 5G MAC's HE Caps
5G 160M related HE Phy Caps comes from 5G MAC's HE Caps.
Change csr_revise_req_he_cap_per_band API to override the caps
with 5G MAC Caps if STA or SAP starts on non-2G channel.

Change-Id: I250385a64fdb4e043d150ed4e29cd07d10d00880
CRs-Fixed: 2620815
2020-02-19 14:50:40 -08:00